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