Allow two to five parameter in FONT statement of DIALOGEX resources.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
45b99827
NC
12002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * resrc.c (write_rc_dialog): If charset is non-default value
4 display all of the DIALOGEX parameters.
5
62002-04-15 Eric Kohl <ekohl@rz-online.de>
7
8 * rcparse.y: Allow two to five parameter in FONT statement of
9 DIALOGEX resources.
10 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
11 resource data.
12 (res_to_bin_dialog): Likewise.
13 * windres.h: Added misssing charset variable to dialog_ex
14 structure.
15
acfbab8a
NC
162002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
17
18 * rcparse.y: Set MEMFLAG_PURE by default.
19
df3baf66
NC
202002-04-09 Bernd Herd <info@herdsoft.com>
21
22 * rcparse.y: CLASS definitions in DIALOG resources
23 are quoted.
4c30641a 24 Fix typo in BEDIT warning.
91eafb40 25 Don't add default dialog style when explicit style specified.
b62a12ca 26 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 27
b24eb5ac
NC
28 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
29 (handle_quotes) "\a" escape (used for right justified key
30 definitions in menus) is encodes as binary 8.
df3baf66 31
b24eb5ac
NC
32 * resrc.c (write_rc_dialog): Print style even if it is 0.
33 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 34 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 35
b24eb5ac
NC
36 * resbin.c (bin_to_res_dialog): Use signature to identify
37 DIALOGEX.
f7d63484 38
b24eb5ac 39 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 40
df3baf66
NC
412002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
42
43 * resrc.c: print CLASS names in quotes
44
452002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
46
47 * MAINTAINERS: Update my email address.
48
8e42bcb6
AM
492002-04-04 Alan Modra <amodra@bigpond.net.au>
50
51 * dep-in.sed: Cope with absolute paths.
52 * Makefile.am (dep.sed): Subst TOPDIR.
53 Run "make dep-am".
54 * Makefile.in: Regenerate.
55
96f959e5
PT
562002-03-27 Peter Targett <peter.targett@arc.com>
57
58 * MAINTAINERS: Update my email address.
59
1ea788ee
AM
602002-03-21 Alan Modra <amodra@bigpond.net.au>
61
62 * Makefile.am: Run "make dep-am".
63 * Makefile.in: Regenerate.
64 * doc/Makefile.in: Regenerate.
65 * po/POTFILES.in: Regenerate.
66 * aclocal.m4: Regenerate.
67 * config.in: Regenerate.
68 * configure: Regenerate.
69
a2f14207
DB
702002-03-20 Daniel Berlin <dan@dberlin.org>
71
72 * readelf.c: Add support for displaying dwarf2 location lists.
73 (do_debug_loc, debug_loc_section, debug_loc_size): New.
74 (parse_args): Use 'O' as shorthand for displaying location list
75 section.
76 (process_section_headers): Handle debug_loc as well.
77 (load_debug_loc): New.
78 (free_debug_loc): New.
79 (fetch_location_list): New.
80 (display_debug_loc): New.
81 (display_debug_info): Call load_debug_loc and free_debug_loc.
82 (debug_displays): We can display .debug_loc now, too.
83 (usage): Update usage string.
84 (read_and_display_attr_value): Note location lists, but don't
85 display them inline.
86
eb1e0e80
NC
872002-03-18 Tom Rix <trix@redhat.com>
88
89 * Makefile.am: Add binutils emulation support.
90 * configure.in: Same.
91 * configure.tgt: New file. Same.
92 * ar.c (main): Use ar_emul_parse_arg.
93 (usage): Use ar_emul_usage.
94 (replace_members): Use ar_emul_replace, ar_emul_append.
95 * binemul.c: New file. Define the binutils emulation
96 layer. Define default methods.
97 * binemul.h: New file. Binutils emulation layer header file.
98 * emul_aix.c: New file. AIX binutils emulation.
99 * emul_vanilla.c: New file. Default binutils emulation.
100 * Makefile.in: Regenerate.
101 * configure: Same.
102
a1c259a1
NC
1032002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
104
105 * po/fr.po: Updated version.
106
9ce88e60
NC
1072002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
108
109 * po/fr.po: Updated version.
110
effb0601
DJ
1112002-03-07 Daniel Jacobowitz <drow@mvista.com>
112
113 * README: Update some version numbers.
114
a65688ab
DJ
1152002-03-07 Daniel Jacobowitz <drow@mvista.com>
116
117 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
118 (Architecture Selection): Likewise.
119
f3f7fbb2
NC
1202002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
121
122 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
123 generating .exp file.
124
25345be5
NC
1252002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
126
127 * readelf.c (dump_relocations): Fix typo.
128
9a66911f
NC
1292002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
130
131 * NEWS: Mark 2.12 branch.
132
2c71103e
NC
1332002-02-18 Timothy Daly <remote_bob@yahoo.com>
134
135 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
136 types for 64-bit MIPS. Narrow some fields for 80-char
137 output.
138 (dump_relocations): Change spelling from 'unrecognised'
139 to 'unrecognized'.
140 (decode_ARM_machine_flags): Likewise.
141 (parse_args): Likewise.
142 (read_and_display_attr_value): Likewise.
143 (display_debug_section): Likewise.
144
49fda6c8
HPN
1452002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
146
147 * NEWS: Mention support for MMIX.
148
76f57f3a
JT
1492002-02-13 Matt Fredette <fredette@netbsd.org>
150
151 * readelf.c (get_machine_flags): Recognize EF_M68000.
152
d36ca9c2
AO
1532002-02-12 Alexandre Oliva <aoliva@redhat.com>
154
155 * MAINTAINERS: Added self as MN10300 co-maintainer.
156
19397422
AM
1572002-02-12 Alan Modra <amodra@bigpond.net.au>
158
159 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
160 DT_PPC64_OPDSZ.
161
d434e574
DJ
1622002-02-11 Daniel Jacobowitz <drow@mvista.com>
163
164 * MAINTAINERS: List myself as branch maintainer.
165
12b87c89
AM
1662002-02-11 Alan Modra <amodra@bigpond.net.au>
167
168 * configure: Regenerate.
169 * objcopy.c: Update copyright date.
170 * doc/Makefile.in: Regenerate.
171
8d037c5c
DJ
1722002-02-10 Daniel Jacobowitz <drow@mvista.com>
173
174 * nlmconv.c: Back out localtime PARAMS change.
175
4c168fa3
AM
1762002-02-11 Alan Modra <amodra@bigpond.net.au>
177
178 * objcopy.c (MKDIR): Define.
179 (copy_archive): Make name_list.name const. Use MKDIR.
180 Handle duplicate files in archives by making more temp dirs.
181
408f8db1
DJ
1822002-02-10 Daniel Jacobowitz <drow@mvista.com>
183
184 * coffdump.c: Include "getopt.h" after "bucomm.h"
185 so that macros are defined correctly.
186 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
187 prototype. Prototype main.
188 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
189
9f77fa06
AO
1902002-02-06 Alexandre Oliva <aoliva@redhat.com>
191
192 * MAINTAINERS: Added self as SH co-maintainer.
193
82f6addb
NC
1942002-02-05 Nick Clifton <nickc@redhat.com>
195
196 * po/tr.po: Updated translation.
197
ba323545
AM
1982002-02-01 Alan Modra <amodra@bigpond.net.au>
199
200 * Makefile.am: Run "make dep-am"
201 * Makefile.in: Regenerate.
202
3deb89d3
DJ
2032002-01-29 Daniel Jacobowitz <drow@mvista.com>
204
205 * nm.c (print_value): Mark abfd unused.
206
a0e9c55f
DJ
2072002-01-29 Daniel Jacobowitz <drow@mvista.com>
208
209 * unwind-ia64.c (unw_decoder): Change second argument
210 to unsigned int, to match function prototypes.
211
d7a283d4
DJ
2122002-01-29 Daniel Jacobowitz <drow@mvista.com>
213
214 * objdump.c: Include "getopt.h" after "bucomm.h" so that
215 __GNU_LIBRARY__ will be defined.
216 * size.c: Likewise.
217
4867be41
DJ
2182002-01-27 Daniel Jacobowitz <drow@mvista.com>
219
220 * configure: Regenerated.
221
7562a296
HPN
2222002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
223
224 * doc/Makefile.am (install): Depend on install-info.
225 * doc/Makefile.in: Regenerate.
226
15c82623
NC
2272002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
228
229 * objcopy.c (strip_usage): Document -d as an alias
230 --strip-debug.
231
232 * size.c (usage): Document [-t | --totals] options.
233 (long_options): Add --totals option.
234 (main): If the [-t | --totals] option is specified and
235 the output format is Berkeley-style, print the total
236 text, data, and bss sizes of all objects listed.
237 (print_berkeley_format): If the [-t | --totals] option
238 is specified, track the total text, data, and bss
239 sizes.
240 * doc/binutils.texi (size): Document [-t | --totals] options.
241 (strip): Document -d as an alias for --strip-debug.
242 * NEWS: Mention new feature of size.
243
00ea8601 2442002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 245
1ddbd152
NC
246 * po/fr.po: Updated version.
247 * po/es.po: Updated version.
b85cedd7 248
8b53311e
NC
2492002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
250
251 * addr2line.c (usage): Update text to provide verbose
252 description of the command line options.
253 * ar.c (usage): Update text to provide verbose
254 description of the command line options.
255 (main): Accept -h and -H when running as ranlib.
256 * coffdump.c (show_usage): Update text to provide verbose
257 description of the command line options.
258 * dlltool.c (main): Accept -H as an alias for --help.
259 * nlmconv.c (show_usage): Update text to provide verbose
260 description of the command line options.
261 * nm.c (usage): Replace OPTIONS with option(s).
262 (main): Accept -H as an alias for --help.
263 * objcopy.c (strip_main): Accept -H as an alias for --help.
264 * objdump.c (main): Accept -v as an alias for --verbose.
265 * readelf.c (usage): Adjust format to match style used in
266 other binutils.
267 * size.c (usage): Update text to provide verbose description
268 of the command line options.
269 (main): Accept -v, -h and -H as command line options.
270 * srconv.c (show_usage): Update text to provide verbose
271 description of the command line options.
272 * strings.c (main): Accept -H and -v as command line options.
273 (usage): Update text to provide verbose description of the
274 command line options.
275 * sysdump.c (show_usage): Update text to provide verbose
276 description of the command line options.
277 * windres.c (usage): Adjust format to match style used in
278 other binutils.
279
280 * coffdump.c: Fix formatting.
281 * nlmconv.c: Fix formatting.
282 * srconv.c: Fix formatting.
283 * sysdump.c: Fix formatting.
284
c46f0c34
AM
2852002-01-22 Alan Modra <amodra@bigpond.net.au>
286
287 * Makefile.am: Run "make dep-am".
288 * Makefile.in: Regenerate.
289
2a538ba5
AJ
2902002-01-18 Andreas Jaeger <aj@suse.de>
291
292 * version.c (print_version): Update year.
293
285d1771
AM
2942002-01-17 Alan Modra <amodra@bigpond.net.au>
295
296 * readelf.c (get_machine_name): Handle EM_PPC64.
297 (guess_is_rela): Here too.
298
328577ad
NC
2992002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
300
301 * po/binutils.pot: Regenerate.
302 * po/fr.po: Regenerate.
303 * po/tr.po: Regenerate.
304
af3ae48d
NC
3052002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
306
307 * po/tr.po: Import new version.
308
f1cb7e17
AM
3092002-01-16 Alan Modra <amodra@bigpond.net.au>
310
311 * readelf.c (get_ppc64_dynamic_type): New.
312 (get_dynamic_type): Call it.
313
6364e0b4
NC
3142002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
315
3ab9460d
NC
316 * objcopy.c (copy_usage): Use "options" instead of "switches".
317 (strip_usage): Use "options" instead of "switches".
318 * doc/binutils.texi (dlltool): Refer to "options" instead of
319 "switches".
6364e0b4 320
3a7e524e
RE
3212002-01-14 Richard Earnshaw <rearnsha@arm.com>
322
323 * MAINTAINERS: Add self as co-maintainer for the ARM code.
324
1209e219
NC
3252001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
326
327 * po/es.po: Import from translation project.
328 * configure.in (ALL_LINGUAS): Add es.
329 * configure: Regenerate.
330
b4db1224
JT
3312002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
332
333 * readelf.c (get_netbsd_elfcore_note_type): Use
334 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
335
9437c45b
JT
3362002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
337
338 * readelf.c: Update copyright years.
339 (get_note_type): Return a const char *.
340 (get_netbsd_elfcore_note_type): New function.
341 (process_note): Use get_netbsd_elfcore_note_type to get
342 the note type string for NetBSD ELF core files.
343
00428cca
AM
3442002-01-06 Steve Ellcey <sje@cup.hp.com>
345
346 * readelf.c (get_ia64_segment_type): Add support for macros.
347 (get_segment_type): Add support for IA64 specific macros.
348
31104126
NC
3492001-12-20 Julian v. Bock <julian@wongr.net>
350
351 * readelf.c (print_symbol): New function: Print a formatted symbol
352 name. If --wide is specified do not truncate it.
353 (dump_relocations): Use print_symbol() to print symbol names.
354 (process_symbol_table): Likewise.
355 (process_syminfo): Likewise.
356 (process_mips_specific): Likewise.
357 (usage): Document new feature of --wide switch.
358 * doc/binutils.texi (objdump): Document additional behaviour of
359 --wide.
2a538ba5 360
4dd67f29
MS
3612001-12-18 Michael Snyder <msnyder@redhat.com>
362
363 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
364 (copy_object): Don't set the start address or flags of a core file.
365 (copy_section): Don't relocate a core file. Don't copy contents
366 if the input section has the contents flag set, but the output
367 section does not (which happens with the fake 'note' pseudo-
368 sections that BFD creates for corefiles).
369
43521d43
TS
3702001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
371
372 * readelf.c (get_machine_flags): Recognize header flags for ABI and
373 ASE extensions. More robust code for ISA checking. Ignore empty fields
374 in header flags for GNU extensions.
375
b667df2e
AM
3762001-12-18 Alan Modra <amodra@bigpond.net.au>
377
378 * objcopy.c (copy_archive): Set output bfd format outside the loop.
379
17a5a5c3
NC
3802001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
381
382 * po/ja.po: Import from translation project.
383 * configure.in (ALL_LINGUAS): Add ja.
384 * configure: Regenerate.
385
65de42c0
TS
3862001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
387
388 * addr2line.c (main): Protoype.
389 * ar.c (main): Protoype.
390 * nm.c (main): Protoype.
391 * objcopy.c (main): Protoype.
392 * objdump.c (main): Protoype.
393 * size.c (main): Protoype.
394 * strings.c (main): Protoype.
395
9ad5cbcf
AM
3962001-12-17 Alan Modra <amodra@bigpond.net.au>
397
398 * readelf.c (symtab_shndx_hdr): New global.
399 (SECTION_HEADER_INDEX): Define.
400 (SECTION_HEADER_NUM): Define.
401 (SECTION_HEADER): Define.
402 (GET_ELF_SYMBOLS): Pass two params rather than three.
403 (get_32bit_elf_symbols): Take file and section args. Read and
404 use SHT_SYMTAB_SHNDX.
405 (get_64bit_elf_symbols): Likewise.
406 (dump_relocations): Use SECTION_HEADER to index "section_headers".
407 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
408 Remember symtab_shdx_hdr.
409 (process_program_headers): Scan from index 1 for segment map.
410 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
411 "section_headers".
412 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
413 (process_unwind): Likewise.
414 (process_version_sections): Likewise.
415 (process_symbol_table): Likewise.
416 (display_debug_info): Likewise.
417 (process_dynamic_segment): Fake up a symtab section for changed
418 GET_ELF_SYMBOLS.
419 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
420 (process_program_headers): Kill signed/unsigned warning.
421 (load_debug_str): Likewise.
422 (display_debug_info): Likewise.
423
65765700
JJ
4242001-12-13 Jakub Jelinek <jakub@redhat.com>
425
426 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
427
560f3c1c
AM
4282001-12-11 Alan Modra <amodra@bigpond.net.au>
429
430 * readelf.c (process_file_header): Print extended e_shnum and
431 e_shdtrndx values. Set elf_header values for same.
432 (get_32bit_section_headers): Add "num" arg to read "num" headers.
433 (get_64bit_section_headers): Likewise.
434 (process_section_headers): Update calls.
435 (get_file_header): Call get_32bit_section_headers or 64bit variant.
436
bc408b8a
JJ
4372001-12-10 Jakub Jelinek <jakub@redhat.com>
438
439 * objcopy.c (setup_section): Copy entsize.
440
93fbbb04
GK
4412001-12-07 Geoffrey Keating <geoffk@redhat.com>
442
443 * readelf.c (guess_is_rela): Add support for stormy16.
444 (dump_relocations): Likewise.
445 (get_machine_name): Likewise.
446
e3c8793a
NC
4472001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
448
449 * dllwrap.c (main) Replace multiple strings describing a
450 single error with a single, newline escaped sentence to permit
451 better translation into foreign languages.
452
453 * readelf.c (get_elf_class): Remove internalionalisation of ELF
454 class names.
455
956cd1d6
TS
4562001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
457
458 * strings.c (get_char): Initialize value.
459
956c53ee
TS
4602001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
461
462 * arlex.l: Silence compile warnings.
463 * arsup.h: Likewise. Fix formatting.
464
cedd9a58
JJ
4652001-12-04 Jakub Jelinek <jakub@redhat.com>
466
467 * strings.c: Include config.h before bfd.h.
468 (file_off): New type.
469 (file_open): Define.
470 (print_strings): Use file_off instead of file_ptr. Print addresses
471 which don't fit into long correctly.
472 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
473 available.
474 (strings_file): Use file_off instead of file_ptr. Use file_open.
475 * configure.in: Check for getc_unlocked.
476 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
477 be defined for it.
478 * configure: Rebuilt.
479 * config.h.in: Rebuilt.
480
af667503
L
4812001-11-29 H.J. Lu <hjl@gnu.org>
482
483 * bucomm.c (make_tempname): Revert the changes made on
484 2001-11-14 and 2001-11-12. They won't work with directories.
485
16474668
NC
4862001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
487
488 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
489 CFLAGS_FOR_TARGET to runtest in environment.
490 * Makefile.in: Rebuild.
491 * doc/Makefile.in: Rebuild.
492
17978339
MS
4932001-11-28 Mike Stump <mrs@wrs.com>
494
495 * objcopy.c (setup_section): Preserve SEC_RELOC when
496 --set-section-flags is used.
497
261a45ad
NC
4982001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
499
500 * readelf.c (do_debug_str): New variable.
501 (display_debug_str): New function: Display the contents of a
502 .debug_str section.
503 (load_debug_str): New function: Load in the contents of a
504 .debug_str section.
505 (free_debug_str): New function: Free the memory used by
506 load_debug_str().
507 (fetch_indirect_string): Retrieve a string from the .debug_str
508 section.
509 (usage): Add -ws.
510 (parse_args): Accept -ws.
511 (process_section_headers): Allow the display of the .debug_str
512 section.
513 (read_and_display_attr_value): Use fetch_indirect_string. Show
514 offset into .debug_str section.
515 (display_debug_info): Use load_debug_str and free_debug_str.
516 (debug_displays): Add .debug_str.
517 * doc/binutils.texi: Document -ws.
518
b8908f93
AJ
5192001-11-19 Andreas Jaeger <aj@suse.de>
520
521 * testsuite/binutils-all/objdump.exp: Add x86-64.
522
e5fb9629
AS
5232001-11-15 Andreas Schwab <schwab@suse.de>
524
525 * readelf.c: Fix warnings without terminating newline.
526
802a735e
AM
5272001-11-15 Alan Modra <amodra@bigpond.net.au>
528
529 * doc/binutils.texi (objdump): Document ppc -M options.
530
b89e9eae
AJ
5312001-11-14 Andreas Jaeger <aj@suse.de>
532
533 * doc/binutils.texi (objdump): Fix description to use x86-64.
534
a6a25652
NC
5352001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
536
537 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
538 not all systems provide mkstemp.
539
e396998b
AM
5402001-11-14 Alan Modra <amodra@bigpond.net.au>
541
542 * doc/binutils.texi (objdump): Document x86 -M options.
543
81766fca
RH
5442001-11-13 Keith Walker <keith.walker@arm.com>
545
546 * readelf.c (read_and_display_attr_value): New function to
547 handle DW_FORM_indirect.
548 (read_and_display_attr): Use it.
549
1a509dcc
GK
5502001-11-13 Geoffrey Keating <geoffk@redhat.com>
551
552 * readelf.c (display_debug_lines): Deal with unknown standard
553 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
554 DW_LNS_set_isa.
555
6e917903 5562001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 557
6e917903
TW
558 * MAINTAINERS: Add self as tic54x maintainer. This target
559 includes the IBM C54XDSP clone.
7559e86e 560
6e917903 5612001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 562
7559e86e
NC
563 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
564
5652001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 566
ecdadc4a
JL
567 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
568 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
569 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
570 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
571 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
572 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
573 (unw_decode_b2, unw_decode_b3_b4): Likewise.
574
91770270
JL
575 * readelf.c (get_elf_class): Fix ISO portability glitch.
576 (get_data_encoding, get_osabi_name, request_dump): Likewise.
577
ef5cdfc7
JJ
5782001-11-07 Jakub Jelinek <jakub@redhat.com>
579
580 * readelf.c (debug_str, debug_str_size): New.
581 (display_debug_abbrev): If no abbrevs were read, skip the CU.
582 Call free_abbrevs.
583 (read_and_display_addr): Handle DW_FORM_strp.
584 (display_debug_info): Read .debug_str section if present,
585 so that DW_FORM_strp can be handled.
586 Fix test for non-existant .debug_abbrev section.
587
5e9520c8
JJ
5882001-11-05 Jakub Jelinek <jakub@redhat.com>
589
590 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
591
592 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
593
54589086
MS
5942001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
595
596 * MAINTAINERS: Add self as s390/s390x maintainer.
597
c05b685b
TR
5982001-11-02 Tom Rix <trix@bluey.cygnus.com>
599
600 * MAINTAINERS: Add self as PPC XCOFF maintainer.
601
3c62831e
NC
6022001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
603
604 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
605 * configure: Regernate.
606 * po/fr.po: New file.
607 * po/tr.po: New file.
608
3c3bdf30
NC
6092001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
610
9b19141a 611 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
612 * readelf.c: Include elf/mmix.h.
613 (guess_is_rela): MMIX is RELA.
614 (dump_relocations): Handle MMIX relocations.
615 * Makefile.am: Regenerate dependencies.
616 * Makefile.in: Regenerate.
617
f662939a
NC
6182001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
619
620 * readelf.c (parse_args): Handle multiple options to the -w
621 switch.
622
c91d0dfb
JJ
6232001-10-12 Jakub Jelinek <jakub@redhat.com>
624
625 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
626 LOPROC, LOOS and LOUSER.
627
7559e86e 6282001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
629
630 * MAINTAINERS: Update my email address.
631
fcd8210c
AM
6322001-10-03 Alan Modra <amodra@bigpond.net.au>
633
634 * doc/Makefile.in: Regenerate.
635 * configure: Regenerate.
636
428409d5
NC
6372001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
638
639 * readelf.c (display_debug_line, display_debug_pubnames,
640 display_debug_info, display_debug_frames): Detect and warn
641 about 64-bit format entries.
642 (display_debug_aranges): Reword 64-bit warning.
643 (debug_displays): Add .debug_pubtypes as a known, but not yet
644 supported, debug section.
645
6a8c2b0d
AM
6462001-10-02 Alan Modra <amodra@bigpond.net.au>
647
648 * coffdump.c (PROGRAM_VERSION): Delete.
649 (main <'V'>): Call print_version.
650 * srconv.c: Likewise.
651 * sysdump.c: Likewise.
652 * version.c (program_version): Remove.
653 (print_version): Use BFD_VERSION_STRING. Just print the current
654 year in copyright message.
655 * addr2line.c (program_version): Remove unused declaration.
656 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
657 place of BFD_VERSION.
658 * Makefile.am (Makefile): Depend on bfd/configure.in.
659 (cplus-dem.o): Depend on Makefile.
660 Run "make dep-am".
661 * Makefile.in: Regenerate.
662
e414a165
NC
6632001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
664
665 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
666 format .debug_arange sections.
667 (main): Add missing prototype.
b8908f93 668
efc3ee7f
HPN
6692001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
670
671 * Makefile.am: Update dependencies with "make dep-am".
672 * Makefile.in: Regenerate.
673
9e85c2a0
RH
6742001-09-28 Richard Henderson <rth@redhat.com>
675
676 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
677
451dad9c
AM
6782001-09-26 Alan Modra <amodra@bigpond.net.au>
679
680 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
681 VA_CLOSE.
682 (non_fatal): Likewise.
683 * objdump.c (objdump_sprintf): Likewise.
684 * readelf.c (error): Likewise.
685 (warn): Likewise.
686
d974e256
JJ
6872001-09-25 Jakub Jelinek <jakub@redhat.com>
688
689 * readelf.c (do_wide): New.
690 (options): Add --wide.
691 (usage, parse_args): Likewise.
692 (process_program_headers): Put each segment on a single line if
693 --wide is given.
694 (process_section_headers): Put each section on a single line if
695 --wide is given.
696 * doc/binutils.texi: Document it.
697 * NEWS: Likewise.
698
2f11c261
AM
6992001-09-25 Alan Modra <amodra@bigpond.net.au>
700
701 * readelf.c (print_vma): Print 8 digits of low hex value.
702
1d50f91e
AJ
7032001-09-24 Andreas Jaeger <aj@suse.de>
704
705 * nlmconv.c: Fix warnings about unused attributes and function
706 prototypes.
707
708 * strings.c: Add prototype for get_char.
709
38131e67
L
7102000-09-19 H.J. Lu <hjl@gnu.org>
711
712 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
713 $(srcdir)/cxxfilt.man.
714 * doc/Makefile.in: Rebuild.
715
3bcfb3e4
AM
7162001-09-19 Alan Modra <amodra@bigpond.net.au>
717
718 * objcopy.c (copy_main): Correct rename-section string parsing.
719 Consolidate new_name parsing, and error messages.
720
3882b010
L
7212001-09-18 Bruno Haible <haible@clisp.cons.org>
722
723 * addr2line.c: Don't include <ctype.h>.
724 (main): For gettext, also set the LC_CTYPE locate facet.
725 * ar.c (main): Likewise.
726 * coffdump.c (main): Likewise.
727 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
728 (main): For gettext, also set the LC_CTYPE locate facet.
729 Use ISALNUM instead of isalpha/isdigit.
730 * dllwrap.c: Don't include <ctype.h>.
731 (main): For gettext, also set the LC_CTYPE locate facet.
732 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
733 (main): For gettext, also set the LC_CTYPE locate facet.
734 Use TOUPPER instead of islower/toupper.
735 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
736 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
737 Use TOUPPER instead of islower/toupper.
738 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
739 * objcopy.c (main): Likewise.
740 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
741 (disassemble_bytes): Use ISPRINT instead of isprint.
742 (dump_section_stabs): Use ISDIGIT instead of isdigit.
743 (dump_data): Use ISPRINT instead of isprint.
744 (main): For gettext, also set the LC_CTYPE locate facet.
745 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
746 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
747 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
748 Use TOUPPER instead of islower/toupper.
749 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
750 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
751 (write_rc_accelerators): Use ISPRINT instead of isprint.
752 (write_rc_rcdata): Likewise.
753 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
754 * srconv.c (main): Likewise.
755 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
756 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
757 isdigit/isupper/islower.
758 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
759 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
760 stab_demangle_prefix, stab_demangle_qualified,
761 stab_demangle_template, stab_demangle_type,
762 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
763 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
764 (isgraphic): Use ISPRINT instead of isascii/isprint.
765 (main): Remove HAVE_LC_MESSAGES dependency.
766 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
767 (pbarray): Use ISPRINT instead of isprint.
768 (main): For gettext, also set the LC_CTYPE locate facet.
769 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
770 (format_from_filename): Use ISPRINT instead of isprint.
771 (main): For gettext, also set the LC_CTYPE locate facet.
772 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
773 (unicode_print): Use ISPRINT instead of isprint.
774 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
775 (stab_variable): Use ISDIGIT instead of isdigit.
776
e59b4dfb
AM
7772001-09-18 Alan Modra <amodra@bigpond.net.au>
778
779 * ar.c (print_contents): Cast args of bfd_seek to the right types.
780 Replace bfd_read call with call to bfd_bread.
781 (extract_file): Likewise.
782
783 * objdump.c (dump_section_header): Cast section->filepos to
784 unsigned long to suit printf format string.
785 * readelf.c (process_section_headers): Similarly for sh_offset.
786 (process_unwind): Likewise.
787
d132876a
NC
7882001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
789
790 * strings.c (encoding, encoding_bytes): New variables.
791 (long_options): Add --encoding.
792 (main): Accept -e and --encoding.
793 (get_char): New function. Read a, possibly wide, character from
794 the input stream.
795 (print_strings): Use get_char().
796 (usage): Document new command line option.
797 * doc/binutils.texi: Document new command line option.
798 * NEWS: Announce new command line option.
799
7559e86e 8002001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
801
802 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
803 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
804 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
805 Removed EM_CYGNUS_ARC.
806
7559e86e 8072001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
808
809 * readelf.c: Include elf/h8 for H8 series definitions.
810 (guess_is_rela): H8 series if RELA.
811 (dump_relocations): Handle H8 series relocations.
812
0823fbca
EC
8132001-08-31 Eric Christopher <echristo@redhat.com>
814
815 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
816
8db76d70
PT
8172001-08-29 Peter Targett <peter.targett@arccores.com>
818
819 * MAINTAINERS: Include ARC Maintainer.
820
d81d6584
BE
8212001-08-29 Ben Elliston <bje@redhat.com>
822
823 * stabs.c (stab_demangle_template): Initialise s4.
824
25a1ff5b
AM
8252001-08-27 Alan Modra <amodra@bigpond.net.au>
826
827 * readelf.c (dump_relocations): Recognise EM_PPC64.
828
a5d22d2a
TS
8292001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
830
831 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
832
62a5a82d
L
8332001-08-25 H.J. Lu <hjl@gnu.org>
834
835 * nm.c (print_width): New.
836 (display_rel_file): Set `print_width' according to
837 bfd_sprintf_vma.
838 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
839
1ae8b3d2
AO
8402001-08-24 Alexandre Oliva <aoliva@redhat.com>
841
842 * objcopy.c (use_alt_mach_code): New variable.
843 (OPTION_ALT_MACH_CODE): Define.
844 (copy_options): Added --alt-machine-code.
845 (copy_main): Handle it.
846 (copy_object): Switch to alternate machine code if requested.
847 * doc/binutils.texi: Document new option.
848 * NEWS: Likewise.
849
d1bdd336
TS
8502001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
851
852 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
853
410f7a12
L
8542001-08-21 H.J. Lu <hjl@gnu.org>
855
856 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
857 (display_debug_info): Cast for 64bit hosts.
858 (display_debug_frames): Likewise.
859 (process_mips_specific): Likewise.
860
c32144ff
AJ
8612001-08-21 Andreas Jaeger <aj@suse.de>
862
863 * coffgrok.h: Add missing parameter for prototype of coff_grok.
864
865 * sysdump.c: Add missing prototypes.
866 * srconv.c: Likewise.
867 * unwind-ia64.c: Likewise.
868 * coffdump.c: Likewise.
869
870 * sysinfo.y: Print prototypes, include <ansidecl.h>.
871
872 * coffgrok.c: Add missing prototypes, include libiberty.h instead
873 of declaring xcalloc.
874
d8180c76
L
8752001-08-10 H.J. Lu <hjl@gnu.org>
876
877 * nm.c (print_value): Add one arg, bfd *.
878 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
879 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
880 (print_symbol_info_sysv): Likewise.
881 (print_symbol_info_posix): Likewise.
882
883 * objdump.c (dump_section_header): Replace printf_vma with
884 bfd_printf_vma.
885 (print_section_stabs): Likewise.
886 (dump_bfd_header): Likewise.
887 (objdump_print_value): Replace sprintf_vma with
888 bfd_sprintf_vma.
889 (disassemble_bytes): Likewise.
890 (dump_reloc_set): Likewise.
891
0218d1e4
AJ
8922001-08-10 Andreas Jaeger <aj@suse.de>
893
894 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
895 to build warnings.
896 * configure: Regenerate.
897
2863d58a
AM
8982001-08-09 Alan Modra <amodra@bigpond.net.au>
899
900 * readelf.c: Add missing prototypes.
901 * objdump.c: Likewise. Format existing prototypes.
902
c0e047e0
AO
9032001-08-08 Alexandre Oliva <aoliva@redhat.com>
904
905 * readelf.c (display_debug_info): Add to abbrev_offset the addend
906 of any RELA relocation for the abbrev_offset memory location that
907 refers to the .debug_abbrev section symbol.
908
ff78d6d6
L
9092001-08-07 H.J. Lu <hjl@gnu.org>
910
911 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
912 (main): Return process_file ().
913
c36774d6
PB
9142001-08-05 Philip Blundell <philb@gnu.org>
915
916 * doc/binutils.texi: Use "Thumb" not "THUMB".
917
8f9d9bd9
JH
9182001-08-03 John Healy <jhealy@redhat.com>
919
920 Patch suggested by Frank Eigler <fche@redhat.com>.
921 * objdump.c (disassemble_data): Fill in section member of the
922 disasm_info structure.
923
c918cb96
DD
9242001-08-03 Tom Walsh <tom@cyberiansoftware.com>
925
926 * configure.in: Added --with-windres option.
927 * configure: Regenerated.
928
c7c55b78
NC
9292001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
930
931 * doc/binutils.texi: Use @command{name} for commands;
932 use @option{-opt} for options; use @table @env for list of options;
933 remove spaces arround [ | ] in synopsis.
934
935 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
936 center title.
937
594ef5db
NC
9382001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
939
940 * objcopy.c: Fix formatting.
941 (section_rename): New structure.
942 (OPTION_RENAME_SECTION): New switch.
943 (copy_usage): Document new switch.
944 (add_section_rename): New function: Add a node to the section
945 rename list.
946 (find_section_rename): New function: Find the new name and
947 flags for a section.
948 (setup_section): Call find_section_name to determine the name
949 of the output section.
950 (copy_main): Handle OPTION_RENAME_SECTION.
951 * binutils.texi: Document new switch.
952 * NEWS: Mention new switch.
953
1f554c69
NC
9542001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
955
956 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
957 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
958 bug-binutils@gcc.org.
959
2f83960e
AM
9602001-07-28 Matthias Kramm <kramm@quiss.org>
961
962 * bucomm.c (list_supported_architectures): New function.
963 * bucomm.h (list_supported_architectures): Declare.
964 * objdump.c (usage): Call the above.
965
20fe0649
DB
9662001-07-25 Dave Brolley <brolley@redhat.com>
967
968 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
969 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
970
1b577b00
NC
9712001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
972
973 * README: Update for 2.11. Change bug reporting email address.
974 * MAINTAINERS: Tidy up. Change bug reporting email address.
975
95fd336c
DD
9762001-07-16 DJ Delorie <dj@redhat.com>
977
5f16d855
DD
978 * resres.c (write_res_header): Align header size.
979 (res_align_file): Calculate alignment correctly.
980
95fd336c
DD
981 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
982 correct 10).
983 * resrc.c (write_rc_resource): Likewise.
984 * windres.h (SUBLANG_SHIFT): Define - as 10.
985
ed8fee27
NC
9862001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
987
988 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
989
90ab7e9a
NC
9902001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
991
992 * MAINTAINERS: Add notes about branch checkins.
993
e0c60db2
NC
9942001-07-05 Daniel Berlin <dan@cgsoftware.com>
995
996 * readelf.c (display_debug_macinfo): New function, display
997 .debug_macinfo section.
998 (do_debug_macinfo): New variable.
999 (parse_args): Handle "-w[mM]" to mean display macro info.
1000 (process_section_headers): Handle debug_macinfo.
1001 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1002 function for .debug_macinfo display.
e0c60db2
NC
1003 * doc/binutils.texi: Document new command line switch.
1004 * NEWS: Document new feature of readelf.
0218d1e4 1005
24e01a36
L
10062001-07-05 H.J. Lu <hjl@gnu.org>
1007
1008 * objcopy.c (filter_symbols): Don't turn undefined symbols
1009 into local.
1010
4258bf4d
L
10112001-07-03 H.J. Lu <hjl@gnu.org>
1012
1013 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1014 $@.pod.
1015 (ar.1): Likewise.
1016 (dlltool.1): Likewise.
1017 (nlmconv.1): Likewise.
1018 (nm.1): Likewise.
1019 (objcopy.1): Likewise.
1020 (objdump.1): Likewise.
1021 (ranlib.1): Likewise.
1022 (readelf.1): Likewise.
1023 (size.1): Likewise.
1024 (strings.1): Likewise.
1025 (strip.1): Likewise.
1026 (windres.1): Likewise.
1027 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1028 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1029 $(DEMANGLER_NAME).
1030 (as.1): Removed.
1031 * doc/Makefile.in: Regenerated.
1032
7014bc31
NC
10332001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1034
1035 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1036
b811889f
NC
10372001-07-01 Daniel Berlin <dan@cgsoftware.com>
1038
1039 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1040
12ab83a9
NC
10412001-06-29 James Cownie <jcownie@etnus.com>
1042
1043 * readelf.c: Support DWARF 2.1 attributes.
1044
a6e9f9df
AM
10452001-06-28 Alan Modra <amodra@bigpond.net.au>
1046
1047 * readelf.c (GET_DATA_ALLOC): Remove.
1048 (GET_DATA): Remove.
1049 (get_data): New function combining above macros, with an extra
1050 test for zero size.
1051 (slurp_rela_relocs): Use get_data, and catch error return.
1052 (slurp_rel_relocs): Likewise.
1053 (get_32bit_program_headers): Likewise.
1054 (get_64bit_program_headers): Likewise.
1055 (get_32bit_section_headers): Likewise.
1056 (get_64bit_section_headers): Likewise.
1057 (get_32bit_elf_symbols): Likewise.
1058 (get_64bit_elf_symbols): Likewise.
1059 (process_section_headers): Likewise.
1060 (process_relocs): Likewise.
1061 (slurp_ia64_unwind_table): Likewise.
1062 (process_unwind): Likewise.
1063 (get_32bit_dynamic_segment): Likewise.
1064 (get_64bit_dynamic_segment): Likewise.
1065 (process_dynamic_segment): Likewise.
1066 (process_version_sections): Likewise.
1067 (process_symbol_table): Likewise.
1068 (dump_section): Likewise.
1069 (display_debug_info): Likewise.
1070 (display_debug_section): Likewise.
1071 (process_section_contents): Likewise.
1072 (process_corefile_note_segment): Likewise.
1073 (process_mips_specific): Likewise. Also free econf32, econf64.
1074
af3fc3bc
AM
10752001-06-25 Alan Modra <amodra@bigpond.net.au>
1076
1077 * readelf.c (dump_relocations): Print "bad symbol index" if
1078 symtab == NULL with non-zero symtab_index.
1079 (process_relocs): Don't bomb if reloc section has no symsec.
1080
6d900bf6
L
10812001-06-24 H.J. Lu <hjl@gnu.org>
1082
1083 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1084 by accident.
1085 (copy_main): Apply the the change made to strip_main on
1086 2001-05-30 by accident.
1087
49b4e386
AJ
10882001-06-23 Andreas Jaeger <aj@suse.de>
1089
1090 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1091 parameter 'code'.
1092 (unw_decode_x2): Likewise.
1093 (unw_decode_x3): Likewise.
1094 (unw_decode_x4): Likewise.
1095
d8dc71e3
BE
10962001-06-23 Ben Elliston <bje@redhat.com>
1097
1098 * MAINTAINERS: Add myself as M88k maintainer.
1099
af3bdff7
NC
11002001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1101
1102 * objcopy.c (strip_main): Support -o or --output-file command lien
1103 switch.
1104
105e7211
L
11052001-06-19 H.J. Lu <hjl@gnu.org>
1106
1107 * doc/Makefile.in: Regenerated.
1108
c45021f2
NC
11092001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1110
1111 * readelf.c: Restore formatting.
1112
11132001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1114
1115 * Makefile.am: Move documentation into doc subdirectory.
1116 * Makefile.in: Regenerated.
1117 * binutils.texi: Move into doc subdirectory.
1118 * addr2line.1: Removed.
1119 * ar.1: Likewise.
1120 * dlltool.1: Likewise.
1121 * nlmconv.1: Likewise.
1122 * nm.1: Likewise.
1123 * objcopy.1: Likewise.
1124 * objdump.1: Likewise.
1125 * ranlib.1: Likewise.
1126 * readelf.1: Likewise.
1127 * size.1: Likewise.
1128 * strings.1: Likewise.
1129 * strip.1: Likewise.
1130 * windres.1: Likewise.
1131 * cxxfilt.man: Likewise.
1132 * doc: New Directory.
1133 * doc/Makefile.am: New file.
1134 * doc/Makefile.in: Generate.
1135
09ad7db3
AM
11362001-06-09 Alan Modra <amodra@bigpond.net.au>
1137
1138 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1139
936260fe
AM
11402001-06-01 Alan Modra <amodra@bigpond.net.au>
1141
1142 * MAINTAINERS: Update my email address.
1143
16b2b71c
NC
11442001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1145
1146 * objcopy.c: Add new switches: --keep-global-symbol,
1147 --keep-symbols, --localize-symbols, --keep-global-symbols and
1148 --weaken-symbols.
1149 * binutils.texi: Document new switches.
1150 * objcopy.1: Regenerate.
1151 * NEWS: Announce new feature.
1152
7036c0e1
AJ
11532001-05-28 Andreas Jaeger <aj@suse.de>
1154
1155 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1156 variables, fix format strings.
1157
76a406e5
NC
11582001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1159
1160 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1161 when computing the address of the line to show.
1162
31b6fca6
RH
11632001-05-16 Richard Henderson <rth@redhat.com>
1164
1165 * readelf.c (do_debug_frames_interp): New.
1166 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1167 (byte_get_big_endian): Likewise.
1168 (parse_args) ['F']: Set do_debug_frames_interp.
1169 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1170 (frame_display_row): Don't trunc pc_begin to int.
1171 (size_of_encoded_value): New.
1172 (display_debug_frames): Handle 64-bit targets. Print raw data
1173 unless do_debug_frames_interp.
1174 (debug_displays): Remove duplicate .debug_frame.
1175
4fe85591
NC
11762001-05-15 Ralf Baechle <ralf@gnu.org>
1177
1178 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1179 The former constant was never in active use and is used otherwise
1180 by the ABI.
1181
579f31ac
JJ
11822001-05-11 Jakub Jelinek <jakub@redhat.com>
1183
1184 * readelf.c (process_unwind): Print all unwind sections, not just
1185 one.
1186
78f4a3f7
AM
11872001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1188
1189 * readelf.c (process_unwind): Remove const specifier.
1190
1c529ca6
NC
11912001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1192
1193 * strings.c (isgraphic): Do not use isascii() unless it is needed
1194 for isprint() to work.
1195 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1196
87e6d782
NC
11972001-04-27 Johan Rydberg <jrydberg@opencores.org>
1198
1199 * NEWS: Announce support for OpenRISC.
1200
4bd3d870 12012001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1202
1203 * dlltool.c (do_default_excludes): Initialise to true.
1204
21211521
AM
12052001-04-10 Alan Modra <amodra@one.net.au>
1206
1207 * MAINTAINERS: Update my email address
1208 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1209
0c66b61e 12102001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1211
1212 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1213
e58d53af
L
12142001-03-30 H.J. Lu <hjl@gnu.org>
1215
1216 * readelf.c (process_unwind): Just return if do_unwind is 0.
1217
bee72332
DD
12182001-03-28 Roger Sayle <roger@metaphorics.com>
1219
1220 * dlltool.c (make_one_lib_file): Fix section flags for
1221 .text, .data and .bss in stub ds*.o files to match those
1222 generated by gas.
1223
f1467e33
L
12242001-03-29 H.J. Lu <hjl@gnu.org>
1225
1226 * readelf.c (process_unwind): Only do unwind sections for
1227 IA64.
1228
1c6fb4fe
L
12292001-03-28 H.J. Lu <hjl@gnu.org>
1230
1231 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1232 * Makefile.in: Regenerate.
1233
0879a67a
AJ
12342001-03-26 Andreas Jaeger <aj@suse.de>
1235
1236 * binutils.texi (nm): Fix texi syntax.
1237
0285c67d
NC
12382001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1239
1240 * binutils.texi: Put @c man begin and @c man end indications
1241 to generate man pages using texi2pod and pod2man. Put @c man title
1242 to identify each man. Add SEEALSO entries.
1243 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1244 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1245 sort the list.
1246 (*.1): Build the man pages from binutils.texi.
1247 * Makefile.in: Regenerate.
1248
04847a4d
CF
12492001-03-13 Eric Kohl <ekohl@rz-online.de>
1250
1251 * defparse.y (opt_equal_name): allow "." in name.
1252 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1253 (gen_exp_file): Likewise.
1254
43a0748c
NC
12552001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1256
1257 * NEWS: Document addition of -B switch to objcopy.
1258 * binutils.texi: Document addition of -B switch to objcopy.
1259 * objcopy.c: (copy_options): Add --binary-architecture.
1260 (copy_usage): Document -B/--binary-architecture.
1261 (copy_main): Support -B/--binary-architecture. Set
1262 bfd_external_binary_architecture.
0879a67a 1263
b7498e0e
NC
12642001-03-11 Andreas Jaeger <aj@suse.de>
1265
1266 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1267 (dump_relocations): Likewise.
1268 (get_machine_name): Likewise.
1269
a59e3bd7
NC
12702001-02-28 Nick Clifton <nickc@redhat.com>
1271
1272 * readelf.c: (struct unw_aux_info): Remove const modifier for
1273 'strtab' field.
1274 (process_unwind): Remove non-K&R compliant LHS type cast in call
1275 to GET_DATA_ALLOC macro.
1276
a5bcd848
PB
12772001-02-28 Philip Blundell <pb@futuretv.com>
1278
1279 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1280 ABI is in use; remove ambiguity between the "unknown" EABI and
1281 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1282 renamed EF_xx constants.
1283
27b7e12d
AM
12842001-02-27 Alan Modra <alan@linuxcare.com.au>
1285
1286 * configure.in (BFD_VERSION): New.
1287 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1288 * configure: Regenerate.
1289 * Makefile.am: Run "make dep-am"
1290 * Makefile.in: Regenerate.
1291
a9f10786
NC
12922001-02-14 Nick Clifton <nickc@redhat.com>
1293
1294 * MAINTAINERS: Add "Obvious Fix" rule.
1295
3c44da9a
MS
12962001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1297
1298 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1299 literal concatenation.
1300
ecd03389
MS
13012001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1302
1303 * readelf.c (struct unw_aux_info): Remove const from the info member.
1304 (process_unwind): Don't type-cast the third argument to the
1305 GET_DATA_ALLOC macro.
1306
88ec60c7
NC
13072001-02-11 Nick Clifton <nickc@redhat.com>
1308
1309 * readelf.c (dump_relocations): Free corrected allocated
1310 array.
1311 (process_unwind): Fix compile time warning.
1312
f5e21966
NC
13132001-02-10 Nick Clifton <nickc@redhat.com>
1314
1315 * binutils.texi: Document new --unwind option to readelf.
1316
a85d7ed0
NC
13172001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1318
1319 * readelf.c: Add linux target for S/390.
1320
7bb10502
AM
13212001-02-10 Alan Modra <alan@linuxcare.com.au>
1322
1323 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1324 printf is a macro.
1325
8ca8f343
HPN
13262001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1327
1328 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1329 * aclocal.m4: Regenerate.
1330 * configure: Regenerate.
1331
7340082d
NC
13322001-02-07 Todd Vierling <tv@wasabisystems.com>
1333
1334 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1335 * objdump.c (bfd_target_vector): Likewise.
1336
4d6ed7c8
NC
13372001-02-07 David Mosberger <davidm@hpl.hp.com>
1338
1339 * readelf.c (process_unwind): New function.
1340 (slurp_ia64_unwind_table): Ditto.
1341 (dump_ia64_unwind): Ditto.
1342 (find_symbol_for_address): Ditto.
1343 (slurp_rela_relocs): New function (split off from dump_relocations()).
1344 (slurp_rel_relocs): Ditto.
1345 (parse_args): Handle '-u' option.
1346
1347 * unwind-ia64.c: New file.
1348 * unwind-ia64.h: New file.
1349 * Makefile.am: Include unwind-ia64.c in readelf build.
1350 * Makefile.in: Regenerate.
7340082d 1351 * po/binutils.pot: Regenerate.
4d6ed7c8 1352
c7217458
PB
13532001-02-04 Philip Blundell <philb@gnu.org>
1354
1355 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1356 * configure: Regenerate.
1357
956eedd4
AM
13582001-01-31 Steve deRosier <sderosier@vari-lite.com>
1359
1360 * ieee.c (ieee_add_bb11): Don't check for backslashes
1361 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1362
8855cbca
AM
13632001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1364
c7f2731e
AM
1365 * ieee.c: Update copyright.
1366 (ieee_start_compilation_unit): Don't check for backslashes
1367 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1368
8855cbca
AM
1369 * stabs.c: Update copyright. Include "filenames.h".
1370 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1371
329de803 13722001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1373
1374 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1375 sections are present before using them. Remove code duplication.
1376 (process_symbol_table): Check if VERDEF or VERNEED sections are
1377 present before using them.
1378
23719f39
NC
13792001-01-17 Nick Clifton <nickc@redhat.com>
1380
1381 * objcopy.c (copy_object): Fail if attempting to convert the
1382 endianness of the input object file.
1383
1384 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1385
f726e849
NC
13862001-01-16 Nick Clifton <nickc@redhat.com>
1387
1388 * readelf.c (string_table_length): New variable.
1389 (SECTION_NAME): Catch out of range indices and missing section
1390 pointers.
1391 (process_section_headers): Delete useless local variable
1392 string_table_offset. Set the value of string_table_length
1393 after loading the string table.
1394 (process_mips_specific): Use SECTION_NAME macro.
1395 (process_file): Set string_table_length to 0 when it is freed.
1396
d0398d6a
NC
13972001-01-12 Nick Clifton <nickc@redhat.com>
1398
1399 * version.c (print_version): Update copyright date.
1400
0d2bcfaf
NC
14012001-01-11 Peter Targett <peter.targett@arccores.com>
1402
1403 * readelf.c (dump_relocations): Include selection with EM_ARC.
1404 (get_machine_name) Update name to "ARC".
1405
8b1e6df3
NC
14062001-01-09 Nick Clifton <nickc@redhat.com>
1407
1408 * Makefile.am: Add rule to build objdump.o from objdump.c and
1409 using OBJDUMP_DEFS.
1410 * Makefile.in: Regenerate.
1411
1412 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1413 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1414 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1415 * configure: Regenerate.
8b1e6df3
NC
1416
1417 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1418 is defined read in the relocs even if dump_reloc_info is
1419 false.
1420
2f952d20
PB
14212001-01-07 Philip Blundell <philb@gnu.org>
1422
1423 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1424 `bug-binutils'.
1425 * README: Likewise.
1426
a8c548cb
NC
14272000-12-19 Nick Clifton <nickc@redhat.com>
1428
1429 * dlltool.c: Add missing support for arm-epoc-pe.
1430 * configure.in: Add missing support for arm-epoc-pe.
1431 * configure: Regenerate.
1432
cc5fda35
NC
14332000-12-15 Nick Clifton <nickc@redhat.com>
1434
1435 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1436 Mode parts of the x86 port.
1437
bcedfee6
NC
14382000-12-04 Andreas Jaeger <aj@suse.de>
1439
1440 * readelf.c (guess_is_rela): Add EM_X86_64.
1441 (dump_relocations): Add EM_X86_64.
1442 (get_machine_name): Add EM_X86_64.
1443 Include "elf/x86-64.h".
1444
584da044
NC
14452000-12-12 Nick Clifton <nickc@redhat.com>
1446
1447 * readelf.c: Fix formatting.
1448
7559e86e 14492000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1450
1451 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1452
a98cc2b2
AH
14532000-12-07 Andrew Haley <aph@redhat.com>
1454
1455 * readelf.c (display_debug_frames): Only display columns that are
1456 referenced by the frame debug info.
1457
c7987a69
NC
14582000-12-05 Nick Clifton <nickc@redhat.com>
1459
1460 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1461
09fd7e38
JM
14622000-12-04 Jason Merrill <jason@redhat.com>
1463
1464 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1465 (display_debug_section): Likewise.
1466 (display_debug_info): Display CU header before bailing.
1467
e7af610e
NC
14682000-12-01 Chris Demetriou <cgd@sibyte.com>
1469
09fd7e38
JM
1470 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1471 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1472 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1473
09fd7e38
JM
1474 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1475 and E_MIPS_ARCH_64.
84ea6cf2 1476
09fd7e38
JM
1477 * readelf.c (get_machine_flags): Add case for
1478 E_MIPS_MACH_SB1.
c6c98b38 1479
75066968
DD
14802000-11-30 Richard Earnshaw <rearnsha@arm.com>
1481
1482 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1483
5c4666ea
HPN
14842000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1485