Correct sym def order & pick right sym for .idata$7 reloc.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
43c58ae6
CD
12003-09-30 Chris Demetriou <cgd@broadcom.com>
2
3 * NEWS: Add an indication of the cutoff for 2.14.
4
5f74bc13
CD
52003-09-30 Chris Demetriou <cgd@broadcom.com>
6
7 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
8
9ce701e2
L
92003-09-29 H.J. Lu <hongjiu.lu@intel.com>
10
11 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
12 (get_symbol_index_type): Likewise.
13
ecc2063b
L
142003-09-25 H.J. Lu <hongjiu.lu@intel.com>
15
16 * readelf.c (process_version_sections): Indent version names.
17
739fea7b
AG
182003-09-15 Anthony Green <green@redhat.com>
19
20 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
21 (dlltmp): Ditto.
22 (dtab): Ditto.
23
2da42df6
AJ
242003-09-14 Andreas Jaeger <aj@suse.de>
25
26 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
27 unneeded (void *) casts.
28 * ar.c: Likewise.
29 * arlex.l: Likewise.
30 * arparse.y: Likewise.
31 * arsup.c: Likewise.
32 * binemul.c: Likewise.
33 * binemul.h: Likewise.
34 * bucomm.c: Likewise.
35 * bucomm.h: Likewise.
36 * budbg.h: Likewise.
37 * budemang.c: Likewise.
38 * budemang.h: Likewise.
39 * coffdump.c: Likewise.
40 * coffgrok.c: Likewise.
41 * cxxfilt.c: Likewise.
42 * debug.c: Likewise.
43 * debug.h: Likewise.
44 * deflex.l: Likewise.
45 * dlltool.c: Likewise.
46 * dlltool.h: Likewise.
47 * dllwrap.c: Likewise.
48 * emul_aix.c: Likewise.
49 * filemode.c: Likewise.
50 * ieee.c: Likewise.
51 * nlmconv.c: Likewise.
52 * nlmconv.h: Likewise.
53 * nlmheader.y: Likewise.
54 * nm.c: Likewise.
55 * prdbg.c: Likewise.
56 * rclex.l: Likewise.
57 * rcparse.y: Likewise.
58 * rdcoff.c: Likewise.
59 * rddbg.c: Likewise.
60 * rename.c: Likewise.
61 * resbin.c: Likewise.
62 * rescoff.c: Likewise.
63 * resrc.c: Likewise.
64 * size.c: Likewise.
65 * srconv.c: Likewise.
66 * stabs.c: Likewise.
67 * strings.c: Likewise.
68 * sysdump.c: Likewise.
69 * sysinfo.y: Likewise.
70 * syslex.l: Likewise.
71 * unwind-ia64.c: Likewise.
72 * unwind-ia64.h: Likewise.
73 * version.c: Likewise.
74 * windres.c: Likewise.
75 * windres.h: Likewise.
76 * winduni.c: Likewise.
77 * wrstabs.c: Likewise.
78
e831786b
JW
792003-09-10 James E Wilson <wilson@specifixinc.com>
80
81 * MAINTAINERS: Update my e-mail address.
82
afa7d0b2
ILT
832003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
84
85 * MAINTAINERS: Update my e-mail address.
86
04fbe429
NC
872003-09-04 Nick Clifton <nickc@redhat.com>
88
89 * MAINTAINERS: Make it clear what should be done with patches to
90 the top level configure files (other than config.guess and
91 config.sub). Add binutils@sources.redhat.com as an address to
92 which patches can be sent.
93
8ad30312
NC
942003-09-04 Nick Clifton <nickc@redhat.com>
95
96 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
97
92c2346c
AC
982003-09-03 Andrew Cagney <cagney@redhat.com>
99
100 * objdump.c: Refer to init_disassemble_info in comments.
101 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
102 init_disassemble_info.
103
155e0d23
NC
1042003-09-03 Nick Clifton <nickc@redhat.com>
105
106 * objdump.c (struct objdump_disasm_info): Add new fields
107 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
108 (process_section_p): New function: Returns TRUE if a section
109 can be dumped.
110 (disassemble_section): New function: Contains the body of
111 disassemble_data(), but just for one section.
112 (disassemble_data): Use bfd_map_over_sections to walk section
113 chain.
114 (find_stabs_section): New function: Find a stabs containing
115 section and then dump it.
116 (dump_stabs_section): New function: Use bfd_map_over_sections
117 to find the section to dump.
118 (dump_stabs): Use dump_stabs_section.
119 (dump_section): New function: Display the contents of a
120 section.
121 (dump_data): Use bfd_map_over_sections to display section
122 contents.
123 (dump_relocs_in_section): Display the relocs in a given section.
124 (dump_relocs): Use bfd_map_over_sections to display relocs.
125 (adjust_addresses): New function: Adjust the vma and lma of
126 sections.
127 (dump_bfd): Use bfd_map_over_sections.
128 * doc/binutils.texi: Document the "objdump -s" (no longer)
129 dumps empty sections.
130
1312003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
132
133 * objdump.c: Improve comments/documentation.
134 dump_data: Eliminate duplicate function calls to bfd_section_size.
135
6b10f68d
AM
1362003-09-02 Alan Modra <amodra@bigpond.net.au>
137
138 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
139
3673a93e
NC
1402003-08-21 Nick Clifton <nickc@redhat.com>
141
142 * po/tr.po: Updated Turkish translation.
143
51f7282a
AM
1442003-08-14 Alan Modra <amodra@bigpond.net.au>
145
55bb4be3 146 * dep-in.sed: Remove libintl.h.
51f7282a 147 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 148 Run "make dep-am".
51f7282a
AM
149 * Makefile.in: Regenerate.
150
d989285c
ILT
1512003-08-11 Ian Lance Taylor <ian@airs.com>
152
153 * readelf.c (process_archive): Fix error handling. Remove memory
154 leak.
fb52b2f4
NC
155
156 * readelf.c: Add ability to read archives.
157 (archive_file_offset): New variable.
158 (archive_file_size): New variable.
159 (get_data): Include archive_file_offset in file offset
160 calculation when fseeking.
161 (process_program_headers): Likewise.
162 (process_symbol_table): Likewise.
163 (process_dynamic_segment): Handle computation of end of file
164 position when the file is in an archive.
165 (process_object): New function. Contains the body of
166 process_file().
167 (process_archive): New function. Call process_object on each
168 member of an archive.
169 (process_file): Detect archives and handle appropriately.
170 * Makefile.am: Add dependency on aout/ar.h for readelf.c
171 * Makefile.in: Regenerate.
172 * NEWS: Document readelf's new ability.
173 * doc/binutils: Alter text to say that readelf supports archives
174 and 64-bit ELF files.
175
ff85ab24
NC
1762003-08-08 Nick Clifton <nickc@redhat.com>
177
178 * po/fr.po: Updated French translation.
179
d3ba0551
AM
1802003-08-05 Alan Modra <amodra@bigpond.net.au>
181
182 * objcopy.c: Remove unnecessary prototypes and casts.
183 * objdump.c: Remove unnecessary casts.
184 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
185 (get_osabi_name): Move so we don't need a forward declaration.
186
43ac9881
AM
1872003-08-04 Bradley Harrington <bharring@us.ibm.com>
188 Alan Modra <amodra@bigpond.net.au>
189
190 * objdump.c (include_paths, include_path_count): New vars.
191 (usage): Describe --include.
192 (long_options): Add "include".
193 (add_include_path): New function.
194 (struct print_file_list): Make filename const. Add modname.
195 (try_print_file_open, update_source_path): New functions.
196 (show_line): Use them.
197 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
198
fd7bb956
AM
1992003-07-30 Alan Modra <amodra@bigpond.net.au>
200
201 * objdump.c: Remove unnecessary prototypes.
202 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
203 code, and print relocs when dump_dynamic_reloc_info.
204 (disassemble_data): Read and handle dynamic relocs. Correct reloc
205 skip code. Formatting.
206 (dump_bfd): Don't dump dynamic relocs when disassembling.
207
1e7e751f
BE
2082003-07-29 Ben Elliston <bje@wasabisystems.com>
209
210 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
211 maintenance defaults to the blanket write privilege maintainers.
212
2445335e
MM
2132003-07-29 Michael Meissner <gnu@the-meissners.org>
214
215 * MAINTAINERS: Updated my email address.
216
46dca2e0
NC
2172003-07-29 Nick Clifton <nickc@redhat.com>
218
1e7e751f 219 * objdump.c: Update to ISO C.
46dca2e0 220
834d807b
NC
2212003-07-24 Nick Clifton <nickc@redhat.com>
222
f1e2bc62
NC
223 * objdump.c (disassemble_data): Do not ignore sections without the
224 LOAD flag when disassemble_all is true. Only print a message
225 about disassembling a section if it contains some data.
226
834d807b
NC
227 * po/fr.po: Updated French translation.
228
84e2f313
NC
2292003-07-23 Nick Clifton <nickc@redhat.com>
230
231 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
232 left in. Some formatting tidy ups.
233
51cdc6e0
NC
2342003-07-22 Salvador Eduardo Tropea <set@computer.org>
235
236 * objdump.c: New command line option --debugging-tags.
237 * doc/binutils.texi: Document new command line option.
238 * prdbg.c: Code to print the debug info as tags compatible
239 with ctags.
240 * budbg.h: Adjust prototype.
241 * NEWS: Mention new switch
242
31e0f3cd
NC
2432003-07-18 Nick Clifton <nickc@redhat.com>
244
245 * objdump.c (main) :Accept multiple -M switch.
246 * doc/binutils.texi: Document that multiple -M switches are
247 accepted and that a single -M switch can contain comma
248 separated options.
249
073fbac6
NC
2502003-07-17 Nick Clifton <nickc@redhat.com>
251
252 * objdump.c (main): Issue a warning message if multiple -M
253 switches are used.
254
255 * doc/binutils.texi (objdump): Update documentation about -M
256 option.
257
6c37ac4d
NC
2582003-07-17 Nick Clifton <nickc@redhat.com>
259
260 * po/es.po: New Spanish translation.
261
fce00800
AM
2622003-07-11 Alan Modra <amodra@bigpond.net.au>
263
264 * po/binutils.pot: Regenerate.
265
ff6b6222
CF
2662003-07-05 Christopher Faylor <cgf@redhat.com>
267
268 * dlltool.c (prefix_encode): Use a fixed length for alpha.
269
bf7a6389
CF
2702003-07-04 Christopher Faylor <cgf@redhat.com>
271
272 * dlltool.c (prefix_encode): New function. Encode temp file prefix
273 from pid.
274 (dlltmp): Pass address of pointer being alloced or suffer neverending
275 mallocs.
276 (make_one_lib_file): Allocate enough space for new longer stub names.
277 (gen_lib_file): Ditto.
278 (main): Generate the temp file prefix from the pid if prefix was not
279 specified on the command line.
280
96c223ce
NC
2812003-07-04 Nick Clifton <nickc@redhat.com>
282
283 * readelf.c (get_data): Print (unsigned) hex values for size and
284 offset in error messages.
285 (process_section_headers): If the string table could not be
286 allocated, do not continue.
287
bdf4d63a
JJ
2882003-07-01 Jakub Jelinek <jakub@redhat.com>
289
290 * readelf.c (dynamic_segment_ia64_val): Print address and newline
291 for sections by default. Comment fix.
292
b9ae0492
DS
2932003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
294
295 * rcparse.y (res_text_field): New res_id variable.
296 (res_null_text): New static const struct res_id object,
297 with empty unicode name field.
298 (control): Pop parsing of optresidc up one level. Set
299 res_text_field to $2 except for controls which do not accept
300 a text field. Set res_text_field to res_null_text for the
301 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
302 (control_params): Adjust to use res_text_field rather
303 than optresidc.
304 (COMBOBOX): Add comment about discrepency between documented
305 vs. observed default style.
306 * resrc.c (define_control): Make first param const.
307 * windres.h (define_control): Adjust prototype.
308
e7c81c25
NC
3092003-06-27 Nick Clifton <nickc@redhat.com>
310
311 * objcopy.c (copy_object): Replace call to
312 bfd_create_gnu_debuglink_section with seperate calls to
313 bfd_add_gnu_debuglink_section and
314 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
315 symbol tables.
316
d93f0186
NC
3172003-06-26 Roland McGrath <roland@redhat.com>
318
319 * readelf.c (loadaddr): Variable removed.
320 (dynamic_info, version_info): Fix type long -> bfd_vma.
321 (program_headers): New variable.
322 (get_program_headers): New function, broken out of
323 process_program_headers.
324 (process_program_headers): Call it. Don't set `loadaddr'.
325 (slurp_ia64_unwind_table): Use get_program_headers.
326 (process_corefile_note_segments): Likewise.
327 (offset_from_vma): New function.
328 (process_relocs, process_dynamic_segment): Call that instead of
329 subtracting `loadaddr'.
330 (process_version_sections, process_symbol_table): Likewise.
331 (process_mips_specific): Likewise.
332
ed1653a7
NC
3332003-06-26 Nick Clifton <nickc@redhat.com>
334
335 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
336 (OPTION_ONLY_KEEP_DEBUG): New.
337 (strip_options): Add --only-keep-debug.
338 (copy_options): Likewise.
339 (is_strip_section): Invert return value if STRIP_NONDEBUG is
340 active.
341 (copy_object): Do not copy private data when STRIP_NONDEBUG is
342 active.
343 (setup_section): Likewise.
344 (strip_main): Handle --only-keep-debug.
345 (copy_main): Likewise.
346 * NEWS: Mention new switch
347 * doc/binutils.texi: Document new switch.
348
1049f94e
AM
3492003-06-25 Alan Modra <amodra@bigpond.net.au>
350
351 * NEWS: Correct spelling of "relocatable".
352 * objdump.c: Likewise.
353 * sysroff.info: Likewise.
354
b19aac67
NC
3552003-06-19 Nick Clifton <nickc@redhat.com>
356
357 * readelf.c (print_vma): When printing DEC_5 values, if the
358 number is bigger than 99999 switch to using hexadecimal
359 notation.
360
2593f09a
NC
3612003-06-11 Nick Clifton <nickc@redhat.com>
362
363 * objcopy.c (gnu_debuglink_filename): New variable.
364 (OPTION_ADD_GNU_DEBUGLINK): New switch
365 (copy_options): Describe --add-gnu-debuglink switch.
366 Mention that --strip-debug removes sections as well.
367 (is_strip_section): Process the sections removed and kept
368 lists before checking for debugging sections.
369 (add_redefine_syms_file): Make function static.
370 (copy_object): Use is_strip_section.
371 Check to see if a .gnu_debuglink section should be added. If
372 so, call bfd_add_gnu_debuglink.
373 (setup_section): Use is_strip_section.
374 (copy_section): Use is_strip_section.
375 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
376 * NEWS: Mention new objcopy switch.
377 * doc/binutils.texi: Document new switch.
378
3b443373
L
3792003-06-11 H.J. Lu <hongjiu.lu@intel.com>
380
381 * po/Make-in (DESTDIR): New.
382 (install-data-yes): Support $(DESTDIR).
383 (uninstall): Likewise.
384
795bb480
AM
3852003-06-11 Alan Modra <amodra@bigpond.net.au>
386
387 * Makefile.in: Regenerate.
388
9ee5e499
JJ
3892003-05-23 Jakub Jelinek <jakub@redhat.com>
390
391 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
392
a3b6428f
NC
3932003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
394
395 * NEWS: Document the new BSD/POSIX single-character mapping for
396 .comment/.note sections.
397
92991082
JT
3982003-06-02 Chris Demetriou <cgd@broadcom.com>
399 Jason Thorpe <thorpej@wasabisystems.com>
400
401 * objcopy.c (redefine_list_append): Add an argument that
402 indicates the context from which this function is being
403 called. Change all callers.
404 (copy_options): Add a new option, --redefine-syms.
405 (copy_usage): Document new option.
406 (copy_main): Handle the --redefine-syms option.
407 * doc/binutils.text (objcopy): Document new option.
408
38fafa6d
RH
4092003-05-31 Richard Henderson <rth@redhat.com>
410
411 * readelf.c (byte_get_signed): New.
412 (get_encoded_value): New.
413 (display_debug_frames): Use it. Always pre-process opcodes.
414
636fc387
ML
4152003-05-20 Michal Ludvig <mludvig@suse.cz>
416
417 * readelf.c (display_debug_frames): Print both registers
418 for DW_CFA_register.
419
80c7c40a
NC
4202003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
421
422 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
423 i[3-7]86-*-interix.
424 * configure.in: Regenerate.
425
0fcdcb91
NC
4262003-05-13 Michael Eager <eager@mvista.com>
427
428 * objcopy.c: Treat identical src/dst file names as if only one
429 entered. One Windows creating an output file of the same name as
430 the input file will delete the input file before it is read.
431
7ab5f2ed
NC
4322003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
433
434 * debug.c (debug_get_real_type): Extend test for circular debug
435 references.
436
3c92310f
NC
4372003-05-12 Nick Clifton <nickc@redhat.com>
438
439 * configure.in (ALL_LINGUAS): Add zh_CN.
440 * configure: Regenerate.
441 * po/zh_CN.po: New file: Chinese (simplified) translation.
442
d68c07bb
JE
4432003-05-11 Jason Eckhardt <jle@rice.edu>
444
445 * MAINTAINERS: Update my mail address.
446
8beeaeb7
L
4472003-05-07 H.J. Lu <hongjiu.lu@intel.com>
448
449 * readelf.c (dump_relocations): Enlarge the type field in wide
450 mode by one character.
451
63044634
RH
4522003-05-03 Richard Henderson <rth@redhat.com>
453
454 * readelf.c (struct Frame_Chunk): Add cfa_exp.
455 (frame_display_row): Just print "exp" for cfa or register
456 defined by a location expression.
457 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
458 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
459
6e50c90c
L
4602003-04-30 H.J. Lu <hjl@gnu.org>
461
462 * objdump.c (only): Change it to char **.
463 (only_size): New.
464 (only_used): New.
465 (disassemble_data): Check only as an array.
466 (dump_data): Likewise.
467 (dump_relocs): Likewise.
468 (main): Treat only as an array.
469
edbedb71
NC
4702003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
471
472 * doc/binutils.texi: Fix the documentation for the -fo option.
473
3f7de0e7
NC
4742003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
475
ef230218
JR
476 * readelf.c (get_machine_name) <EM_SH>: Amend return value
477 to refer to SuperH.
478
3f7de0e7
NC
479 * readelf.c (decode_location_expression): Don't add a trailing ';'.
480
32df8966
NC
4812003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
482 Nick Clifton <nickc@redhat.com>
483
484 * windres.c (long_options): Move close to main, where it is used.
485 Add 'input' and 'output' long options.
486 (main): Accept "-fo" as an alias for "-o". This is for rc
487 comptibility.
488 * doc/binutils.texi: Mention that -fo is accepted as an alias for
489 -o, but discourage its use.
490
85eb5110
NC
4912003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
492
493 * windres.c (format_from_name): Make the exit on error
494 behaviour optional.
495 (main): Rename the -I option to -J. Introduce -I as a synonym
496 for --include-dir. For backwards compatibility also support the
497 old -I behaviour, but issue a deprecation warning.
498 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
499 of the -I option.
500
26597c86
NC
5012003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
502
503 * readelf.c: Replace references to Mitsubishi M32R with
504 references to Renesas M32R.
505
c2dcd04e
NC
5062003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
507
508 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
509
c1124b23
AO
5102003-04-09 Alexandre Oliva <aoliva@redhat.com>
511
512 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
513 for debugging information types not supported by objdump.
514
e5076347
AM
5152003-04-09 Bernd Jendrissek <berndj@prism.co.za>
516
517 * configure.in: Recognize canonical form of i[3-6]86-pe*.
518 * configure: Regenerate.
519
adab8cdc
AO
5202003-04-09 Alexandre Oliva <aoliva@redhat.com>
521
522 * readelf.c (display_debug_info): Apply RELA relocations on the
523 entire section.
524 (byte_put_little_endian, byte_put_big_endian): New functions.
525 (byte_put): New variable.
526 (get_file_header): Initialize it.
527
3077f5d8
NC
5282003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
529
530 * windres.c: Add -l for compatibility with wrc, and rc.
531 Use the short option as a key for long options that have
532 a synonymous short option.
533 * doc/binutils.texi: Added -l to the list of options.
534
29b058f1
NC
5352003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
536
3077f5d8
NC
537 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
538 (main): Just pass the -U option down to the preprocessor.
539 * doc/binutils.texi: Added -U to the list of options.
29b058f1 540
3126d709
CF
5412003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
542
543 * windres.c (usage): Report -r option.
544 (main): Ignore the -r option.
545 * doc/binutils.texi: Add -r to the list of options.
546
c46ac711
BW
5472003-04-01 Bob Wilson <bob.wilson@acm.org>
548
549 * MAINTAINERS: Add myself as Xtensa maintainer.
550
88da6820
NC
5512003-04-01 Bob Wilson <bob.wilson@acm.org>
552
3077f5d8
NC
553 * readelf.c: Include "elf/xtensa.h".
554 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
555 targets that use RELA relocations.
556 (dump_relocations): Call elf_xtensa_reloc_type for
557 EM_XTENSA and EM_XTENSA_OLD.
558 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 559
27a710e5
NC
5602003-04-01 Nick Clifton <nickc@redhat.com>
561
562 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
563 thumb-pe*, mcore-pe and mcore-*elf.
564 * configure: Regenerate.
565
335a1869
AO
5662003-03-31 Alexandre Oliva <aoliva@redhat.com>
567
568 * objdump.c (dump_data): Don't truncate the address to long; make
569 the width large enough, and uniform for all entries in a section.
570
566b0d53
L
5712003-03-31 H.J. Lu <hjl@gnu.org>
572
573 * readelf.c: Include "libiberty.h".
574 (dynamic_relocations): New.
575 (process_relocs): Properly handle dynamic relocation.
576 (process_dynamic_segment): Fill relocation elements in
577 dynamic_info.
578
ee42cf8c
NC
5792003-03-31 Kevin Buettner <kevinb@redhat.com>
580
581 * readelf.c (read_and_display_attr, read_and_display_attr_value):
582 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
583 all callers.
584 (display_debug_lines, display_debug_pubnames, display_debug_info)
585 (display_debug_aranges, display_debug_frames, read_and_display_attr)
586 (read_and_display_attr_value): Add 64-bit DWARF support.
587
7adbf450
NC
5882003-03-31 Ian Lance Taylor <ian@airs.com>
589
590 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
591 (optresid): Handle a resource id that can be a string or a number.
592 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
593 struct res_id.
594 (define_icon_control): Pass a struct res_id to define_control.
595 * windres.h (define_control): Change prototype.
596
06d86cf7
NC
5972003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
598
7c29036b
NC
599 * objcopy (OPTION_FORMATS_INFO): Define.
600 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
601 (copy_options): Likewise.
602 (strip_usage): Add "--info" to usage.
603 (copy_usage): Likewise.
604 (strip_main): Declare formats_info. Iniatilize it to FALSE.
605 Handle "info".
606 (copy_main). Likewise.
607 * doc/binutils.texi. Document the "--info" option for
608 objcopy/strip.
609 * NEWS: Mention the new command line switch.
610
06d86cf7
NC
611 * objdump.c (endian_string): Move to bucomm.c.
612 (display_info): Likewise.
613 (display_target_list): Likewise.
614 (display_info_table): Likewise.
615 (display_target_tables): Likewise.
616 (main): Assign the return value of display_info to exit_status.
617 * bucomm.c: Include bfdver.h and libbfd.h
618 (display_target_list): Call bfd_nonfatal instead of nonfatal and
619 return 0 on a non-fatal error, 1 on success.
620 (display_info_table): Likewise.
621 * bucomm.h (display_info): Provide a prototype.
622 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
623 libbfd.h.
624 * Makefile.in: Regenerate.
625
7adbf450 6262003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
627
628 * dlltool.c (gen_def_file): Put demangled name comments on
629 own line preceding export name.
630
98a91d6a
NC
6312003-03-17 Nick Clifton <nickc@redhat.com>
632
633 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
634 printf for emitting new lines.
635
06a30c77
NC
6362003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
637
638 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
639 the symbol's value when --size-sort is used, unless -S is used.
640 doc/binutils.texi (--size-sort): For non-bsd formats both the
641 value and size of the symbols are displayed.
642
ab829d36
NC
6432003-03-13 Nick Clifton <nickc@redhat.com>
644
645 * po/da.po: Update.
646
634847c9
NC
6472003-03-12 Nick Clifton <nickc@redhat.com>
648
649 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
650
3889f9eb
BE
6512003-03-10 Ben Elliston <bje@wasabisystems.com>
652
653 * MAINTAINERS: Update my mail address.
654
7eb5191a
NC
6552003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
656
657 * stabs.c (BYTES_IN_WORD): Remove definition.
658 * wrstabs.c (BYTES_IN_WORD): Likewise.
659
e3b83c8f
NC
6602003-03-04 Nick Clifton <nickc@redhat.com>
661
662 * nm.c (main): Print a warning message if --size-sort and
663 --undefined-only are used together.
664
6652003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
666
667 * nm.c (print_symbol): Remove check for undefined_only.
668
a9d68a1e
NC
6692003-03-03 Nick Clifton <nickc@redhat.com>
670
671 * po/da.po: Installed latest translation.
672
a99996bb
NC
6732003-02-24 Nick Clifton <nickc@redhat.com>
674
675 * README: Update binutils references to 2.13.
676 Add paragraph about using --disable-nls.
677
76ed1927
NC
6782003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
679
680 * doc/binutils.texi (nm --size-sort): Update.
681
0100f33b
JW
6822003-02-21 James E Wilson <wilson@tuliptree.org>
683
684 * MAINTAINERS: Update email address.
685
ecc51f48
NC
6862003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
687
688 * readelf.c (get_ia64_dynamic_type): New function.
689 (dynamic_segment_ia64_val): New function.
690 (get_dynamic_type): If machine type is EM_IA_64 call
691 get_ia64_dynamic_val.
692 (get_ia64_section_type_name): Handle sections with types in the
693 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
694 (get_dynamic_flags): If machine type is EM_IA_64 call
695 dynamic_segment_ia64_val.
696
947ed062
NC
6972003-02-21 Bob Wilson <bob.wilson@acm.org>
698
699 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
700 section title capitalization more consistent. Update descriptions
701 of various options to be consistent with the code. Fix errors and
702 incomplete list in the description of c++filt format options. Remove
703 information about the linker. Change to be more polite about poor
704 bug reports. Replace FDL appendix with include of fdl.texi.
705 * doc/fdl.texi: New file.
706
66491ebc
AM
7072003-02-21 Roger Sayle <roger@eyesopen.com>
708
709 * objcopy.c (filter_symbols): Fix compilation problems with
710 HP-UX's C compiler.
711
0e11a9e9
CF
7122003-02-19 Christopher Faylor <cgf@redhat.com>
713
714 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
715 previous change.
716
6e5f5201
CF
7172003-02-19 Mark Blackburn <marklist@fangorn.ca>
718
0e11a9e9 719 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 720
f0c8c24a
NC
7212003-02-12 Bob Wilson <bob.wilson@acm.org>
722
723 * nm.c (usage): Add `java' and `gnat' demangle styles and make
724 quotes consistent.
725 * objdump.c (usage): Ditto. Also fix some typos.
726
d3c543fd
NC
727 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
728
fe2c4142
NC
729 * debug.c (debug_record_variable): Handle global register variables.
730
6de15b9e
NC
731 * stabs.c (parse_stab): For N_SLINE only include
732 function_start_offset if the symbol is within a function;
733 otherwise, the value is absolute.
734
fde78edd
NC
7352003-02-10 Nick Clifton <nickc@redhat.com>
736
737 * readelf.c (decode_ARM_machine_flags): Handle the
738 EF_ARM_MAVERICK_FLOAT flag.
739
22d82235
AS
7402003-02-04 Andreas Schwab <schwab@suse.de>
741
742 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
743 long and use %ld in printf format.
744
1a677ea8
RS
7452003-01-28 Richard Sandiford <rsandifo@redhat.com>
746
747 * readelf.c (dump_relocations): Reorder the r_info field for
748 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
749
8dde85fc
NC
7502003-01-21 Daniel Berlin <dan@dberlin.org>
751
752 * readelf.c (display_debug_loc): Skip address base changes.
753
c6f8bb1e
AM
7542003-01-17 Fabio Alemagna <falemagn@aros.org>
755
756 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
757 and ELFOSABI_NSK.
758
c833c019
AM
7592003-01-16 Alan Modra <amodra@bigpond.net.au>
760
761 * readelf.c: Include elf/ppc64.h.
762 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
763 * Makefile.am: Run "make dep-am".
764 * Makefile.in: Regenerate.
765
3b36097d
SC
7662003-01-02 Ben Elliston <bje@redhat.com>
767
768 * readelf.c (guess_is_rela): Handle EM_IQ2000.
769 (get_machine_name): Likewise.
770 (dump_relocations): Likewise.
771 * NEWS: Mention IQ2000 support.
772
cb44e358
RS
7732003-01-02 Richard Sandiford <rsandifo@redhat.com>
774
775 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
776
af7ee8bf
CD
7772002-12-30 Chris Demetriou <cgd@broadcom.com>
778
779 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
780 changes in MIPS -M options.
781
2469cfa2
NC
7822002-12-30 Dmitry Diky <diwil@mail.ru>
783
784 * Makefile.am: Add msp430 target.
785 * Makefile.in: Regenerate.
786 * readelf.c: Add support for msp430 target.
787
640c0ccd
CD
7882002-12-27 Chris Demetriou <cgd@broadcom.com>
789
790 * doc/binutils.texi (objdump): Document MIPS -M options.
791
59f14fc0
AS
7922002-12-23 Andreas Schwab <schwab@suse.de>
793
794 * readelf.c (main): Reset dump request after each file.
795
312b768e
NC
7962002-12-23 Nick Clifton <nickc@redhat.com>
797
798 * nlmconv.c (main): Pass TRUE as third argument to
799 bfd_arch_get_compatible.
800
8745eafa
NC
8012002-12-23 Nick Clifton <nickc@redhat.com>
802
803 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
804 macro. Handle 'S' encoding, accepting 8-bit characters.
805 (main): Parse 'S' encoding.
806 (get_char): Accept 'S' encoding.
807 (print_strings): Use STRING_ISGRAPHIC.
808 (usage): Document support of 'S' encoding.
809 * doc/binutils.texi: Document support of 'S' encoding/
810 * NEWS: Mention new feature.
811
08213ebb
AM
8122002-12-20 Alan Modra <amodra@bigpond.net.au>
813
814 * README <building ar>: Don't use libibery's needed_list or
815 required_list, instead link libiberty/*.o.
816
b9e5d8e5
KH
8172002-12-19 Kazu Hirata <kazu@cs.umass.edu>
818
819 * doc/binutils.texi: Fix typos.
820
c51238bc
DA
8212002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
822
823 * doc/binutils.texi: Add missing parenthesis.
824
d7fb0dd2
NC
8252002-12-15 Nick Kelsey <nickk@ubicom.com>
826
827 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
828 symbols by adding the given prefix to the begining of the symbol
829 name. This is useful to provide name space seperation regardless
830 of how the object file was created. Added --prefix-sections=
831 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
832 sections (or all sections with the alloc flag set) by adding the given
833 prefix to the begining of the symbol name.
834 * NEWS: Mention this new feature.
835 * doc/binutils.texi: Document this new feature.
836
55b9cdf1
AM
8372002-12-13 Alan Modra <amodra@bigpond.net.au>
838
839 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
840 dyn_string_append with dyn_string_append_cstr.
841
842 * emul_aix.c (ar_emul_aix_create): Remove unused function.
843
84ad6ede
NC
8442002-12-10 James Cownie <jcownie@etnus.com>
845
846 * readelf.h (get_TAG_name, get_AT_name,
704afb58 847 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
848 DWARF2 spec.
849 * NEWS: Mention this new support.
850
7d036af2
AM
8512002-12-08 Alan Modra <amodra@bigpond.net.au>
852
853 * NEWS: Mention that bfd no longer declares a "boolean" type.
854
3e8bba36
AM
8552002-12-07 Alan Modra <amodra@bigpond.net.au>
856
857 * readelf.c (process_program_headers): When setting loadaddr, don't
858 assume segment size is 4k. Use p_align instead.
859 (loadaddr): Change from int to long.
860 (dynamic_addr, dynamic_info, version_info): Likewise.
861 (process_dynamic_segment <syminsz>): Likewise.
862 (process_dynamic_segment): Adjust print format string.
863 (rela_addr, rela_size): Delete.
864 (process_relocs): Formatting.
865
d070dab9
JW
8662002-12-05 Jim Wilson <wilson@redhat.com>
867
868 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
869 * configure: Regenerate.
870
45bcbdb1
ILT
8712002-12-04 Ian Lance Taylor <ian@airs.com>
872
873 * MAINTAINERS: Change e-mail address back to airs.com.
874
42ea8716
AH
8752002-12-04 Aldy Hernandez <aldyh@redhat.com>
876
877 * MAINTAINERS: Add self.
878
b34976b6
AM
8792002-11-30 Alan Modra <amodra@bigpond.net.au>
880
881 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
882 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
883 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
884 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
885 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
886 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
887 with TRUE/FALSE. Formatting.
888
c8286bd1
JJ
8892002-11-29 Jakub Jelinek <jakub@redhat.com>
890
891 * readelf.c Replace occurrences of Elf32_Internal_* and
892 Elf64_Internal_* with Elf_Internal_*.
893 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
894 Zero r_addend fields.
895 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
896 Elf_Internal_Rela.
897
92acdfaf
NC
8982002-11-23 Nick Clifton <nickc@redhat.com>
899
900 * size.c (usage): Fix typo describing switch for hex format.
901
48c5eb8a
SS
9022002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
903
904 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
905 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
906 testcase
907
2f62977e
NC
9082002-11-14 Nick Clifton <nickc@redhat.com>
909
910 * readelf.c (process_program_headers): Add comment about return
911 value. Ensure that 0 is returned if the headers are not loaded.
912 (process_file): If process_section_headers failed to load the
913 headers disable any tests that rely upon them. Similarly for
914 process_program_headers.
915
cd24c222
NC
9162002-11-12 Nick Clifton <nickc@redhat.com>
917
918 * po/da.po: Updated Danish translation.
919
f3931575
AM
9202002-11-12 Klee Dienes <kdienes@apple.com>
921
922 * rddbg.c (read_section_stabs_debugging_info): Also recognize
923 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
924
b54e7460
CF
9252002-11-11 Christopher Faylor <cgf@redhat.com>
926
927 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
928 cgf maintainership.
929
4f17cc13
CF
9302002-11-11 Christopher Faylor <cgf@redhat.com>
931
932 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
933
232e7cb8
NC
9342002-11-07 Nick Clifton <nickc@redhat.com>
935
cd24c222 936 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
937 * configure: Regenerate.
938 * po/da.po: New Danish translation.
939
232e7cb8
NC
940 * readelf.c (get_symbol_index_type): Revert part of previous
941 patch: Display unknown symbol types in decimal, not hex.
942
c9e38879
NC
9432002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
944
945 * dlltool.c (add_excludes): Don't prefix excluded fastcall
946 symbols with underscore.
947 (xlate): Ignore add_underscore for decorated fastcall symbols.
948
9492002-11-07 Eric Kohl <ekohl@rz-online.de>
950
951 * deflex.l: Accept '@' as first character of an ID.
952 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
953 ASM_PREFIX for fastcall symbols.
954 (scan_drectve_symbols): Handle fastcall symbols when generating
955 undecorated aliases for symbols in drectve section.
956 (scan_filtered_symbols): Likewise, with export-all.
957 (xlate): Likewise, with --kill-at.
958 (make_imp_label): New function to handle fastcall symbols
959 correctly.
960 (make_one_lib_file): Use make_imp_label instead of make_label
961 for imp symbols.
962
a700dc3b
SS
9632002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
964
965 * MAINTAINERS: Add self as TIC4X maintainer.
966
5cf1065c
NC
9672002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
968
969 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
970 PROCESSOR-specific, OS-specific, reserved and unknown symbol
971 types.
5cf1065c 972
f1ef08cb
AM
9732002-11-04 Alan Modra <amodra@bigpond.net.au>
974
975 * readelf.c (byte_get_little_endian): Comment typo fix.
976 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
977 as the format string.
978 (dump_relocations): Correct section sym names.
979 (process_section_headers): Clear symtab_shndx_hdr.
980 (read_and_display_attr_value): Don't pass indirect string to printf
981 as the format string.
982 (display_debug_frames): Indicate when zero terminator found. Decode
983 DW_EH_PE_pcrel addresses.
984
1a09a22c
NC
9852002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
986
987 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
988 order to ensure proper disassembly of the valid 0-value opcode.
989 * configure: Regenerate.
990 * aclocal.m4: Regenerate.
991 * config.in: Regenerate.
992 * configure.in: Regenerate.
993 * doc/Makefile.in: Regenerate.
994 * po/binutils.pot: Regenerate.
995
c254c557
KK
9962002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
997
998 * MAINTAINERS: Add self as SH maintainer.
999
aefbdd67
BE
10002002-10-23 Ben Elliston <bje@redhat.com>
1001
1002 * doc/binutils.texi (objdump): Document -z and move the entry for
1003 --disassemble-zeroes to the end of the options section (for `z').
1004
ab9bcc01
NC
10052002-10-21 Nick Clifton <nickc@redhat.com>
1006
1007 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1008
8ab56b6f
AM
10092002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1010
1011 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1012
49c12576
AM
10132002-10-15 Alan Modra <amodra@bigpond.net.au>
1014
48417c1a
AM
1015 * bucomm.c (list_supported_targets): Use bfd_target_list.
1016
49c12576
AM
1017 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1018 other object errors in preference to bfd_core errors.
1019
6e1a7e9a
AM
10202002-10-14 Alan Modra <amodra@bigpond.net.au>
1021
1022 * Makefile.am: Run "make dep-am".
1023 * objdump.c: #include "bfdver.h".
1024 * version.c: Likewise.
1025 * Makefile.in: Regenerate.
1026 * config.in: Regenerate.
1027 * configure: Regenerate.
1028 * po/POTFILES.in: Regenerate.
1029
09fc3b02
DJ
10302002-10-09 Daniel Jacobowitz <drow@mvista.com>
1031
1032 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1033 sections. Allow relocations against the absolute symbol. Don't
1034 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 1035 relocation.
09fc3b02 1036
f309035a
NC
10372002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1038
1039 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1040 ordinary ones are available.
1041
810dfa6e
L
10422002-09-30 H.J. Lu <hjl@gnu.org>
1043
1044 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1045 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1046
bb279dc0
ZW
10472002-09-17 Zack Weinberg <zack@codesourcery.com>
1048
1049 * Makefile.am (CFILES): Add cxxfilt.c.
1050 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1051 (cxxfilt_LDADD): Delete.
1052 Remove all references to underscore.c.
1053 Regen dependencies.
1054 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1055 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1056 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1057 adjustments to fit into binutils framework.
1058 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1059
065c959b
NC
10602002-09-12 Roland McGrath <roland@redhat.com>
1061
1062 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1063 Handle DW_OP_GNU_push_tls_address.
1064
e09f4395
NC
10652002-09-11 Nick Clifton <nickc@redhat.com>
1066
1067 * po/tr.po: Updated Turkish translation.
1068
873e0588
NC
10692002-09-10 Nick Clifton <nickc@redhat.com>
1070
1071 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1072 testsuite changes. Add paragraphs about testsuite and config
1073 patches.
1074
069fe61f
NC
10752002-08-29 Nick Clifton <nickc@redhat.com>
1076
1077 * readelf.c (get_machine_flags): Remove redundant reference to
1078 E_V850EA_ARCH.
1079
fe0507eb
AM
10802002-08-28 Alan Modra <amodra@bigpond.net.au>
1081
1082 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1083 last commit.
1084
026df7c5
NC
10852002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1086
bb279dc0 1087 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
1088 (dump_bfd_header): Likewise.
1089
68a4c073
AM
10902002-08-27 Alan Modra <amodra@bigpond.net.au>
1091
1092 * nm.c: Revert last change.
1093
a1df01d1
AM
10942002-08-26 Alan Modra <amodra@bigpond.net.au>
1095
1096 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1097 * objdump.c (slurp_symtab): Likewise.
1098 (slurp_dynamic_symtab): Likewise.
1099 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1100
a926ab2f
GK
11012002-08-24 Geoffrey Keating <geoffk@redhat.com>
1102
1103 * MAINTAINERS: Change my mailing address.
1104
fcf62380
DA
11052002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1106
1107 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1108
51e28791
NC
11092002-08-22 Nick Clifton <nickc@redhat.com>
1110
1111 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1112 HPPA.
1113
c5b060ad
AM
11142002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1115
1116 * readelf.c (parse_args): Change debug_dump_opt to static.
1117
4b73ca92
NC
11182002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1119
1120 * stabs.c (parse_stab_argtype): Pass length of physname to
1121 stab_demangle_argtypes.
1122 (stab_demangle_argtypes): Add new parameter - length of physname.
1123 Pass length of physname on to stab_demangle_prefix.
1124 (stab_demangle_prefix): Add new parameter - length of physname.
1125 Use length of physname (if supplied) to compute end of function
1126 name.
1127
35b1837e
AM
11282002-08-15 Alan Modra <amodra@bigpond.net.au>
1129
1130 * readelf.c: Include elf/i370.h.
1131 (dump_relocations): Handle EM_S370.
1132 (dynamic_segment_parisc_val): Print \n.
1133 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1134
762baac5
NC
11352002-08-14 Nick Clifton <nickc@redhat.com>
1136
1137 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1138 * objdump.c (usage): Likewise.
1139 * doc/binutils.texi: Likewise.
1140
85c09e8a
NC
11412002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1142
1143 * rcparse.y (acc_entry): Don't warn about ALT use with
1144 non-VIRTKEY.
1145
212a3c4d
L
11462002-08-13 H.J. Lu <hjl@gnu.org>
1147
1148 * objcopy.c (copy_object): Don't warn about the unsupported
1149 architecture unless the input target is defaulted or the
1150 output architecture is different from the input.
1151
2b692c59
NC
11522002-08-09 Nick Clifton <nickc@redhat.com>
1153
1154 * po/sv.po: Updated Swedish translation.
1155
09de7a73
AM
11562002-08-05 Alan Modra <amodra@bigpond.net.au>
1157
1158 * prdbg.c (pr_fix_visibility): Remove assert.
1159
47badb7b
NC
11602002-07-31 Nick Clifton <nickc@redhat.com>
1161
1162 * addr2line.c (process_file): Rename parameter 'filename' to
1163 'file_name' in order to avoid shadowing global symbol of the
1164 same name.
1165 (main): Likewise.
1166
2979dc34
JJ
11672002-07-30 Jakub Jelinek <jakub@redhat.com>
1168
1169 * readelf.c (OPTION_DEBUG_DUMP): Define.
1170 (options): Use it.
1171 (usage): Update help.
1172 (parse_args): Handle --debug-dump separately from -w.
1173 * doc/binutils.texi (readelf): Update documentation.
1174
219576a4
NC
11752002-07-25 Nick Clifton <nickc@redhat.com>
1176
1177 * po/es.po: Updated Spanish translation.
1178 * po/fr.po: Updated French translation.
1179
bf4f22e6 11802002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1181
bf4f22e6
NC
1182 * po/es.po: Updated Spanish translation.
1183
c5b3a82a
AM
11842002-07-23 Alan Modra <amodra@bigpond.net.au>
1185
1186 * Makefile.am: Run "make dep-am".
1187 * Makefile.in: Regenerate.
1188
0461a601
NC
11892002-07-23 Nick Clifton <nickc@redhat.com>
1190
bf4f22e6 1191 * po/fr.po: Updated French translation.
0461a601 1192
bf44dd74
AM
11932002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1194
1195 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1196
2c205ff2
AM
11972002-07-20 Alan Modra <amodra@bigpond.net.au>
1198
63eb0809 1199 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1200
1e4cf259
NC
12012002-07-18 Denis Chertykov <denisc@overta.ru>
1202 Frank Ch. Eigler <fche@redhat.com>
1203
1204 * readelf.c: Include "elf/ip2k.h".
1205 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1206 (dump_relocations): Likewise.
1207 (get_machine_name): Likewise.
1208 * NEWS: Mention IP2K support.
1209
2cbb2eef
NC
12102002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1211
1212 * NEWS: Add 'Changes in 2.13'.
1213
047b2264
JJ
12142002-07-10 Jakub Jelinek <jakub@redhat.com>
1215
1216 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1217 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1218 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1219 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1220 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1221 (process_gnu_liblist): New.
1222 (process_file): Call it.
1223
97230b15
AM
12242002-07-03 Alan Modra <amodra@bigpond.net.au>
1225
1226 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1227 * Makefile.in: Regenerate.
1228
a6637ec0
AM
12292002-07-02 Alan Modra <amodra@bigpond.net.au>
1230
1231 * budemang.c: New file, "demangle" function.
1232 * budemang.h: New file.
1233 * addr2line.c (translate_addresses): Use "demangle".
1234 * nm.c (print_symname): Likewise.
1235 * objdump.c (objdump_print_symname): Likewise.
1236 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1237 here since that obfuscates.
1238 * rdcoff.c: Don't #include demangle.h.
1239 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1240 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1241 (HFILES): Add budemang.h. Sort.
1242 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1243 Run "make dep-am".
1244 * Makefile.in: Regenerate.
1245
179d3252
JT
12462002-07-01 Matt Thomas <matt@3am-software.com>
1247
1248 * readelf.c: Include "elf/vax.h".
1249 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1250 (dump_relocations): Handle VAX relocations.
1251 (get_machine_flags): Handle VAX machine flags.
1252
75751cd9
SC
12532002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1254
1255 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1256
e5851ab8
NC
12572002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1258
1259 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1260
eb3f2f5c
AM
12612002-06-26 Alan Modra <amodra@bigpond.net.au>
1262
1263 * nm.c (print_symname): When demangling, strip leading dots from
1264 symbol names to avoid confusing the demangler.
1265
a13a0de8
L
12662002-06-25 H.J. Lu <hjl@gnu.org>
1267
1268 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1269 * Makefile.in: Regenerated.
1270
6db7a086
AM
12712002-06-21 Igor Schein <igor@txc.com>
1272
1273 * configure.in: Quote bu_cv_have_fopen64.
1274 * configure: Regenerate.
1275
9710509e
AM
12762002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1277
1278 * configure.in: Check for strcoll.
1279 * configure: Regenerate.
1280 * config.in: Regenerate.
1281 * nm.c (main): Set locale for LC_COLLATE category.
1282 (non_numeric_forward): Use strcoll if available.
1283
a9f0b5e7
DB
12842002-06-20 Dave Brolley <brolley@redhat.com>
1285
1286 * MAINTAINERS: Add self as fr30 and frv maintainer.
1287
33f5f537
L
12882002-06-18 H.J. Lu (hjl@gnu.org)
1289
1290 * nm.c: Include "elf/common.h".
1291 (extended_symbol_info): Add elfinfo, a pointer to
1292 elf_symbol_type.
1293 (SYM_SIZE): Use elfinfo if it is not NULL.
1294 (get_symbol_type): New function.
1295 (display_archive): Set print_width for each archive member.
1296 (display_file): Likewise.
1297 (display_rel_file): Don't set print_width here.
1298 (print_object_filename_sysv): Handle print_width.
1299 (print_archive_member_sysv): Likewise.
1300 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1301 (print_symbol): Set the elfinfo field in extended_symbol_info
1302 for ELF.
1303 (print_object_filename_sysv): Fix the output format.
1304 (print_symbol_info_sysv): Print type and section for ELF.
1305
13062002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1307
1308 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1309 the symbol's size equal to its value when --size-sort is
33f5f537
L
1310 used.
1311
5c70f934
DB
13122002-06-18 Dave Brolley <brolley@redhat.com>
1313
1314 From Catherine Moore:
1315 * readelf.c (elf/frv.h): #include it.
1316 (guess_is_rela): Support EM_CYGNUS_FRV.
1317 (dump_relocations): Ditto.
1318 (get_machine_name): Ditto.
1319 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1320
7ece0d85
JJ
13212002-06-18 Jakub Jelinek <jakub@redhat.com>
1322
1323 * readelf.c (get_file_header): Only read the first section header if
1324 e_shoff is non-zero.
1325
72797995
L
13262002-06-15 H.J. Lu (hjl@gnu.org)
1327
1328 * nm.c (print_size): New variable. Initialize to 0.
1329 (long_options): Add 'S'/"print-size".
1330 (main): Handle 'S'.
1331 (print_symbol_info_bsd): Print size only if print_size is not
1332 0.
1333
1334 * doc/binutils.texi: Document -S/--print-size.
1335
977f7911
NC
13362002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1337
1338 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1339 of the symbols to the information provided by the symbol_info
1340 structure.
1341 (print_symbols): Pass the symbol size to print_symbol.
1342 (print_size_symbols): Pass the symbol size to print_symbol.
1343 (print_symbol): Extra argument: The size of the symbol. Store
1344 this in the extended_symbol_info structure.
1345 (print_symbol_info): Change type of info parameter to
1346 extended_symbol_info. Display the size, if known.
1347 (print_symbol_info_posix): Likewise.
1348 (print_symbol_info_sysv): Likewise.
1349
b1f88ebe
AM
13502002-06-08 Alan Modra <amodra@bigpond.net.au>
1351
fa449227
AM
1352 * Makefile.am: Run "make dep-am".
1353 * Makefile.in: Regenerate.
1354 * doc/Makefile.in: Regnerate.
1355
b1f88ebe
AM
1356 * bucomm.c: Replace CONST with const.
1357 * nm.c: Likewise.
1358 * objdump.c: Likewise.
1359
91a106e6
L
13602002-06-07 H.J. Lu <hjl@gnu.org>
1361
1362 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1363 (DW_CFA_GNU_negative_offset_extended): Likewise.
1364 (DW_CFA_GNU_window_save): Likewise.
1365 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1366 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1367
6ab6b380 13682002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1369
6ab6b380
NC
1370 * nm.c: When computing size of symbols for an ELF target use the
1371 internal size field.
1372
e28e05a3
JL
13732002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1374
1375 * testsuite/binutils-all/objcopy.exp: clear xfail for
1376 "hppa*64*-*-hpux*".
1377 * testsuite/binutils-all/hppa/objdump.exp: Return if
1378 "*64*-*-*".
1379
dc156bc0
AM
13802002-06-05 Alan Modra <amodra@bigpond.net.au>
1381
1382 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1383
13842002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1385
1386 * objdump.c: Fix formatting.
1387
d79e4ea3
BE
13882002-05-29 Ben Elliston <bje@redhat.com>
1389
1390 * MAINTAINERS: Add self as M68k maintainer.
1391
d172d4ba
NC
13922002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1393
1394 * readelf.c: Modified/Added DLX elf support.
1395
7edb8f29
NC
13962002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1397
3a1a2036
NC
1398 * arsup.c: Fix formatting.
1399 * debug.c (debug_record_label): Add missing colon to error
1400 message.
1401 * ieee.c (parse_ieee_ty): Fix spelling typo.
1402 * readelf.c (process_program_headers): Remove English assumption
1403 about making a plural word.
1404 (process_section_headers): Likewise.
1405 (process_relocs): Allow quotes to be translated.
1406 (process_unwind): Likewise,
1407 (process_mips_specific): Improve error message.
1408 (get_note_type): Fix spelling typo.
1409
7edb8f29
NC
1410 * configure.in (ALL_LINGUAS): Add sv
1411 * po/sv.po: New file.
1412
3eee1e9d
AM
14132002-05-27 Alan Modra <amodra@bigpond.net.au>
1414
1415 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1416 (unw_print_grmask): Likewise.
1417 (unw_print_frmask): Likewise.
1418
d43efbe3
KH
14192002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1420
1421 * arsup.c: Remove ARGSUSED.
1422 * debug.c: Likewise.
1423 * ieee.c: Likewise.
1424 * nlmconv.c: Likewise.
1425 * prdbg.c: Likewise.
1426 * stabs.c: Likewise.
1427 * wrstabs.c: Likewise.
1428
e9792343
AM
14292002-05-25 Alan Modra <amodra@bigpond.net.au>
1430
1431 * arlex.l: Use #include "" instead of <> for local header files.
1432 * coffdump.c: Likewise.
1433 * coffgrok.c: Likewise.
1434 * nlmconv.c: Likewise.
1435 * nlmheader.y: Likewise.
1436 * srconv.c: Likewise.
1437 * strings.c: Likewise.
1438 * sysdump.c: Likewise.
1439 * unwind-ia64.h: Likewise.
1440 * windres.h: Likewise.
1441 * winduni.h: Likewise.
1442
d7e53452
TR
14432002-05-24 Tom Rix <trix@redhat.com>
1444
1445 * MAINTAINERS: Add self as the d10v maintainer.
1446
436e8db0
NC
14472002-05-24 TAMURA Kent <kent@netbsd.org>
1448
1449 * configure.in: Builds dlltool for i386-netbsdpe.
1450 * configure: Regenerate.
1451
9f66665a
KH
14522002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1453
1454 * size.c: Fix formatting.
1455 * srconv.c: Likewise.
1456 * stabs.c: Likewise.
1457 * sysdump.c: Likewise.
1458 * unwind-ia64.c: Likewise.
1459 * wrstabs.c: Likewise.
1460
13ae64f3
JJ
14612002-05-23 Jakub Jelinek <jakub@redhat.com>
1462
1463 * readelf.c (get_segment_type): Add PT_TLS.
1464 (get_elf_section_flags): Add SHF_TLS.
1465 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1466 (process_dynamic_segment): Use puts instead of printf.
1467 (get_symbol_type): Support STT_TLS.
1468 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1469 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1470 Add SEC_THREAD_LOCAL.
1471
53c7db4b
KH
14722002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1473
1474 * rdcoff.c: Fix formatting.
1475 * rddbg.c: Likewise.
1476 * readelf.c: Likewise.
1477 * rename.c: Likewise.
1478 * resbin.c: Likewise.
1479 * resrc.c: Likewise.
1480 * resres.c: Likewise.
1481
0af11b59
KH
14822002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1483
1484 * filemode.c: Fix formatting.
1485 * ieee.c: Likewise.
1486 * is-ranlib.c: Likewise.
1487 * is-strip.c: Likewise.
1488 * maybe-ranlib.c: Likewise.
1489 * maybe-strip.c: Likewise.
1490 * nlmconv.c: Likewise.
1491 * nm.c: Likewise.
1492 * not-ranlib.c: Likewise.
1493 * not-strip.c: Likewise.
1494 * objcopy.c: Likewise.
1495 * objdump.c: Likewise.
1496
21611032
TS
14972002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1498
1499 * objdump.c (dump_headers): Fix output formatting for ELF32
1500 architectures in a BFD64 enabled toolchain.
1501
26044998
KH
15022002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1503
1504 * debug.c: Fix formatting.
1505 * debug.h: Likewise.
1506 * dlltool.c: Likewise.
1507 * dllwrap.c: Likewise.
1508 * emul_aix.c: Likewise.
1509 * emul_vanilla.c: Likewise.
1510
f462a9ea
KH
15112002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1512
1513 * addr2line.c: Fix formatting.
1514 * ar.c: Likewise.
1515 * arsup.c: Likewise.
1516 * arsup.h: Likewise.
1517 * binemul.c: Likewise.
1518 * binemul.h: Likewise.
1519 * bucomm.c: Likewise.
1520 * coffdump.c: Likewise.
1521 * coffgrok.c: Likewise.
1522 * coffgrok.h: Likewise.
1523
e0159aa9
MM
15242002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1525
1526 * MAINTAINERS: Add myself as the second AVR port maintainer.
1527
074b403e
SC
15282002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1529
1530 * MAINTAINERS: Update my email address.
1531
2b9c8201
NC
15322002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1533
1534 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1535
e1d5b1e7
AM
15362002-05-09 Alan Modra <amodra@bigpond.net.au>
1537
1538 * configure.in: Replace `*pe' with `pe' throughout.
1539 * configure: Regenerate.
1540
d3d8a9ee
NC
15412002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1542
1543 * Makefile.am: Honour DESTDIR.
1544 * Makefile.in: Regenerate.
1545
405c98a4
AM
15462002-05-06 Alan Modra <amodra@bigpond.net.au>
1547
a02d5965
AM
1548 * dlltool.c (process_def_file): Add missing prototype.
1549 (new_directive, assemble_file, main): Likewise.
1550 (process_def_file, new_directive): Make static.
1551 (inform): Rewrite using VA_FIXEDARG.
1552 * dllwrap.c (mybasename): Add missing prototype.
1553 (strhash, main): Likewise.
1554 (inform): Rewrite using VA_FIXEDARG.
1555 (warn): Likewise.
1556 (cleanup_and_exit): Use old style function definition.
1557 (strhash): Likewise.
1558 * windres.c (define_resource): Use one memset to clear all of
1559 struct res_resource.
1560
405c98a4 1561 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1562 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1563
15642002-05-06 Borut Razem <borut.razem@siol.net>
1565
1566 * rclex.l (get_string): Correct "strings" list handling.
1567 * resrc.c (read_rc_file): Discard strings.
1568
91593c9d
AM
15692002-05-04 Alan Modra <amodra@bigpond.net.au>
1570
e58a75dc
AM
1571 * ar.c (replace_members): Remove unused var. Formatting fix.
1572 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1573
91593c9d
AM
1574 * MAINTAINERS: Sort port maintainers by CPU.
1575
6b52b824
AM
15762002-05-04 Bob Byrnes <byrnes@curl.com>
1577
1578 * size.c (display_archive): Add last_arfile and code to close archives.
1579
dd70071f
AM
15802002-05-01 Alan Modra <amodra@bigpond.net.au>
1581
1582 * nm.c (print_symbol): Check returned filename from
1583 bfd_find_nearest_line is non-NULL.
1584
6c95717a 15852002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1586
1587 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1588
3c25c5f6
NC
15892002-04-24 Christian Groessler <chris@groessler.org>
1590
1591 * MAINTAINERS: Changed my email address.
1592
944cd72c
TS
15932002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1594
1595 * arparse.y: Fix syntax warning.
1596
ea91f8bb
NC
15972002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1598
3e55a963
NC
1599 * readelf.c (fetch_location_list): Remove unused function.
1600
1601 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1602 and display a warning message, then exit the loop.
1603
ea91f8bb
NC
1604 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1605
45b99827
NC
16062002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1607
1608 * resrc.c (write_rc_dialog): If charset is non-default value
1609 display all of the DIALOGEX parameters.
1610
16112002-04-15 Eric Kohl <ekohl@rz-online.de>
1612
bb279dc0 1613 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1614 DIALOGEX resources.
1615 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1616 resource data.
bb279dc0 1617 (res_to_bin_dialog): Likewise.
45b99827
NC
1618 * windres.h: Added misssing charset variable to dialog_ex
1619 structure.
1620
acfbab8a
NC
16212002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1622
1623 * rcparse.y: Set MEMFLAG_PURE by default.
1624
df3baf66
NC
16252002-04-09 Bernd Herd <info@herdsoft.com>
1626
bb279dc0 1627 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1628 are quoted.
4c30641a 1629 Fix typo in BEDIT warning.
91eafb40 1630 Don't add default dialog style when explicit style specified.
b62a12ca 1631 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1632
b24eb5ac
NC
1633 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1634 (handle_quotes) "\a" escape (used for right justified key
1635 definitions in menus) is encodes as binary 8.
df3baf66 1636
b24eb5ac
NC
1637 * resrc.c (write_rc_dialog): Print style even if it is 0.
1638 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1639 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1640
b24eb5ac
NC
1641 * resbin.c (bin_to_res_dialog): Use signature to identify
1642 DIALOGEX.
f7d63484 1643
b24eb5ac 1644 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1645
df3baf66
NC
16462002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1647
1648 * resrc.c: print CLASS names in quotes
1649
16502002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1651
1652 * MAINTAINERS: Update my email address.
1653
8e42bcb6
AM
16542002-04-04 Alan Modra <amodra@bigpond.net.au>
1655
1656 * dep-in.sed: Cope with absolute paths.
1657 * Makefile.am (dep.sed): Subst TOPDIR.
1658 Run "make dep-am".
1659 * Makefile.in: Regenerate.
1660
96f959e5
PT
16612002-03-27 Peter Targett <peter.targett@arc.com>
1662
1663 * MAINTAINERS: Update my email address.
1664
1ea788ee
AM
16652002-03-21 Alan Modra <amodra@bigpond.net.au>
1666
1667 * Makefile.am: Run "make dep-am".
1668 * Makefile.in: Regenerate.
1669 * doc/Makefile.in: Regenerate.
1670 * po/POTFILES.in: Regenerate.
1671 * aclocal.m4: Regenerate.
1672 * config.in: Regenerate.
1673 * configure: Regenerate.
1674
a2f14207
DB
16752002-03-20 Daniel Berlin <dan@dberlin.org>
1676
1677 * readelf.c: Add support for displaying dwarf2 location lists.
1678 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1679 (parse_args): Use 'O' as shorthand for displaying location list
1680 section.
1681 (process_section_headers): Handle debug_loc as well.
1682 (load_debug_loc): New.
1683 (free_debug_loc): New.
1684 (fetch_location_list): New.
1685 (display_debug_loc): New.
1686 (display_debug_info): Call load_debug_loc and free_debug_loc.
1687 (debug_displays): We can display .debug_loc now, too.
1688 (usage): Update usage string.
1689 (read_and_display_attr_value): Note location lists, but don't
1690 display them inline.
1691
eb1e0e80
NC
16922002-03-18 Tom Rix <trix@redhat.com>
1693
1694 * Makefile.am: Add binutils emulation support.
1695 * configure.in: Same.
1696 * configure.tgt: New file. Same.
1697 * ar.c (main): Use ar_emul_parse_arg.
1698 (usage): Use ar_emul_usage.
1699 (replace_members): Use ar_emul_replace, ar_emul_append.
1700 * binemul.c: New file. Define the binutils emulation
1701 layer. Define default methods.
1702 * binemul.h: New file. Binutils emulation layer header file.
1703 * emul_aix.c: New file. AIX binutils emulation.
1704 * emul_vanilla.c: New file. Default binutils emulation.
1705 * Makefile.in: Regenerate.
1706 * configure: Same.
1707
a1c259a1
NC
17082002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1709
1710 * po/fr.po: Updated version.
1711
9ce88e60
NC
17122002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1713
1714 * po/fr.po: Updated version.
1715
effb0601
DJ
17162002-03-07 Daniel Jacobowitz <drow@mvista.com>
1717
1718 * README: Update some version numbers.
1719
a65688ab
DJ
17202002-03-07 Daniel Jacobowitz <drow@mvista.com>
1721
1722 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1723 (Architecture Selection): Likewise.
1724
f3f7fbb2
NC
17252002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1726
1727 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1728 generating .exp file.
1729
25345be5
NC
17302002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1731
1732 * readelf.c (dump_relocations): Fix typo.
1733
9a66911f
NC
17342002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1735
1736 * NEWS: Mark 2.12 branch.
1737
2c71103e
NC
17382002-02-18 Timothy Daly <remote_bob@yahoo.com>
1739
bb279dc0
ZW
1740 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1741 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1742 output.
bb279dc0 1743 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1744 to 'unrecognized'.
1745 (decode_ARM_machine_flags): Likewise.
1746 (parse_args): Likewise.
1747 (read_and_display_attr_value): Likewise.
1748 (display_debug_section): Likewise.
1749
49fda6c8
HPN
17502002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1751
1752 * NEWS: Mention support for MMIX.
1753
76f57f3a
JT
17542002-02-13 Matt Fredette <fredette@netbsd.org>
1755
1756 * readelf.c (get_machine_flags): Recognize EF_M68000.
1757
d36ca9c2
AO
17582002-02-12 Alexandre Oliva <aoliva@redhat.com>
1759
1760 * MAINTAINERS: Added self as MN10300 co-maintainer.
1761
19397422
AM
17622002-02-12 Alan Modra <amodra@bigpond.net.au>
1763
1764 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1765 DT_PPC64_OPDSZ.
1766
d434e574
DJ
17672002-02-11 Daniel Jacobowitz <drow@mvista.com>
1768
1769 * MAINTAINERS: List myself as branch maintainer.
1770
12b87c89
AM
17712002-02-11 Alan Modra <amodra@bigpond.net.au>
1772
1773 * configure: Regenerate.
1774 * objcopy.c: Update copyright date.
1775 * doc/Makefile.in: Regenerate.
1776
8d037c5c
DJ
17772002-02-10 Daniel Jacobowitz <drow@mvista.com>
1778
1779 * nlmconv.c: Back out localtime PARAMS change.
1780
4c168fa3
AM
17812002-02-11 Alan Modra <amodra@bigpond.net.au>
1782
1783 * objcopy.c (MKDIR): Define.
1784 (copy_archive): Make name_list.name const. Use MKDIR.
1785 Handle duplicate files in archives by making more temp dirs.
1786
408f8db1
DJ
17872002-02-10 Daniel Jacobowitz <drow@mvista.com>
1788
1789 * coffdump.c: Include "getopt.h" after "bucomm.h"
1790 so that macros are defined correctly.
1791 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1792 prototype. Prototype main.
1793 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1794
9f77fa06
AO
17952002-02-06 Alexandre Oliva <aoliva@redhat.com>
1796
1797 * MAINTAINERS: Added self as SH co-maintainer.
1798
82f6addb
NC
17992002-02-05 Nick Clifton <nickc@redhat.com>
1800
1801 * po/tr.po: Updated translation.
1802
ba323545
AM
18032002-02-01 Alan Modra <amodra@bigpond.net.au>
1804
1805 * Makefile.am: Run "make dep-am"
1806 * Makefile.in: Regenerate.
1807
3deb89d3
DJ
18082002-01-29 Daniel Jacobowitz <drow@mvista.com>
1809
1810 * nm.c (print_value): Mark abfd unused.
1811
a0e9c55f
DJ
18122002-01-29 Daniel Jacobowitz <drow@mvista.com>
1813
1814 * unwind-ia64.c (unw_decoder): Change second argument
1815 to unsigned int, to match function prototypes.
1816
d7a283d4
DJ
18172002-01-29 Daniel Jacobowitz <drow@mvista.com>
1818
1819 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1820 __GNU_LIBRARY__ will be defined.
1821 * size.c: Likewise.
1822
4867be41
DJ
18232002-01-27 Daniel Jacobowitz <drow@mvista.com>
1824
1825 * configure: Regenerated.
1826
7562a296
HPN
18272002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1828
1829 * doc/Makefile.am (install): Depend on install-info.
1830 * doc/Makefile.in: Regenerate.
1831
15c82623
NC
18322002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1833
1834 * objcopy.c (strip_usage): Document -d as an alias
1835 --strip-debug.
1836
1837 * size.c (usage): Document [-t | --totals] options.
1838 (long_options): Add --totals option.
1839 (main): If the [-t | --totals] option is specified and
1840 the output format is Berkeley-style, print the total
1841 text, data, and bss sizes of all objects listed.
1842 (print_berkeley_format): If the [-t | --totals] option
1843 is specified, track the total text, data, and bss
1844 sizes.
1845 * doc/binutils.texi (size): Document [-t | --totals] options.
1846 (strip): Document -d as an alias for --strip-debug.
1847 * NEWS: Mention new feature of size.
1848
00ea8601 18492002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1850
1ddbd152
NC
1851 * po/fr.po: Updated version.
1852 * po/es.po: Updated version.
b85cedd7 1853
8b53311e
NC
18542002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1855
1856 * addr2line.c (usage): Update text to provide verbose
1857 description of the command line options.
1858 * ar.c (usage): Update text to provide verbose
1859 description of the command line options.
1860 (main): Accept -h and -H when running as ranlib.
1861 * coffdump.c (show_usage): Update text to provide verbose
1862 description of the command line options.
1863 * dlltool.c (main): Accept -H as an alias for --help.
1864 * nlmconv.c (show_usage): Update text to provide verbose
1865 description of the command line options.
1866 * nm.c (usage): Replace OPTIONS with option(s).
1867 (main): Accept -H as an alias for --help.
1868 * objcopy.c (strip_main): Accept -H as an alias for --help.
1869 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1870 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1871 other binutils.
1872 * size.c (usage): Update text to provide verbose description
1873 of the command line options.
1874 (main): Accept -v, -h and -H as command line options.
1875 * srconv.c (show_usage): Update text to provide verbose
1876 description of the command line options.
1877 * strings.c (main): Accept -H and -v as command line options.
1878 (usage): Update text to provide verbose description of the
1879 command line options.
1880 * sysdump.c (show_usage): Update text to provide verbose
1881 description of the command line options.
1882 * windres.c (usage): Adjust format to match style used in
1883 other binutils.
1884
1885 * coffdump.c: Fix formatting.
1886 * nlmconv.c: Fix formatting.
1887 * srconv.c: Fix formatting.
1888 * sysdump.c: Fix formatting.
1889
c46f0c34
AM
18902002-01-22 Alan Modra <amodra@bigpond.net.au>
1891
1892 * Makefile.am: Run "make dep-am".
1893 * Makefile.in: Regenerate.
1894
2a538ba5
AJ
18952002-01-18 Andreas Jaeger <aj@suse.de>
1896
1897 * version.c (print_version): Update year.
1898
285d1771
AM
18992002-01-17 Alan Modra <amodra@bigpond.net.au>
1900
1901 * readelf.c (get_machine_name): Handle EM_PPC64.
1902 (guess_is_rela): Here too.
1903
328577ad
NC
19042002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1905
1906 * po/binutils.pot: Regenerate.
1907 * po/fr.po: Regenerate.
1908 * po/tr.po: Regenerate.
1909
af3ae48d
NC
19102002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1911
1912 * po/tr.po: Import new version.
1913
f1cb7e17
AM
19142002-01-16 Alan Modra <amodra@bigpond.net.au>
1915
1916 * readelf.c (get_ppc64_dynamic_type): New.
1917 (get_dynamic_type): Call it.
1918
6364e0b4
NC
19192002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1920
3ab9460d 1921 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1922 (strip_usage): Use "options" instead of "switches".
3ab9460d 1923 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1924 "switches".
6364e0b4 1925
3a7e524e
RE
19262002-01-14 Richard Earnshaw <rearnsha@arm.com>
1927
1928 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1929
1209e219
NC
19302001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1931
1932 * po/es.po: Import from translation project.
1933 * configure.in (ALL_LINGUAS): Add es.
1934 * configure: Regenerate.
1935
b4db1224
JT
19362002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1937
1938 * readelf.c (get_netbsd_elfcore_note_type): Use
1939 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1940
9437c45b
JT
19412002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1942
1943 * readelf.c: Update copyright years.
1944 (get_note_type): Return a const char *.
1945 (get_netbsd_elfcore_note_type): New function.
1946 (process_note): Use get_netbsd_elfcore_note_type to get
1947 the note type string for NetBSD ELF core files.
1948
00428cca
AM
19492002-01-06 Steve Ellcey <sje@cup.hp.com>
1950
1951 * readelf.c (get_ia64_segment_type): Add support for macros.
1952 (get_segment_type): Add support for IA64 specific macros.
1953
31104126
NC
19542001-12-20 Julian v. Bock <julian@wongr.net>
1955
1956 * readelf.c (print_symbol): New function: Print a formatted symbol
1957 name. If --wide is specified do not truncate it.
1958 (dump_relocations): Use print_symbol() to print symbol names.
1959 (process_symbol_table): Likewise.
1960 (process_syminfo): Likewise.
1961 (process_mips_specific): Likewise.
1962 (usage): Document new feature of --wide switch.
1963 * doc/binutils.texi (objdump): Document additional behaviour of
1964 --wide.
2a538ba5 1965
4dd67f29
MS
19662001-12-18 Michael Snyder <msnyder@redhat.com>
1967
1968 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1969 (copy_object): Don't set the start address or flags of a core file.
1970 (copy_section): Don't relocate a core file. Don't copy contents
1971 if the input section has the contents flag set, but the output
1972 section does not (which happens with the fake 'note' pseudo-
1973 sections that BFD creates for corefiles).
1974
43521d43
TS
19752001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1976
1977 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1978 ASE extensions. More robust code for ISA checking. Ignore empty fields
1979 in header flags for GNU extensions.
1980
b667df2e
AM
19812001-12-18 Alan Modra <amodra@bigpond.net.au>
1982
1983 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1984
17a5a5c3
NC
19852001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1986
1987 * po/ja.po: Import from translation project.
1988 * configure.in (ALL_LINGUAS): Add ja.
1989 * configure: Regenerate.
1990
65de42c0
TS
19912001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1992
1993 * addr2line.c (main): Protoype.
1994 * ar.c (main): Protoype.
1995 * nm.c (main): Protoype.
1996 * objcopy.c (main): Protoype.
1997 * objdump.c (main): Protoype.
1998 * size.c (main): Protoype.
1999 * strings.c (main): Protoype.
2000
9ad5cbcf
AM
20012001-12-17 Alan Modra <amodra@bigpond.net.au>
2002
2003 * readelf.c (symtab_shndx_hdr): New global.
2004 (SECTION_HEADER_INDEX): Define.
2005 (SECTION_HEADER_NUM): Define.
2006 (SECTION_HEADER): Define.
2007 (GET_ELF_SYMBOLS): Pass two params rather than three.
2008 (get_32bit_elf_symbols): Take file and section args. Read and
2009 use SHT_SYMTAB_SHNDX.
2010 (get_64bit_elf_symbols): Likewise.
2011 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2012 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2013 Remember symtab_shdx_hdr.
2014 (process_program_headers): Scan from index 1 for segment map.
2015 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2016 "section_headers".
2017 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2018 (process_unwind): Likewise.
2019 (process_version_sections): Likewise.
2020 (process_symbol_table): Likewise.
2021 (display_debug_info): Likewise.
2022 (process_dynamic_segment): Fake up a symtab section for changed
2023 GET_ELF_SYMBOLS.
2024 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2025 (process_program_headers): Kill signed/unsigned warning.
2026 (load_debug_str): Likewise.
2027 (display_debug_info): Likewise.
2028
65765700
JJ
20292001-12-13 Jakub Jelinek <jakub@redhat.com>
2030
2031 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2032
560f3c1c
AM
20332001-12-11 Alan Modra <amodra@bigpond.net.au>
2034
2035 * readelf.c (process_file_header): Print extended e_shnum and
2036 e_shdtrndx values. Set elf_header values for same.
2037 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2038 (get_64bit_section_headers): Likewise.
2039 (process_section_headers): Update calls.
2040 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2041
bc408b8a
JJ
20422001-12-10 Jakub Jelinek <jakub@redhat.com>
2043
2044 * objcopy.c (setup_section): Copy entsize.
2045
93fbbb04
GK
20462001-12-07 Geoffrey Keating <geoffk@redhat.com>
2047
2048 * readelf.c (guess_is_rela): Add support for stormy16.
2049 (dump_relocations): Likewise.
2050 (get_machine_name): Likewise.
2051
e3c8793a
NC
20522001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2053
2054 * dllwrap.c (main) Replace multiple strings describing a
2055 single error with a single, newline escaped sentence to permit
2056 better translation into foreign languages.
2057
2058 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2059 class names.
2060
956cd1d6
TS
20612001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2062
2063 * strings.c (get_char): Initialize value.
2064
956c53ee
TS
20652001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2066
2067 * arlex.l: Silence compile warnings.
2068 * arsup.h: Likewise. Fix formatting.
2069
cedd9a58
JJ
20702001-12-04 Jakub Jelinek <jakub@redhat.com>
2071
2072 * strings.c: Include config.h before bfd.h.
2073 (file_off): New type.
2074 (file_open): Define.
2075 (print_strings): Use file_off instead of file_ptr. Print addresses
2076 which don't fit into long correctly.
2077 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2078 available.
2079 (strings_file): Use file_off instead of file_ptr. Use file_open.
2080 * configure.in: Check for getc_unlocked.
2081 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2082 be defined for it.
2083 * configure: Rebuilt.
2084 * config.h.in: Rebuilt.
2085
af667503
L
20862001-11-29 H.J. Lu <hjl@gnu.org>
2087
2088 * bucomm.c (make_tempname): Revert the changes made on
2089 2001-11-14 and 2001-11-12. They won't work with directories.
2090
16474668
NC
20912001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2092
2093 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2094 CFLAGS_FOR_TARGET to runtest in environment.
2095 * Makefile.in: Rebuild.
2096 * doc/Makefile.in: Rebuild.
2097
17978339
MS
20982001-11-28 Mike Stump <mrs@wrs.com>
2099
2100 * objcopy.c (setup_section): Preserve SEC_RELOC when
2101 --set-section-flags is used.
2102
261a45ad
NC
21032001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2104
2105 * readelf.c (do_debug_str): New variable.
2106 (display_debug_str): New function: Display the contents of a
2107 .debug_str section.
2108 (load_debug_str): New function: Load in the contents of a
2109 .debug_str section.
2110 (free_debug_str): New function: Free the memory used by
2111 load_debug_str().
2112 (fetch_indirect_string): Retrieve a string from the .debug_str
2113 section.
2114 (usage): Add -ws.
2115 (parse_args): Accept -ws.
2116 (process_section_headers): Allow the display of the .debug_str
2117 section.
2118 (read_and_display_attr_value): Use fetch_indirect_string. Show
2119 offset into .debug_str section.
2120 (display_debug_info): Use load_debug_str and free_debug_str.
2121 (debug_displays): Add .debug_str.
2122 * doc/binutils.texi: Document -ws.
2123
b8908f93
AJ
21242001-11-19 Andreas Jaeger <aj@suse.de>
2125
2126 * testsuite/binutils-all/objdump.exp: Add x86-64.
2127
e5fb9629
AS
21282001-11-15 Andreas Schwab <schwab@suse.de>
2129
2130 * readelf.c: Fix warnings without terminating newline.
2131
802a735e
AM
21322001-11-15 Alan Modra <amodra@bigpond.net.au>
2133
2134 * doc/binutils.texi (objdump): Document ppc -M options.
2135
b89e9eae
AJ
21362001-11-14 Andreas Jaeger <aj@suse.de>
2137
2138 * doc/binutils.texi (objdump): Fix description to use x86-64.
2139
a6a25652
NC
21402001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2141
2142 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2143 not all systems provide mkstemp.
2144
e396998b
AM
21452001-11-14 Alan Modra <amodra@bigpond.net.au>
2146
2147 * doc/binutils.texi (objdump): Document x86 -M options.
2148
81766fca
RH
21492001-11-13 Keith Walker <keith.walker@arm.com>
2150
2151 * readelf.c (read_and_display_attr_value): New function to
2152 handle DW_FORM_indirect.
2153 (read_and_display_attr): Use it.
2154
1a509dcc
GK
21552001-11-13 Geoffrey Keating <geoffk@redhat.com>
2156
2157 * readelf.c (display_debug_lines): Deal with unknown standard
2158 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2159 DW_LNS_set_isa.
2160
6e917903 21612001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2162
6e917903
TW
2163 * MAINTAINERS: Add self as tic54x maintainer. This target
2164 includes the IBM C54XDSP clone.
7559e86e 2165
6e917903 21662001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2167
7559e86e
NC
2168 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2169
21702001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2171
ecdadc4a
JL
2172 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2173 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2174 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2175 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2176 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2177 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2178 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2179
91770270
JL
2180 * readelf.c (get_elf_class): Fix ISO portability glitch.
2181 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2182
ef5cdfc7
JJ
21832001-11-07 Jakub Jelinek <jakub@redhat.com>
2184
2185 * readelf.c (debug_str, debug_str_size): New.
2186 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2187 Call free_abbrevs.
2188 (read_and_display_addr): Handle DW_FORM_strp.
2189 (display_debug_info): Read .debug_str section if present,
2190 so that DW_FORM_strp can be handled.
2191 Fix test for non-existant .debug_abbrev section.
2192
5e9520c8
JJ
21932001-11-05 Jakub Jelinek <jakub@redhat.com>
2194
2195 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2196
2197 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2198
54589086
MS
21992001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2200
2201 * MAINTAINERS: Add self as s390/s390x maintainer.
2202
c05b685b
TR
22032001-11-02 Tom Rix <trix@bluey.cygnus.com>
2204
2205 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2206
3c62831e
NC
22072001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2208
2209 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2210 * configure: Regernate.
2211 * po/fr.po: New file.
2212 * po/tr.po: New file.
2213
3c3bdf30
NC
22142001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2215
9b19141a 2216 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2217 * readelf.c: Include elf/mmix.h.
2218 (guess_is_rela): MMIX is RELA.
2219 (dump_relocations): Handle MMIX relocations.
2220 * Makefile.am: Regenerate dependencies.
2221 * Makefile.in: Regenerate.
2222
f662939a
NC
22232001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2224
2225 * readelf.c (parse_args): Handle multiple options to the -w
2226 switch.
2227
c91d0dfb
JJ
22282001-10-12 Jakub Jelinek <jakub@redhat.com>
2229
2230 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2231 LOPROC, LOOS and LOUSER.
2232
7559e86e 22332001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2234
2235 * MAINTAINERS: Update my email address.
2236
fcd8210c
AM
22372001-10-03 Alan Modra <amodra@bigpond.net.au>
2238
2239 * doc/Makefile.in: Regenerate.
2240 * configure: Regenerate.
2241
428409d5
NC
22422001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2243
2244 * readelf.c (display_debug_line, display_debug_pubnames,
2245 display_debug_info, display_debug_frames): Detect and warn
2246 about 64-bit format entries.
2247 (display_debug_aranges): Reword 64-bit warning.
2248 (debug_displays): Add .debug_pubtypes as a known, but not yet
2249 supported, debug section.
2250
6a8c2b0d
AM
22512001-10-02 Alan Modra <amodra@bigpond.net.au>
2252
2253 * coffdump.c (PROGRAM_VERSION): Delete.
2254 (main <'V'>): Call print_version.
2255 * srconv.c: Likewise.
2256 * sysdump.c: Likewise.
2257 * version.c (program_version): Remove.
2258 (print_version): Use BFD_VERSION_STRING. Just print the current
2259 year in copyright message.
2260 * addr2line.c (program_version): Remove unused declaration.
2261 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2262 place of BFD_VERSION.
2263 * Makefile.am (Makefile): Depend on bfd/configure.in.
2264 (cplus-dem.o): Depend on Makefile.
2265 Run "make dep-am".
2266 * Makefile.in: Regenerate.
2267
e414a165
NC
22682001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2269
2270 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2271 format .debug_arange sections.
2272 (main): Add missing prototype.
b8908f93 2273
efc3ee7f
HPN
22742001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2275
2276 * Makefile.am: Update dependencies with "make dep-am".
2277 * Makefile.in: Regenerate.
2278
9e85c2a0
RH
22792001-09-28 Richard Henderson <rth@redhat.com>
2280
2281 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2282
451dad9c
AM
22832001-09-26 Alan Modra <amodra@bigpond.net.au>
2284
2285 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2286 VA_CLOSE.
2287 (non_fatal): Likewise.
2288 * objdump.c (objdump_sprintf): Likewise.
2289 * readelf.c (error): Likewise.
2290 (warn): Likewise.
2291
d974e256
JJ
22922001-09-25 Jakub Jelinek <jakub@redhat.com>
2293
2294 * readelf.c (do_wide): New.
2295 (options): Add --wide.
2296 (usage, parse_args): Likewise.
2297 (process_program_headers): Put each segment on a single line if
2298 --wide is given.
2299 (process_section_headers): Put each section on a single line if
2300 --wide is given.
2301 * doc/binutils.texi: Document it.
2302 * NEWS: Likewise.
2303
2f11c261
AM
23042001-09-25 Alan Modra <amodra@bigpond.net.au>
2305
2306 * readelf.c (print_vma): Print 8 digits of low hex value.
2307
1d50f91e
AJ
23082001-09-24 Andreas Jaeger <aj@suse.de>
2309
2310 * nlmconv.c: Fix warnings about unused attributes and function
2311 prototypes.
2312
2313 * strings.c: Add prototype for get_char.
2314
38131e67
L
23152000-09-19 H.J. Lu <hjl@gnu.org>
2316
2317 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2318 $(srcdir)/cxxfilt.man.
2319 * doc/Makefile.in: Rebuild.
2320
3bcfb3e4
AM
23212001-09-19 Alan Modra <amodra@bigpond.net.au>
2322
2323 * objcopy.c (copy_main): Correct rename-section string parsing.
2324 Consolidate new_name parsing, and error messages.
2325
3882b010
L
23262001-09-18 Bruno Haible <haible@clisp.cons.org>
2327
2328 * addr2line.c: Don't include <ctype.h>.
2329 (main): For gettext, also set the LC_CTYPE locate facet.
2330 * ar.c (main): Likewise.
2331 * coffdump.c (main): Likewise.
2332 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2333 (main): For gettext, also set the LC_CTYPE locate facet.
2334 Use ISALNUM instead of isalpha/isdigit.
2335 * dllwrap.c: Don't include <ctype.h>.
2336 (main): For gettext, also set the LC_CTYPE locate facet.
2337 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2338 (main): For gettext, also set the LC_CTYPE locate facet.
2339 Use TOUPPER instead of islower/toupper.
2340 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2341 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2342 Use TOUPPER instead of islower/toupper.
2343 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2344 * objcopy.c (main): Likewise.
2345 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2346 (disassemble_bytes): Use ISPRINT instead of isprint.
2347 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2348 (dump_data): Use ISPRINT instead of isprint.
2349 (main): For gettext, also set the LC_CTYPE locate facet.
2350 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2351 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2352 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2353 Use TOUPPER instead of islower/toupper.
2354 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2355 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2356 (write_rc_accelerators): Use ISPRINT instead of isprint.
2357 (write_rc_rcdata): Likewise.
2358 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2359 * srconv.c (main): Likewise.
2360 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2361 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2362 isdigit/isupper/islower.
2363 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2364 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2365 stab_demangle_prefix, stab_demangle_qualified,
2366 stab_demangle_template, stab_demangle_type,
2367 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2368 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2369 (isgraphic): Use ISPRINT instead of isascii/isprint.
2370 (main): Remove HAVE_LC_MESSAGES dependency.
2371 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2372 (pbarray): Use ISPRINT instead of isprint.
2373 (main): For gettext, also set the LC_CTYPE locate facet.
2374 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2375 (format_from_filename): Use ISPRINT instead of isprint.
2376 (main): For gettext, also set the LC_CTYPE locate facet.
2377 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2378 (unicode_print): Use ISPRINT instead of isprint.
2379 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2380 (stab_variable): Use ISDIGIT instead of isdigit.
2381
e59b4dfb
AM
23822001-09-18 Alan Modra <amodra@bigpond.net.au>
2383
2384 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2385 Replace bfd_read call with call to bfd_bread.
2386 (extract_file): Likewise.
2387
2388 * objdump.c (dump_section_header): Cast section->filepos to
2389 unsigned long to suit printf format string.
2390 * readelf.c (process_section_headers): Similarly for sh_offset.
2391 (process_unwind): Likewise.
2392
d132876a
NC
23932001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2394
2395 * strings.c (encoding, encoding_bytes): New variables.
2396 (long_options): Add --encoding.
2397 (main): Accept -e and --encoding.
2398 (get_char): New function. Read a, possibly wide, character from
2399 the input stream.
2400 (print_strings): Use get_char().
2401 (usage): Document new command line option.
2402 * doc/binutils.texi: Document new command line option.
2403 * NEWS: Announce new command line option.
2404
7559e86e 24052001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2406
2407 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2408 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2409 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2410 Removed EM_CYGNUS_ARC.
2411
7559e86e 24122001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2413
2414 * readelf.c: Include elf/h8 for H8 series definitions.
2415 (guess_is_rela): H8 series if RELA.
2416 (dump_relocations): Handle H8 series relocations.
2417
0823fbca
EC
24182001-08-31 Eric Christopher <echristo@redhat.com>
2419
2420 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2421
8db76d70
PT
24222001-08-29 Peter Targett <peter.targett@arccores.com>
2423
2424 * MAINTAINERS: Include ARC Maintainer.
2425
d81d6584
BE
24262001-08-29 Ben Elliston <bje@redhat.com>
2427
2428 * stabs.c (stab_demangle_template): Initialise s4.
2429
25a1ff5b
AM
24302001-08-27 Alan Modra <amodra@bigpond.net.au>
2431
2432 * readelf.c (dump_relocations): Recognise EM_PPC64.
2433
a5d22d2a
TS
24342001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2435
2436 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2437
62a5a82d
L
24382001-08-25 H.J. Lu <hjl@gnu.org>
2439
2440 * nm.c (print_width): New.
2441 (display_rel_file): Set `print_width' according to
2442 bfd_sprintf_vma.
2443 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2444
1ae8b3d2
AO
24452001-08-24 Alexandre Oliva <aoliva@redhat.com>
2446
2447 * objcopy.c (use_alt_mach_code): New variable.
2448 (OPTION_ALT_MACH_CODE): Define.
2449 (copy_options): Added --alt-machine-code.
2450 (copy_main): Handle it.
2451 (copy_object): Switch to alternate machine code if requested.
2452 * doc/binutils.texi: Document new option.
2453 * NEWS: Likewise.
2454
d1bdd336
TS
24552001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2456
2457 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2458
410f7a12
L
24592001-08-21 H.J. Lu <hjl@gnu.org>
2460
2461 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2462 (display_debug_info): Cast for 64bit hosts.
2463 (display_debug_frames): Likewise.
2464 (process_mips_specific): Likewise.
2465
c32144ff
AJ
24662001-08-21 Andreas Jaeger <aj@suse.de>
2467
2468 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2469
2470 * sysdump.c: Add missing prototypes.
2471 * srconv.c: Likewise.
2472 * unwind-ia64.c: Likewise.
2473 * coffdump.c: Likewise.
2474
2475 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2476
2477 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2478 of declaring xcalloc.
2479
d8180c76
L
24802001-08-10 H.J. Lu <hjl@gnu.org>
2481
2482 * nm.c (print_value): Add one arg, bfd *.
2483 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2484 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2485 (print_symbol_info_sysv): Likewise.
2486 (print_symbol_info_posix): Likewise.
2487
2488 * objdump.c (dump_section_header): Replace printf_vma with
2489 bfd_printf_vma.
2490 (print_section_stabs): Likewise.
2491 (dump_bfd_header): Likewise.
2492 (objdump_print_value): Replace sprintf_vma with
2493 bfd_sprintf_vma.
2494 (disassemble_bytes): Likewise.
2495 (dump_reloc_set): Likewise.
2496
0218d1e4
AJ
24972001-08-10 Andreas Jaeger <aj@suse.de>
2498
2499 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2500 to build warnings.
2501 * configure: Regenerate.
2502
2863d58a
AM
25032001-08-09 Alan Modra <amodra@bigpond.net.au>
2504
2505 * readelf.c: Add missing prototypes.
2506 * objdump.c: Likewise. Format existing prototypes.
2507
c0e047e0
AO
25082001-08-08 Alexandre Oliva <aoliva@redhat.com>
2509
2510 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2511 of any RELA relocation for the abbrev_offset memory location that
2512 refers to the .debug_abbrev section symbol.
2513
ff78d6d6
L
25142001-08-07 H.J. Lu <hjl@gnu.org>
2515
2516 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2517 (main): Return process_file ().
2518
c36774d6
PB
25192001-08-05 Philip Blundell <philb@gnu.org>
2520
2521 * doc/binutils.texi: Use "Thumb" not "THUMB".
2522
8f9d9bd9
JH
25232001-08-03 John Healy <jhealy@redhat.com>
2524
bb279dc0
ZW
2525 Patch suggested by Frank Eigler <fche@redhat.com>.
2526 * objdump.c (disassemble_data): Fill in section member of the
2527 disasm_info structure.
8f9d9bd9 2528
c918cb96
DD
25292001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2530
2531 * configure.in: Added --with-windres option.
2532 * configure: Regenerated.
2533
c7c55b78
NC
25342001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2535
2536 * doc/binutils.texi: Use @command{name} for commands;
2537 use @option{-opt} for options; use @table @env for list of options;
2538 remove spaces arround [ | ] in synopsis.
2539
2540 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2541 center title.
2542
594ef5db
NC
25432001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2544
bb279dc0
ZW
2545 * objcopy.c: Fix formatting.
2546 (section_rename): New structure.
2547 (OPTION_RENAME_SECTION): New switch.
2548 (copy_usage): Document new switch.
2549 (add_section_rename): New function: Add a node to the section
2550 rename list.
2551 (find_section_rename): New function: Find the new name and
2552 flags for a section.
2553 (setup_section): Call find_section_name to determine the name
2554 of the output section.
2555 (copy_main): Handle OPTION_RENAME_SECTION.
2556 * binutils.texi: Document new switch.
594ef5db
NC
2557 * NEWS: Mention new switch.
2558
1f554c69
NC
25592001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2560
2561 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2562 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2563 bug-binutils@gcc.org.
2564
2f83960e
AM
25652001-07-28 Matthias Kramm <kramm@quiss.org>
2566
2567 * bucomm.c (list_supported_architectures): New function.
2568 * bucomm.h (list_supported_architectures): Declare.
2569 * objdump.c (usage): Call the above.
2570
20fe0649
DB
25712001-07-25 Dave Brolley <brolley@redhat.com>
2572
2573 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2574 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2575
1b577b00
NC
25762001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2577
2578 * README: Update for 2.11. Change bug reporting email address.
2579 * MAINTAINERS: Tidy up. Change bug reporting email address.
2580
95fd336c
DD
25812001-07-16 DJ Delorie <dj@redhat.com>
2582
5f16d855
DD
2583 * resres.c (write_res_header): Align header size.
2584 (res_align_file): Calculate alignment correctly.
2585
95fd336c
DD
2586 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2587 correct 10).
2588 * resrc.c (write_rc_resource): Likewise.
2589 * windres.h (SUBLANG_SHIFT): Define - as 10.
2590
ed8fee27
NC
25912001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2592
2593 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2594
90ab7e9a
NC
25952001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2596
2597 * MAINTAINERS: Add notes about branch checkins.
2598
e0c60db2
NC
25992001-07-05 Daniel Berlin <dan@cgsoftware.com>
2600
2601 * readelf.c (display_debug_macinfo): New function, display
2602 .debug_macinfo section.
2603 (do_debug_macinfo): New variable.
2604 (parse_args): Handle "-w[mM]" to mean display macro info.
2605 (process_section_headers): Handle debug_macinfo.
2606 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2607 function for .debug_macinfo display.
e0c60db2
NC
2608 * doc/binutils.texi: Document new command line switch.
2609 * NEWS: Document new feature of readelf.
0218d1e4 2610
24e01a36
L
26112001-07-05 H.J. Lu <hjl@gnu.org>
2612
2613 * objcopy.c (filter_symbols): Don't turn undefined symbols
2614 into local.
2615
4258bf4d
L
26162001-07-03 H.J. Lu <hjl@gnu.org>
2617
2618 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2619 $@.pod.
2620 (ar.1): Likewise.
2621 (dlltool.1): Likewise.
2622 (nlmconv.1): Likewise.
2623 (nm.1): Likewise.
2624 (objcopy.1): Likewise.
2625 (objdump.1): Likewise.
2626 (ranlib.1): Likewise.
2627 (readelf.1): Likewise.
2628 (size.1): Likewise.
2629 (strings.1): Likewise.
2630 (strip.1): Likewise.
2631 (windres.1): Likewise.
2632 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2633 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2634 $(DEMANGLER_NAME).
2635 (as.1): Removed.
2636 * doc/Makefile.in: Regenerated.
2637
7014bc31
NC
26382001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2639
2640 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2641
b811889f
NC
26422001-07-01 Daniel Berlin <dan@cgsoftware.com>
2643
2644 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2645
12ab83a9
NC
26462001-06-29 James Cownie <jcownie@etnus.com>
2647
2648 * readelf.c: Support DWARF 2.1 attributes.
2649
a6e9f9df
AM
26502001-06-28 Alan Modra <amodra@bigpond.net.au>
2651
2652 * readelf.c (GET_DATA_ALLOC): Remove.
2653 (GET_DATA): Remove.
2654 (get_data): New function combining above macros, with an extra
2655 test for zero size.
2656 (slurp_rela_relocs): Use get_data, and catch error return.
2657 (slurp_rel_relocs): Likewise.
2658 (get_32bit_program_headers): Likewise.
2659 (get_64bit_program_headers): Likewise.
2660 (get_32bit_section_headers): Likewise.
2661 (get_64bit_section_headers): Likewise.
2662 (get_32bit_elf_symbols): Likewise.
2663 (get_64bit_elf_symbols): Likewise.
2664 (process_section_headers): Likewise.
2665 (process_relocs): Likewise.
2666 (slurp_ia64_unwind_table): Likewise.
2667 (process_unwind): Likewise.
2668 (get_32bit_dynamic_segment): Likewise.
2669 (get_64bit_dynamic_segment): Likewise.
2670 (process_dynamic_segment): Likewise.
2671 (process_version_sections): Likewise.
2672 (process_symbol_table): Likewise.
2673 (dump_section): Likewise.
2674 (display_debug_info): Likewise.
2675 (display_debug_section): Likewise.
2676 (process_section_contents): Likewise.
2677 (process_corefile_note_segment): Likewise.
2678 (process_mips_specific): Likewise. Also free econf32, econf64.
2679
af3fc3bc
AM
26802001-06-25 Alan Modra <amodra@bigpond.net.au>
2681
2682 * readelf.c (dump_relocations): Print "bad symbol index" if
2683 symtab == NULL with non-zero symtab_index.
2684 (process_relocs): Don't bomb if reloc section has no symsec.
2685
6d900bf6
L
26862001-06-24 H.J. Lu <hjl@gnu.org>
2687
2688 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2689 by accident.
2690 (copy_main): Apply the the change made to strip_main on
2691 2001-05-30 by accident.
2692
49b4e386
AJ
26932001-06-23 Andreas Jaeger <aj@suse.de>
2694
2695 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2696 parameter 'code'.
2697 (unw_decode_x2): Likewise.
2698 (unw_decode_x3): Likewise.
2699 (unw_decode_x4): Likewise.
2700
d8dc71e3
BE
27012001-06-23 Ben Elliston <bje@redhat.com>
2702
2703 * MAINTAINERS: Add myself as M88k maintainer.
2704
af3bdff7
NC
27052001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2706
2707 * objcopy.c (strip_main): Support -o or --output-file command lien
2708 switch.
2709
105e7211
L
27102001-06-19 H.J. Lu <hjl@gnu.org>
2711
2712 * doc/Makefile.in: Regenerated.
2713
c45021f2
NC
27142001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2715
2716 * readelf.c: Restore formatting.
2717
27182001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2719
bb279dc0
ZW
2720 * Makefile.am: Move documentation into doc subdirectory.
2721 * Makefile.in: Regenerated.
c45021f2 2722 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2723 * addr2line.1: Removed.
2724 * ar.1: Likewise.
2725 * dlltool.1: Likewise.
2726 * nlmconv.1: Likewise.
2727 * nm.1: Likewise.
2728 * objcopy.1: Likewise.
2729 * objdump.1: Likewise.
2730 * ranlib.1: Likewise.
2731 * readelf.1: Likewise.
2732 * size.1: Likewise.
2733 * strings.1: Likewise.
2734 * strip.1: Likewise.
2735 * windres.1: Likewise.
2736 * cxxfilt.man: Likewise.
c45021f2
NC
2737 * doc: New Directory.
2738 * doc/Makefile.am: New file.
2739 * doc/Makefile.in: Generate.
2740
09ad7db3
AM
27412001-06-09 Alan Modra <amodra@bigpond.net.au>
2742
2743 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2744
936260fe
AM
27452001-06-01 Alan Modra <amodra@bigpond.net.au>
2746
2747 * MAINTAINERS: Update my email address.
2748
16b2b71c
NC
27492001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2750
2751 * objcopy.c: Add new switches: --keep-global-symbol,
2752 --keep-symbols, --localize-symbols, --keep-global-symbols and
2753 --weaken-symbols.
2754 * binutils.texi: Document new switches.
2755 * objcopy.1: Regenerate.
2756 * NEWS: Announce new feature.
2757
7036c0e1
AJ
27582001-05-28 Andreas Jaeger <aj@suse.de>
2759
2760 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2761 variables, fix format strings.
2762
76a406e5
NC
27632001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2764
2765 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2766 when computing the address of the line to show.
2767
31b6fca6
RH
27682001-05-16 Richard Henderson <rth@redhat.com>
2769
2770 * readelf.c (do_debug_frames_interp): New.
2771 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2772 (byte_get_big_endian): Likewise.
2773 (parse_args) ['F']: Set do_debug_frames_interp.
2774 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2775 (frame_display_row): Don't trunc pc_begin to int.
2776 (size_of_encoded_value): New.
2777 (display_debug_frames): Handle 64-bit targets. Print raw data
2778 unless do_debug_frames_interp.
2779 (debug_displays): Remove duplicate .debug_frame.
2780
4fe85591
NC
27812001-05-15 Ralf Baechle <ralf@gnu.org>
2782
2783 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2784 The former constant was never in active use and is used otherwise
2785 by the ABI.
2786
579f31ac
JJ
27872001-05-11 Jakub Jelinek <jakub@redhat.com>
2788
2789 * readelf.c (process_unwind): Print all unwind sections, not just
2790 one.
2791
78f4a3f7
AM
27922001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2793
2794 * readelf.c (process_unwind): Remove const specifier.
2795
1c529ca6
NC
27962001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2797
2798 * strings.c (isgraphic): Do not use isascii() unless it is needed
2799 for isprint() to work.
2800 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2801
87e6d782
NC
28022001-04-27 Johan Rydberg <jrydberg@opencores.org>
2803
bb279dc0 2804 * NEWS: Announce support for OpenRISC.
87e6d782 2805
4bd3d870 28062001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2807
2808 * dlltool.c (do_default_excludes): Initialise to true.
2809
21211521
AM
28102001-04-10 Alan Modra <amodra@one.net.au>
2811
2812 * MAINTAINERS: Update my email address
2813 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2814
0c66b61e 28152001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2816
2817 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2818
e58d53af
L
28192001-03-30 H.J. Lu <hjl@gnu.org>
2820
2821 * readelf.c (process_unwind): Just return if do_unwind is 0.
2822
bee72332
DD
28232001-03-28 Roger Sayle <roger@metaphorics.com>
2824
2825 * dlltool.c (make_one_lib_file): Fix section flags for
2826 .text, .data and .bss in stub ds*.o files to match those
2827 generated by gas.
2828
f1467e33
L
28292001-03-29 H.J. Lu <hjl@gnu.org>
2830
2831 * readelf.c (process_unwind): Only do unwind sections for
2832 IA64.
2833
1c6fb4fe
L
28342001-03-28 H.J. Lu <hjl@gnu.org>
2835
2836 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2837 * Makefile.in: Regenerate.
2838
0879a67a
AJ
28392001-03-26 Andreas Jaeger <aj@suse.de>
2840
2841 * binutils.texi (nm): Fix texi syntax.
2842
0285c67d
NC
28432001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2844
2845 * binutils.texi: Put @c man begin and @c man end indications
2846 to generate man pages using texi2pod and pod2man. Put @c man title
2847 to identify each man. Add SEEALSO entries.
2848 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2849 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2850 sort the list.
2851 (*.1): Build the man pages from binutils.texi.
2852 * Makefile.in: Regenerate.
2853
04847a4d
CF
28542001-03-13 Eric Kohl <ekohl@rz-online.de>
2855
2856 * defparse.y (opt_equal_name): allow "." in name.
2857 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2858 (gen_exp_file): Likewise.
2859
43a0748c
NC
28602001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2861
2862 * NEWS: Document addition of -B switch to objcopy.
2863 * binutils.texi: Document addition of -B switch to objcopy.
2864 * objcopy.c: (copy_options): Add --binary-architecture.
2865 (copy_usage): Document -B/--binary-architecture.
2866 (copy_main): Support -B/--binary-architecture. Set
2867 bfd_external_binary_architecture.
0879a67a 2868
b7498e0e
NC
28692001-03-11 Andreas Jaeger <aj@suse.de>
2870
2871 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2872 (dump_relocations): Likewise.
2873 (get_machine_name): Likewise.
2874
a59e3bd7
NC
28752001-02-28 Nick Clifton <nickc@redhat.com>
2876
2877 * readelf.c: (struct unw_aux_info): Remove const modifier for
2878 'strtab' field.
2879 (process_unwind): Remove non-K&R compliant LHS type cast in call
2880 to GET_DATA_ALLOC macro.
2881
a5bcd848
PB
28822001-02-28 Philip Blundell <pb@futuretv.com>
2883
2884 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2885 ABI is in use; remove ambiguity between the "unknown" EABI and
2886 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2887 renamed EF_xx constants.
2888
27b7e12d
AM
28892001-02-27 Alan Modra <alan@linuxcare.com.au>
2890
2891 * configure.in (BFD_VERSION): New.
2892 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2893 * configure: Regenerate.
2894 * Makefile.am: Run "make dep-am"
2895 * Makefile.in: Regenerate.
2896
a9f10786
NC
28972001-02-14 Nick Clifton <nickc@redhat.com>
2898
2899 * MAINTAINERS: Add "Obvious Fix" rule.
2900
3c44da9a
MS
29012001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2902
2903 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2904 literal concatenation.
2905
ecd03389
MS
29062001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2907
2908 * readelf.c (struct unw_aux_info): Remove const from the info member.
2909 (process_unwind): Don't type-cast the third argument to the
2910 GET_DATA_ALLOC macro.
2911
88ec60c7
NC
29122001-02-11 Nick Clifton <nickc@redhat.com>
2913
2914 * readelf.c (dump_relocations): Free corrected allocated
2915 array.
2916 (process_unwind): Fix compile time warning.
2917
f5e21966
NC
29182001-02-10 Nick Clifton <nickc@redhat.com>
2919
2920 * binutils.texi: Document new --unwind option to readelf.
2921
a85d7ed0
NC
29222001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2923
2924 * readelf.c: Add linux target for S/390.
2925
7bb10502
AM
29262001-02-10 Alan Modra <alan@linuxcare.com.au>
2927
2928 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2929 printf is a macro.
2930
8ca8f343
HPN
29312001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2932
2933 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2934 * aclocal.m4: Regenerate.
2935 * configure: Regenerate.
2936
7340082d
NC
29372001-02-07 Todd Vierling <tv@wasabisystems.com>
2938
2939 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2940 * objdump.c (bfd_target_vector): Likewise.
2941
4d6ed7c8
NC
29422001-02-07 David Mosberger <davidm@hpl.hp.com>
2943
2944 * readelf.c (process_unwind): New function.
2945 (slurp_ia64_unwind_table): Ditto.
2946 (dump_ia64_unwind): Ditto.
2947 (find_symbol_for_address): Ditto.
2948 (slurp_rela_relocs): New function (split off from dump_relocations()).
2949 (slurp_rel_relocs): Ditto.
2950 (parse_args): Handle '-u' option.
2951
2952 * unwind-ia64.c: New file.
2953 * unwind-ia64.h: New file.
2954 * Makefile.am: Include unwind-ia64.c in readelf build.
2955 * Makefile.in: Regenerate.
7340082d 2956 * po/binutils.pot: Regenerate.
4d6ed7c8 2957
c7217458
PB
29582001-02-04 Philip Blundell <philb@gnu.org>
2959
2960 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2961 * configure: Regenerate.
2962
956eedd4
AM
29632001-01-31 Steve deRosier <sderosier@vari-lite.com>
2964
2965 * ieee.c (ieee_add_bb11): Don't check for backslashes
2966 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2967
8855cbca
AM
29682001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2969
c7f2731e
AM
2970 * ieee.c: Update copyright.
2971 (ieee_start_compilation_unit): Don't check for backslashes
2972 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2973
8855cbca
AM
2974 * stabs.c: Update copyright. Include "filenames.h".
2975 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2976
329de803 29772001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2978
2979 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2980 sections are present before using them. Remove code duplication.
2981 (process_symbol_table): Check if VERDEF or VERNEED sections are
2982 present before using them.
2983
23719f39
NC
29842001-01-17 Nick Clifton <nickc@redhat.com>
2985
2986 * objcopy.c (copy_object): Fail if attempting to convert the
2987 endianness of the input object file.
2988
2989 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2990
f726e849
NC
29912001-01-16 Nick Clifton <nickc@redhat.com>
2992
2993 * readelf.c (string_table_length): New variable.
2994 (SECTION_NAME): Catch out of range indices and missing section
2995 pointers.
2996 (process_section_headers): Delete useless local variable
2997 string_table_offset. Set the value of string_table_length
2998 after loading the string table.
2999 (process_mips_specific): Use SECTION_NAME macro.
3000 (process_file): Set string_table_length to 0 when it is freed.
3001
d0398d6a
NC
30022001-01-12 Nick Clifton <nickc@redhat.com>
3003
3004 * version.c (print_version): Update copyright date.
3005
0d2bcfaf
NC
30062001-01-11 Peter Targett <peter.targett@arccores.com>
3007
3008 * readelf.c (dump_relocations): Include selection with EM_ARC.
3009 (get_machine_name) Update name to "ARC".
3010
8b1e6df3
NC
30112001-01-09 Nick Clifton <nickc@redhat.com>
3012
3013 * Makefile.am: Add rule to build objdump.o from objdump.c and
3014 using OBJDUMP_DEFS.
3015 * Makefile.in: Regenerate.
3016
3017 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3018 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3019 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 3020 * configure: Regenerate.
8b1e6df3
NC
3021
3022 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3023 is defined read in the relocs even if dump_reloc_info is
3024 false.
3025
2f952d20
PB
30262001-01-07 Philip Blundell <philb@gnu.org>
3027
3028 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3029 `bug-binutils'.
3030 * README: Likewise.
3031
a8c548cb
NC
30322000-12-19 Nick Clifton <nickc@redhat.com>
3033
3034 * dlltool.c: Add missing support for arm-epoc-pe.
3035 * configure.in: Add missing support for arm-epoc-pe.
3036 * configure: Regenerate.
3037
cc5fda35
NC
30382000-12-15 Nick Clifton <nickc@redhat.com>
3039
3040 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3041 Mode parts of the x86 port.
3042
bcedfee6
NC
30432000-12-04 Andreas Jaeger <aj@suse.de>
3044
3045 * readelf.c (guess_is_rela): Add EM_X86_64.
3046 (dump_relocations): Add EM_X86_64.
3047 (get_machine_name): Add EM_X86_64.
3048 Include "elf/x86-64.h".
3049
584da044
NC
30502000-12-12 Nick Clifton <nickc@redhat.com>
3051
3052 * readelf.c: Fix formatting.
3053
7559e86e 30542000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3055
3056 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3057
a98cc2b2
AH
30582000-12-07 Andrew Haley <aph@redhat.com>
3059
3060 * readelf.c (display_debug_frames): Only display columns that are
3061 referenced by the frame debug info.
3062
c7987a69
NC
30632000-12-05 Nick Clifton <nickc@redhat.com>
3064
3065 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3066
09fd7e38
JM
30672000-12-04 Jason Merrill <jason@redhat.com>
3068
3069 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3070 (display_debug_section): Likewise.
3071 (display_debug_info): Display CU header before bailing.
3072
e7af610e
NC
30732000-12-01 Chris Demetriou <cgd@sibyte.com>
3074
09fd7e38
JM
3075 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3076 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3077 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 3078
09fd7e38
JM
3079 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3080 and E_MIPS_ARCH_64.
84ea6cf2 3081
09fd7e38
JM
3082 * readelf.c (get_machine_flags): Add case for
3083 E_MIPS_MACH_SB1.
c6c98b38 3084
75066968
DD
30852000-11-30 Richard Earnshaw <rearnsha@arm.com>
3086
3087 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3088
5c4666ea
HPN
30892000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3090