* filemode.c: Fix formatting.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
0af11b59
KH
12002-05-21 Kazu Hirata <kazu@cs.umass.edu>
2
3 * filemode.c: Fix formatting.
4 * ieee.c: Likewise.
5 * is-ranlib.c: Likewise.
6 * is-strip.c: Likewise.
7 * maybe-ranlib.c: Likewise.
8 * maybe-strip.c: Likewise.
9 * nlmconv.c: Likewise.
10 * nm.c: Likewise.
11 * not-ranlib.c: Likewise.
12 * not-strip.c: Likewise.
13 * objcopy.c: Likewise.
14 * objdump.c: Likewise.
15
21611032
TS
162002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
17
18 * objdump.c (dump_headers): Fix output formatting for ELF32
19 architectures in a BFD64 enabled toolchain.
20
26044998
KH
212002-05-20 Kazu Hirata <kazu@cs.umass.edu>
22
23 * debug.c: Fix formatting.
24 * debug.h: Likewise.
25 * dlltool.c: Likewise.
26 * dllwrap.c: Likewise.
27 * emul_aix.c: Likewise.
28 * emul_vanilla.c: Likewise.
29
f462a9ea
KH
302002-05-19 Kazu Hirata <kazu@cs.umass.edu>
31
32 * addr2line.c: Fix formatting.
33 * ar.c: Likewise.
34 * arsup.c: Likewise.
35 * arsup.h: Likewise.
36 * binemul.c: Likewise.
37 * binemul.h: Likewise.
38 * bucomm.c: Likewise.
39 * coffdump.c: Likewise.
40 * coffgrok.c: Likewise.
41 * coffgrok.h: Likewise.
42
e0159aa9
MM
432002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
44
45 * MAINTAINERS: Add myself as the second AVR port maintainer.
46
074b403e
SC
472002-05-16 Stephane Carrez <stcarrez@nerim.fr>
48
49 * MAINTAINERS: Update my email address.
50
2b9c8201
NC
512002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
52
53 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
54
e1d5b1e7
AM
552002-05-09 Alan Modra <amodra@bigpond.net.au>
56
57 * configure.in: Replace `*pe' with `pe' throughout.
58 * configure: Regenerate.
59
d3d8a9ee
NC
602002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
61
62 * Makefile.am: Honour DESTDIR.
63 * Makefile.in: Regenerate.
64
405c98a4
AM
652002-05-06 Alan Modra <amodra@bigpond.net.au>
66
a02d5965
AM
67 * dlltool.c (process_def_file): Add missing prototype.
68 (new_directive, assemble_file, main): Likewise.
69 (process_def_file, new_directive): Make static.
70 (inform): Rewrite using VA_FIXEDARG.
71 * dllwrap.c (mybasename): Add missing prototype.
72 (strhash, main): Likewise.
73 (inform): Rewrite using VA_FIXEDARG.
74 (warn): Likewise.
75 (cleanup_and_exit): Use old style function definition.
76 (strhash): Likewise.
77 * windres.c (define_resource): Use one memset to clear all of
78 struct res_resource.
79
405c98a4 80 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 81 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
82
832002-05-06 Borut Razem <borut.razem@siol.net>
84
85 * rclex.l (get_string): Correct "strings" list handling.
86 * resrc.c (read_rc_file): Discard strings.
87
91593c9d
AM
882002-05-04 Alan Modra <amodra@bigpond.net.au>
89
e58a75dc
AM
90 * ar.c (replace_members): Remove unused var. Formatting fix.
91 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
92
91593c9d
AM
93 * MAINTAINERS: Sort port maintainers by CPU.
94
6b52b824
AM
952002-05-04 Bob Byrnes <byrnes@curl.com>
96
97 * size.c (display_archive): Add last_arfile and code to close archives.
98
dd70071f
AM
992002-05-01 Alan Modra <amodra@bigpond.net.au>
100
101 * nm.c (print_symbol): Check returned filename from
102 bfd_find_nearest_line is non-NULL.
103
6c95717a
EZ
1042002-04-25 Elena Zannoni <ezannoni@redhat.com>
105
106 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
107
3c25c5f6
NC
1082002-04-24 Christian Groessler <chris@groessler.org>
109
110 * MAINTAINERS: Changed my email address.
111
944cd72c
TS
1122002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
113
114 * arparse.y: Fix syntax warning.
115
ea91f8bb
NC
1162002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
117
3e55a963
NC
118 * readelf.c (fetch_location_list): Remove unused function.
119
120 * readelf.c (process_corefile_note_segment): Catch corrupt notes
121 and display a warning message, then exit the loop.
122
ea91f8bb
NC
123 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
124
45b99827
NC
1252002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
126
127 * resrc.c (write_rc_dialog): If charset is non-default value
128 display all of the DIALOGEX parameters.
129
1302002-04-15 Eric Kohl <ekohl@rz-online.de>
131
132 * rcparse.y: Allow two to five parameter in FONT statement of
133 DIALOGEX resources.
134 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
135 resource data.
136 (res_to_bin_dialog): Likewise.
137 * windres.h: Added misssing charset variable to dialog_ex
138 structure.
139
acfbab8a
NC
1402002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
141
142 * rcparse.y: Set MEMFLAG_PURE by default.
143
df3baf66
NC
1442002-04-09 Bernd Herd <info@herdsoft.com>
145
146 * rcparse.y: CLASS definitions in DIALOG resources
147 are quoted.
4c30641a 148 Fix typo in BEDIT warning.
91eafb40 149 Don't add default dialog style when explicit style specified.
b62a12ca 150 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 151
b24eb5ac
NC
152 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
153 (handle_quotes) "\a" escape (used for right justified key
154 definitions in menus) is encodes as binary 8.
df3baf66 155
b24eb5ac
NC
156 * resrc.c (write_rc_dialog): Print style even if it is 0.
157 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 158 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 159
b24eb5ac
NC
160 * resbin.c (bin_to_res_dialog): Use signature to identify
161 DIALOGEX.
f7d63484 162
b24eb5ac 163 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 164
df3baf66
NC
1652002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
166
167 * resrc.c: print CLASS names in quotes
168
1692002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
170
171 * MAINTAINERS: Update my email address.
172
8e42bcb6
AM
1732002-04-04 Alan Modra <amodra@bigpond.net.au>
174
175 * dep-in.sed: Cope with absolute paths.
176 * Makefile.am (dep.sed): Subst TOPDIR.
177 Run "make dep-am".
178 * Makefile.in: Regenerate.
179
96f959e5
PT
1802002-03-27 Peter Targett <peter.targett@arc.com>
181
182 * MAINTAINERS: Update my email address.
183
1ea788ee
AM
1842002-03-21 Alan Modra <amodra@bigpond.net.au>
185
186 * Makefile.am: Run "make dep-am".
187 * Makefile.in: Regenerate.
188 * doc/Makefile.in: Regenerate.
189 * po/POTFILES.in: Regenerate.
190 * aclocal.m4: Regenerate.
191 * config.in: Regenerate.
192 * configure: Regenerate.
193
a2f14207
DB
1942002-03-20 Daniel Berlin <dan@dberlin.org>
195
196 * readelf.c: Add support for displaying dwarf2 location lists.
197 (do_debug_loc, debug_loc_section, debug_loc_size): New.
198 (parse_args): Use 'O' as shorthand for displaying location list
199 section.
200 (process_section_headers): Handle debug_loc as well.
201 (load_debug_loc): New.
202 (free_debug_loc): New.
203 (fetch_location_list): New.
204 (display_debug_loc): New.
205 (display_debug_info): Call load_debug_loc and free_debug_loc.
206 (debug_displays): We can display .debug_loc now, too.
207 (usage): Update usage string.
208 (read_and_display_attr_value): Note location lists, but don't
209 display them inline.
210
eb1e0e80
NC
2112002-03-18 Tom Rix <trix@redhat.com>
212
213 * Makefile.am: Add binutils emulation support.
214 * configure.in: Same.
215 * configure.tgt: New file. Same.
216 * ar.c (main): Use ar_emul_parse_arg.
217 (usage): Use ar_emul_usage.
218 (replace_members): Use ar_emul_replace, ar_emul_append.
219 * binemul.c: New file. Define the binutils emulation
220 layer. Define default methods.
221 * binemul.h: New file. Binutils emulation layer header file.
222 * emul_aix.c: New file. AIX binutils emulation.
223 * emul_vanilla.c: New file. Default binutils emulation.
224 * Makefile.in: Regenerate.
225 * configure: Same.
226
a1c259a1
NC
2272002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
228
229 * po/fr.po: Updated version.
230
9ce88e60
NC
2312002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
232
233 * po/fr.po: Updated version.
234
effb0601
DJ
2352002-03-07 Daniel Jacobowitz <drow@mvista.com>
236
237 * README: Update some version numbers.
238
a65688ab
DJ
2392002-03-07 Daniel Jacobowitz <drow@mvista.com>
240
241 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
242 (Architecture Selection): Likewise.
243
f3f7fbb2
NC
2442002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
245
246 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
247 generating .exp file.
248
25345be5
NC
2492002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
250
251 * readelf.c (dump_relocations): Fix typo.
252
9a66911f
NC
2532002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
254
255 * NEWS: Mark 2.12 branch.
256
2c71103e
NC
2572002-02-18 Timothy Daly <remote_bob@yahoo.com>
258
259 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
260 types for 64-bit MIPS. Narrow some fields for 80-char
261 output.
262 (dump_relocations): Change spelling from 'unrecognised'
263 to 'unrecognized'.
264 (decode_ARM_machine_flags): Likewise.
265 (parse_args): Likewise.
266 (read_and_display_attr_value): Likewise.
267 (display_debug_section): Likewise.
268
49fda6c8
HPN
2692002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
270
271 * NEWS: Mention support for MMIX.
272
76f57f3a
JT
2732002-02-13 Matt Fredette <fredette@netbsd.org>
274
275 * readelf.c (get_machine_flags): Recognize EF_M68000.
276
d36ca9c2
AO
2772002-02-12 Alexandre Oliva <aoliva@redhat.com>
278
279 * MAINTAINERS: Added self as MN10300 co-maintainer.
280
19397422
AM
2812002-02-12 Alan Modra <amodra@bigpond.net.au>
282
283 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
284 DT_PPC64_OPDSZ.
285
d434e574
DJ
2862002-02-11 Daniel Jacobowitz <drow@mvista.com>
287
288 * MAINTAINERS: List myself as branch maintainer.
289
12b87c89
AM
2902002-02-11 Alan Modra <amodra@bigpond.net.au>
291
292 * configure: Regenerate.
293 * objcopy.c: Update copyright date.
294 * doc/Makefile.in: Regenerate.
295
8d037c5c
DJ
2962002-02-10 Daniel Jacobowitz <drow@mvista.com>
297
298 * nlmconv.c: Back out localtime PARAMS change.
299
4c168fa3
AM
3002002-02-11 Alan Modra <amodra@bigpond.net.au>
301
302 * objcopy.c (MKDIR): Define.
303 (copy_archive): Make name_list.name const. Use MKDIR.
304 Handle duplicate files in archives by making more temp dirs.
305
408f8db1
DJ
3062002-02-10 Daniel Jacobowitz <drow@mvista.com>
307
308 * coffdump.c: Include "getopt.h" after "bucomm.h"
309 so that macros are defined correctly.
310 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
311 prototype. Prototype main.
312 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
313
9f77fa06
AO
3142002-02-06 Alexandre Oliva <aoliva@redhat.com>
315
316 * MAINTAINERS: Added self as SH co-maintainer.
317
82f6addb
NC
3182002-02-05 Nick Clifton <nickc@redhat.com>
319
320 * po/tr.po: Updated translation.
321
ba323545
AM
3222002-02-01 Alan Modra <amodra@bigpond.net.au>
323
324 * Makefile.am: Run "make dep-am"
325 * Makefile.in: Regenerate.
326
3deb89d3
DJ
3272002-01-29 Daniel Jacobowitz <drow@mvista.com>
328
329 * nm.c (print_value): Mark abfd unused.
330
a0e9c55f
DJ
3312002-01-29 Daniel Jacobowitz <drow@mvista.com>
332
333 * unwind-ia64.c (unw_decoder): Change second argument
334 to unsigned int, to match function prototypes.
335
d7a283d4
DJ
3362002-01-29 Daniel Jacobowitz <drow@mvista.com>
337
338 * objdump.c: Include "getopt.h" after "bucomm.h" so that
339 __GNU_LIBRARY__ will be defined.
340 * size.c: Likewise.
341
4867be41
DJ
3422002-01-27 Daniel Jacobowitz <drow@mvista.com>
343
344 * configure: Regenerated.
345
7562a296
HPN
3462002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
347
348 * doc/Makefile.am (install): Depend on install-info.
349 * doc/Makefile.in: Regenerate.
350
15c82623
NC
3512002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
352
353 * objcopy.c (strip_usage): Document -d as an alias
354 --strip-debug.
355
356 * size.c (usage): Document [-t | --totals] options.
357 (long_options): Add --totals option.
358 (main): If the [-t | --totals] option is specified and
359 the output format is Berkeley-style, print the total
360 text, data, and bss sizes of all objects listed.
361 (print_berkeley_format): If the [-t | --totals] option
362 is specified, track the total text, data, and bss
363 sizes.
364 * doc/binutils.texi (size): Document [-t | --totals] options.
365 (strip): Document -d as an alias for --strip-debug.
366 * NEWS: Mention new feature of size.
367
00ea8601 3682002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 369
1ddbd152
NC
370 * po/fr.po: Updated version.
371 * po/es.po: Updated version.
b85cedd7 372
8b53311e
NC
3732002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
374
375 * addr2line.c (usage): Update text to provide verbose
376 description of the command line options.
377 * ar.c (usage): Update text to provide verbose
378 description of the command line options.
379 (main): Accept -h and -H when running as ranlib.
380 * coffdump.c (show_usage): Update text to provide verbose
381 description of the command line options.
382 * dlltool.c (main): Accept -H as an alias for --help.
383 * nlmconv.c (show_usage): Update text to provide verbose
384 description of the command line options.
385 * nm.c (usage): Replace OPTIONS with option(s).
386 (main): Accept -H as an alias for --help.
387 * objcopy.c (strip_main): Accept -H as an alias for --help.
388 * objdump.c (main): Accept -v as an alias for --verbose.
389 * readelf.c (usage): Adjust format to match style used in
390 other binutils.
391 * size.c (usage): Update text to provide verbose description
392 of the command line options.
393 (main): Accept -v, -h and -H as command line options.
394 * srconv.c (show_usage): Update text to provide verbose
395 description of the command line options.
396 * strings.c (main): Accept -H and -v as command line options.
397 (usage): Update text to provide verbose description of the
398 command line options.
399 * sysdump.c (show_usage): Update text to provide verbose
400 description of the command line options.
401 * windres.c (usage): Adjust format to match style used in
402 other binutils.
403
404 * coffdump.c: Fix formatting.
405 * nlmconv.c: Fix formatting.
406 * srconv.c: Fix formatting.
407 * sysdump.c: Fix formatting.
408
c46f0c34
AM
4092002-01-22 Alan Modra <amodra@bigpond.net.au>
410
411 * Makefile.am: Run "make dep-am".
412 * Makefile.in: Regenerate.
413
2a538ba5
AJ
4142002-01-18 Andreas Jaeger <aj@suse.de>
415
416 * version.c (print_version): Update year.
417
285d1771
AM
4182002-01-17 Alan Modra <amodra@bigpond.net.au>
419
420 * readelf.c (get_machine_name): Handle EM_PPC64.
421 (guess_is_rela): Here too.
422
328577ad
NC
4232002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
424
425 * po/binutils.pot: Regenerate.
426 * po/fr.po: Regenerate.
427 * po/tr.po: Regenerate.
428
af3ae48d
NC
4292002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
430
431 * po/tr.po: Import new version.
432
f1cb7e17
AM
4332002-01-16 Alan Modra <amodra@bigpond.net.au>
434
435 * readelf.c (get_ppc64_dynamic_type): New.
436 (get_dynamic_type): Call it.
437
6364e0b4
NC
4382002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
439
3ab9460d
NC
440 * objcopy.c (copy_usage): Use "options" instead of "switches".
441 (strip_usage): Use "options" instead of "switches".
442 * doc/binutils.texi (dlltool): Refer to "options" instead of
443 "switches".
6364e0b4 444
3a7e524e
RE
4452002-01-14 Richard Earnshaw <rearnsha@arm.com>
446
447 * MAINTAINERS: Add self as co-maintainer for the ARM code.
448
1209e219
NC
4492001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
450
451 * po/es.po: Import from translation project.
452 * configure.in (ALL_LINGUAS): Add es.
453 * configure: Regenerate.
454
b4db1224
JT
4552002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
456
457 * readelf.c (get_netbsd_elfcore_note_type): Use
458 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
459
9437c45b
JT
4602002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
461
462 * readelf.c: Update copyright years.
463 (get_note_type): Return a const char *.
464 (get_netbsd_elfcore_note_type): New function.
465 (process_note): Use get_netbsd_elfcore_note_type to get
466 the note type string for NetBSD ELF core files.
467
00428cca
AM
4682002-01-06 Steve Ellcey <sje@cup.hp.com>
469
470 * readelf.c (get_ia64_segment_type): Add support for macros.
471 (get_segment_type): Add support for IA64 specific macros.
472
31104126
NC
4732001-12-20 Julian v. Bock <julian@wongr.net>
474
475 * readelf.c (print_symbol): New function: Print a formatted symbol
476 name. If --wide is specified do not truncate it.
477 (dump_relocations): Use print_symbol() to print symbol names.
478 (process_symbol_table): Likewise.
479 (process_syminfo): Likewise.
480 (process_mips_specific): Likewise.
481 (usage): Document new feature of --wide switch.
482 * doc/binutils.texi (objdump): Document additional behaviour of
483 --wide.
2a538ba5 484
4dd67f29
MS
4852001-12-18 Michael Snyder <msnyder@redhat.com>
486
487 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
488 (copy_object): Don't set the start address or flags of a core file.
489 (copy_section): Don't relocate a core file. Don't copy contents
490 if the input section has the contents flag set, but the output
491 section does not (which happens with the fake 'note' pseudo-
492 sections that BFD creates for corefiles).
493
43521d43
TS
4942001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
495
496 * readelf.c (get_machine_flags): Recognize header flags for ABI and
497 ASE extensions. More robust code for ISA checking. Ignore empty fields
498 in header flags for GNU extensions.
499
b667df2e
AM
5002001-12-18 Alan Modra <amodra@bigpond.net.au>
501
502 * objcopy.c (copy_archive): Set output bfd format outside the loop.
503
17a5a5c3
NC
5042001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
505
506 * po/ja.po: Import from translation project.
507 * configure.in (ALL_LINGUAS): Add ja.
508 * configure: Regenerate.
509
65de42c0
TS
5102001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
511
512 * addr2line.c (main): Protoype.
513 * ar.c (main): Protoype.
514 * nm.c (main): Protoype.
515 * objcopy.c (main): Protoype.
516 * objdump.c (main): Protoype.
517 * size.c (main): Protoype.
518 * strings.c (main): Protoype.
519
9ad5cbcf
AM
5202001-12-17 Alan Modra <amodra@bigpond.net.au>
521
522 * readelf.c (symtab_shndx_hdr): New global.
523 (SECTION_HEADER_INDEX): Define.
524 (SECTION_HEADER_NUM): Define.
525 (SECTION_HEADER): Define.
526 (GET_ELF_SYMBOLS): Pass two params rather than three.
527 (get_32bit_elf_symbols): Take file and section args. Read and
528 use SHT_SYMTAB_SHNDX.
529 (get_64bit_elf_symbols): Likewise.
530 (dump_relocations): Use SECTION_HEADER to index "section_headers".
531 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
532 Remember symtab_shdx_hdr.
533 (process_program_headers): Scan from index 1 for segment map.
534 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
535 "section_headers".
536 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
537 (process_unwind): Likewise.
538 (process_version_sections): Likewise.
539 (process_symbol_table): Likewise.
540 (display_debug_info): Likewise.
541 (process_dynamic_segment): Fake up a symtab section for changed
542 GET_ELF_SYMBOLS.
543 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
544 (process_program_headers): Kill signed/unsigned warning.
545 (load_debug_str): Likewise.
546 (display_debug_info): Likewise.
547
65765700
JJ
5482001-12-13 Jakub Jelinek <jakub@redhat.com>
549
550 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
551
560f3c1c
AM
5522001-12-11 Alan Modra <amodra@bigpond.net.au>
553
554 * readelf.c (process_file_header): Print extended e_shnum and
555 e_shdtrndx values. Set elf_header values for same.
556 (get_32bit_section_headers): Add "num" arg to read "num" headers.
557 (get_64bit_section_headers): Likewise.
558 (process_section_headers): Update calls.
559 (get_file_header): Call get_32bit_section_headers or 64bit variant.
560
bc408b8a
JJ
5612001-12-10 Jakub Jelinek <jakub@redhat.com>
562
563 * objcopy.c (setup_section): Copy entsize.
564
93fbbb04
GK
5652001-12-07 Geoffrey Keating <geoffk@redhat.com>
566
567 * readelf.c (guess_is_rela): Add support for stormy16.
568 (dump_relocations): Likewise.
569 (get_machine_name): Likewise.
570
e3c8793a
NC
5712001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
572
573 * dllwrap.c (main) Replace multiple strings describing a
574 single error with a single, newline escaped sentence to permit
575 better translation into foreign languages.
576
577 * readelf.c (get_elf_class): Remove internalionalisation of ELF
578 class names.
579
956cd1d6
TS
5802001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
581
582 * strings.c (get_char): Initialize value.
583
956c53ee
TS
5842001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
585
586 * arlex.l: Silence compile warnings.
587 * arsup.h: Likewise. Fix formatting.
588
cedd9a58
JJ
5892001-12-04 Jakub Jelinek <jakub@redhat.com>
590
591 * strings.c: Include config.h before bfd.h.
592 (file_off): New type.
593 (file_open): Define.
594 (print_strings): Use file_off instead of file_ptr. Print addresses
595 which don't fit into long correctly.
596 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
597 available.
598 (strings_file): Use file_off instead of file_ptr. Use file_open.
599 * configure.in: Check for getc_unlocked.
600 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
601 be defined for it.
602 * configure: Rebuilt.
603 * config.h.in: Rebuilt.
604
af667503
L
6052001-11-29 H.J. Lu <hjl@gnu.org>
606
607 * bucomm.c (make_tempname): Revert the changes made on
608 2001-11-14 and 2001-11-12. They won't work with directories.
609
16474668
NC
6102001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
611
612 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
613 CFLAGS_FOR_TARGET to runtest in environment.
614 * Makefile.in: Rebuild.
615 * doc/Makefile.in: Rebuild.
616
17978339
MS
6172001-11-28 Mike Stump <mrs@wrs.com>
618
619 * objcopy.c (setup_section): Preserve SEC_RELOC when
620 --set-section-flags is used.
621
261a45ad
NC
6222001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
623
624 * readelf.c (do_debug_str): New variable.
625 (display_debug_str): New function: Display the contents of a
626 .debug_str section.
627 (load_debug_str): New function: Load in the contents of a
628 .debug_str section.
629 (free_debug_str): New function: Free the memory used by
630 load_debug_str().
631 (fetch_indirect_string): Retrieve a string from the .debug_str
632 section.
633 (usage): Add -ws.
634 (parse_args): Accept -ws.
635 (process_section_headers): Allow the display of the .debug_str
636 section.
637 (read_and_display_attr_value): Use fetch_indirect_string. Show
638 offset into .debug_str section.
639 (display_debug_info): Use load_debug_str and free_debug_str.
640 (debug_displays): Add .debug_str.
641 * doc/binutils.texi: Document -ws.
642
b8908f93
AJ
6432001-11-19 Andreas Jaeger <aj@suse.de>
644
645 * testsuite/binutils-all/objdump.exp: Add x86-64.
646
e5fb9629
AS
6472001-11-15 Andreas Schwab <schwab@suse.de>
648
649 * readelf.c: Fix warnings without terminating newline.
650
802a735e
AM
6512001-11-15 Alan Modra <amodra@bigpond.net.au>
652
653 * doc/binutils.texi (objdump): Document ppc -M options.
654
b89e9eae
AJ
6552001-11-14 Andreas Jaeger <aj@suse.de>
656
657 * doc/binutils.texi (objdump): Fix description to use x86-64.
658
a6a25652
NC
6592001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
660
661 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
662 not all systems provide mkstemp.
663
e396998b
AM
6642001-11-14 Alan Modra <amodra@bigpond.net.au>
665
666 * doc/binutils.texi (objdump): Document x86 -M options.
667
81766fca
RH
6682001-11-13 Keith Walker <keith.walker@arm.com>
669
670 * readelf.c (read_and_display_attr_value): New function to
671 handle DW_FORM_indirect.
672 (read_and_display_attr): Use it.
673
1a509dcc
GK
6742001-11-13 Geoffrey Keating <geoffk@redhat.com>
675
676 * readelf.c (display_debug_lines): Deal with unknown standard
677 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
678 DW_LNS_set_isa.
679
6e917903 6802001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 681
6e917903
TW
682 * MAINTAINERS: Add self as tic54x maintainer. This target
683 includes the IBM C54XDSP clone.
7559e86e 684
6e917903 6852001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 686
7559e86e
NC
687 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
688
6892001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 690
ecdadc4a
JL
691 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
692 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
693 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
694 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
695 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
696 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
697 (unw_decode_b2, unw_decode_b3_b4): Likewise.
698
91770270
JL
699 * readelf.c (get_elf_class): Fix ISO portability glitch.
700 (get_data_encoding, get_osabi_name, request_dump): Likewise.
701
ef5cdfc7
JJ
7022001-11-07 Jakub Jelinek <jakub@redhat.com>
703
704 * readelf.c (debug_str, debug_str_size): New.
705 (display_debug_abbrev): If no abbrevs were read, skip the CU.
706 Call free_abbrevs.
707 (read_and_display_addr): Handle DW_FORM_strp.
708 (display_debug_info): Read .debug_str section if present,
709 so that DW_FORM_strp can be handled.
710 Fix test for non-existant .debug_abbrev section.
711
5e9520c8
JJ
7122001-11-05 Jakub Jelinek <jakub@redhat.com>
713
714 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
715
716 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
717
54589086
MS
7182001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
719
720 * MAINTAINERS: Add self as s390/s390x maintainer.
721
c05b685b
TR
7222001-11-02 Tom Rix <trix@bluey.cygnus.com>
723
724 * MAINTAINERS: Add self as PPC XCOFF maintainer.
725
3c62831e
NC
7262001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
727
728 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
729 * configure: Regernate.
730 * po/fr.po: New file.
731 * po/tr.po: New file.
732
3c3bdf30
NC
7332001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
734
9b19141a 735 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
736 * readelf.c: Include elf/mmix.h.
737 (guess_is_rela): MMIX is RELA.
738 (dump_relocations): Handle MMIX relocations.
739 * Makefile.am: Regenerate dependencies.
740 * Makefile.in: Regenerate.
741
f662939a
NC
7422001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
743
744 * readelf.c (parse_args): Handle multiple options to the -w
745 switch.
746
c91d0dfb
JJ
7472001-10-12 Jakub Jelinek <jakub@redhat.com>
748
749 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
750 LOPROC, LOOS and LOUSER.
751
7559e86e 7522001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
753
754 * MAINTAINERS: Update my email address.
755
fcd8210c
AM
7562001-10-03 Alan Modra <amodra@bigpond.net.au>
757
758 * doc/Makefile.in: Regenerate.
759 * configure: Regenerate.
760
428409d5
NC
7612001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
762
763 * readelf.c (display_debug_line, display_debug_pubnames,
764 display_debug_info, display_debug_frames): Detect and warn
765 about 64-bit format entries.
766 (display_debug_aranges): Reword 64-bit warning.
767 (debug_displays): Add .debug_pubtypes as a known, but not yet
768 supported, debug section.
769
6a8c2b0d
AM
7702001-10-02 Alan Modra <amodra@bigpond.net.au>
771
772 * coffdump.c (PROGRAM_VERSION): Delete.
773 (main <'V'>): Call print_version.
774 * srconv.c: Likewise.
775 * sysdump.c: Likewise.
776 * version.c (program_version): Remove.
777 (print_version): Use BFD_VERSION_STRING. Just print the current
778 year in copyright message.
779 * addr2line.c (program_version): Remove unused declaration.
780 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
781 place of BFD_VERSION.
782 * Makefile.am (Makefile): Depend on bfd/configure.in.
783 (cplus-dem.o): Depend on Makefile.
784 Run "make dep-am".
785 * Makefile.in: Regenerate.
786
e414a165
NC
7872001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
788
789 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
790 format .debug_arange sections.
791 (main): Add missing prototype.
b8908f93 792
efc3ee7f
HPN
7932001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
794
795 * Makefile.am: Update dependencies with "make dep-am".
796 * Makefile.in: Regenerate.
797
9e85c2a0
RH
7982001-09-28 Richard Henderson <rth@redhat.com>
799
800 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
801
451dad9c
AM
8022001-09-26 Alan Modra <amodra@bigpond.net.au>
803
804 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
805 VA_CLOSE.
806 (non_fatal): Likewise.
807 * objdump.c (objdump_sprintf): Likewise.
808 * readelf.c (error): Likewise.
809 (warn): Likewise.
810
d974e256
JJ
8112001-09-25 Jakub Jelinek <jakub@redhat.com>
812
813 * readelf.c (do_wide): New.
814 (options): Add --wide.
815 (usage, parse_args): Likewise.
816 (process_program_headers): Put each segment on a single line if
817 --wide is given.
818 (process_section_headers): Put each section on a single line if
819 --wide is given.
820 * doc/binutils.texi: Document it.
821 * NEWS: Likewise.
822
2f11c261
AM
8232001-09-25 Alan Modra <amodra@bigpond.net.au>
824
825 * readelf.c (print_vma): Print 8 digits of low hex value.
826
1d50f91e
AJ
8272001-09-24 Andreas Jaeger <aj@suse.de>
828
829 * nlmconv.c: Fix warnings about unused attributes and function
830 prototypes.
831
832 * strings.c: Add prototype for get_char.
833
38131e67
L
8342000-09-19 H.J. Lu <hjl@gnu.org>
835
836 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
837 $(srcdir)/cxxfilt.man.
838 * doc/Makefile.in: Rebuild.
839
3bcfb3e4
AM
8402001-09-19 Alan Modra <amodra@bigpond.net.au>
841
842 * objcopy.c (copy_main): Correct rename-section string parsing.
843 Consolidate new_name parsing, and error messages.
844
3882b010
L
8452001-09-18 Bruno Haible <haible@clisp.cons.org>
846
847 * addr2line.c: Don't include <ctype.h>.
848 (main): For gettext, also set the LC_CTYPE locate facet.
849 * ar.c (main): Likewise.
850 * coffdump.c (main): Likewise.
851 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
852 (main): For gettext, also set the LC_CTYPE locate facet.
853 Use ISALNUM instead of isalpha/isdigit.
854 * dllwrap.c: Don't include <ctype.h>.
855 (main): For gettext, also set the LC_CTYPE locate facet.
856 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
857 (main): For gettext, also set the LC_CTYPE locate facet.
858 Use TOUPPER instead of islower/toupper.
859 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
860 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
861 Use TOUPPER instead of islower/toupper.
862 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
863 * objcopy.c (main): Likewise.
864 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
865 (disassemble_bytes): Use ISPRINT instead of isprint.
866 (dump_section_stabs): Use ISDIGIT instead of isdigit.
867 (dump_data): Use ISPRINT instead of isprint.
868 (main): For gettext, also set the LC_CTYPE locate facet.
869 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
870 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
871 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
872 Use TOUPPER instead of islower/toupper.
873 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
874 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
875 (write_rc_accelerators): Use ISPRINT instead of isprint.
876 (write_rc_rcdata): Likewise.
877 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
878 * srconv.c (main): Likewise.
879 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
880 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
881 isdigit/isupper/islower.
882 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
883 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
884 stab_demangle_prefix, stab_demangle_qualified,
885 stab_demangle_template, stab_demangle_type,
886 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
887 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
888 (isgraphic): Use ISPRINT instead of isascii/isprint.
889 (main): Remove HAVE_LC_MESSAGES dependency.
890 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
891 (pbarray): Use ISPRINT instead of isprint.
892 (main): For gettext, also set the LC_CTYPE locate facet.
893 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
894 (format_from_filename): Use ISPRINT instead of isprint.
895 (main): For gettext, also set the LC_CTYPE locate facet.
896 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
897 (unicode_print): Use ISPRINT instead of isprint.
898 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
899 (stab_variable): Use ISDIGIT instead of isdigit.
900
e59b4dfb
AM
9012001-09-18 Alan Modra <amodra@bigpond.net.au>
902
903 * ar.c (print_contents): Cast args of bfd_seek to the right types.
904 Replace bfd_read call with call to bfd_bread.
905 (extract_file): Likewise.
906
907 * objdump.c (dump_section_header): Cast section->filepos to
908 unsigned long to suit printf format string.
909 * readelf.c (process_section_headers): Similarly for sh_offset.
910 (process_unwind): Likewise.
911
d132876a
NC
9122001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
913
914 * strings.c (encoding, encoding_bytes): New variables.
915 (long_options): Add --encoding.
916 (main): Accept -e and --encoding.
917 (get_char): New function. Read a, possibly wide, character from
918 the input stream.
919 (print_strings): Use get_char().
920 (usage): Document new command line option.
921 * doc/binutils.texi: Document new command line option.
922 * NEWS: Announce new command line option.
923
7559e86e 9242001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
925
926 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
927 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
928 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
929 Removed EM_CYGNUS_ARC.
930
7559e86e 9312001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
932
933 * readelf.c: Include elf/h8 for H8 series definitions.
934 (guess_is_rela): H8 series if RELA.
935 (dump_relocations): Handle H8 series relocations.
936
0823fbca
EC
9372001-08-31 Eric Christopher <echristo@redhat.com>
938
939 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
940
8db76d70
PT
9412001-08-29 Peter Targett <peter.targett@arccores.com>
942
943 * MAINTAINERS: Include ARC Maintainer.
944
d81d6584
BE
9452001-08-29 Ben Elliston <bje@redhat.com>
946
947 * stabs.c (stab_demangle_template): Initialise s4.
948
25a1ff5b
AM
9492001-08-27 Alan Modra <amodra@bigpond.net.au>
950
951 * readelf.c (dump_relocations): Recognise EM_PPC64.
952
a5d22d2a
TS
9532001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
954
955 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
956
62a5a82d
L
9572001-08-25 H.J. Lu <hjl@gnu.org>
958
959 * nm.c (print_width): New.
960 (display_rel_file): Set `print_width' according to
961 bfd_sprintf_vma.
962 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
963
1ae8b3d2
AO
9642001-08-24 Alexandre Oliva <aoliva@redhat.com>
965
966 * objcopy.c (use_alt_mach_code): New variable.
967 (OPTION_ALT_MACH_CODE): Define.
968 (copy_options): Added --alt-machine-code.
969 (copy_main): Handle it.
970 (copy_object): Switch to alternate machine code if requested.
971 * doc/binutils.texi: Document new option.
972 * NEWS: Likewise.
973
d1bdd336
TS
9742001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
975
976 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
977
410f7a12
L
9782001-08-21 H.J. Lu <hjl@gnu.org>
979
980 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
981 (display_debug_info): Cast for 64bit hosts.
982 (display_debug_frames): Likewise.
983 (process_mips_specific): Likewise.
984
c32144ff
AJ
9852001-08-21 Andreas Jaeger <aj@suse.de>
986
987 * coffgrok.h: Add missing parameter for prototype of coff_grok.
988
989 * sysdump.c: Add missing prototypes.
990 * srconv.c: Likewise.
991 * unwind-ia64.c: Likewise.
992 * coffdump.c: Likewise.
993
994 * sysinfo.y: Print prototypes, include <ansidecl.h>.
995
996 * coffgrok.c: Add missing prototypes, include libiberty.h instead
997 of declaring xcalloc.
998
d8180c76
L
9992001-08-10 H.J. Lu <hjl@gnu.org>
1000
1001 * nm.c (print_value): Add one arg, bfd *.
1002 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1003 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1004 (print_symbol_info_sysv): Likewise.
1005 (print_symbol_info_posix): Likewise.
1006
1007 * objdump.c (dump_section_header): Replace printf_vma with
1008 bfd_printf_vma.
1009 (print_section_stabs): Likewise.
1010 (dump_bfd_header): Likewise.
1011 (objdump_print_value): Replace sprintf_vma with
1012 bfd_sprintf_vma.
1013 (disassemble_bytes): Likewise.
1014 (dump_reloc_set): Likewise.
1015
0218d1e4
AJ
10162001-08-10 Andreas Jaeger <aj@suse.de>
1017
1018 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1019 to build warnings.
1020 * configure: Regenerate.
1021
2863d58a
AM
10222001-08-09 Alan Modra <amodra@bigpond.net.au>
1023
1024 * readelf.c: Add missing prototypes.
1025 * objdump.c: Likewise. Format existing prototypes.
1026
c0e047e0
AO
10272001-08-08 Alexandre Oliva <aoliva@redhat.com>
1028
1029 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1030 of any RELA relocation for the abbrev_offset memory location that
1031 refers to the .debug_abbrev section symbol.
1032
ff78d6d6
L
10332001-08-07 H.J. Lu <hjl@gnu.org>
1034
1035 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1036 (main): Return process_file ().
1037
c36774d6
PB
10382001-08-05 Philip Blundell <philb@gnu.org>
1039
1040 * doc/binutils.texi: Use "Thumb" not "THUMB".
1041
8f9d9bd9
JH
10422001-08-03 John Healy <jhealy@redhat.com>
1043
1044 Patch suggested by Frank Eigler <fche@redhat.com>.
1045 * objdump.c (disassemble_data): Fill in section member of the
1046 disasm_info structure.
1047
c918cb96
DD
10482001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1049
1050 * configure.in: Added --with-windres option.
1051 * configure: Regenerated.
1052
c7c55b78
NC
10532001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1054
1055 * doc/binutils.texi: Use @command{name} for commands;
1056 use @option{-opt} for options; use @table @env for list of options;
1057 remove spaces arround [ | ] in synopsis.
1058
1059 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1060 center title.
1061
594ef5db
NC
10622001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1063
1064 * objcopy.c: Fix formatting.
1065 (section_rename): New structure.
1066 (OPTION_RENAME_SECTION): New switch.
1067 (copy_usage): Document new switch.
1068 (add_section_rename): New function: Add a node to the section
1069 rename list.
1070 (find_section_rename): New function: Find the new name and
1071 flags for a section.
1072 (setup_section): Call find_section_name to determine the name
1073 of the output section.
1074 (copy_main): Handle OPTION_RENAME_SECTION.
1075 * binutils.texi: Document new switch.
1076 * NEWS: Mention new switch.
1077
1f554c69
NC
10782001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1079
1080 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1081 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1082 bug-binutils@gcc.org.
1083
2f83960e
AM
10842001-07-28 Matthias Kramm <kramm@quiss.org>
1085
1086 * bucomm.c (list_supported_architectures): New function.
1087 * bucomm.h (list_supported_architectures): Declare.
1088 * objdump.c (usage): Call the above.
1089
20fe0649
DB
10902001-07-25 Dave Brolley <brolley@redhat.com>
1091
1092 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1093 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1094
1b577b00
NC
10952001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1096
1097 * README: Update for 2.11. Change bug reporting email address.
1098 * MAINTAINERS: Tidy up. Change bug reporting email address.
1099
95fd336c
DD
11002001-07-16 DJ Delorie <dj@redhat.com>
1101
5f16d855
DD
1102 * resres.c (write_res_header): Align header size.
1103 (res_align_file): Calculate alignment correctly.
1104
95fd336c
DD
1105 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1106 correct 10).
1107 * resrc.c (write_rc_resource): Likewise.
1108 * windres.h (SUBLANG_SHIFT): Define - as 10.
1109
ed8fee27
NC
11102001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1111
1112 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1113
90ab7e9a
NC
11142001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1115
1116 * MAINTAINERS: Add notes about branch checkins.
1117
e0c60db2
NC
11182001-07-05 Daniel Berlin <dan@cgsoftware.com>
1119
1120 * readelf.c (display_debug_macinfo): New function, display
1121 .debug_macinfo section.
1122 (do_debug_macinfo): New variable.
1123 (parse_args): Handle "-w[mM]" to mean display macro info.
1124 (process_section_headers): Handle debug_macinfo.
1125 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1126 function for .debug_macinfo display.
e0c60db2
NC
1127 * doc/binutils.texi: Document new command line switch.
1128 * NEWS: Document new feature of readelf.
0218d1e4 1129
24e01a36
L
11302001-07-05 H.J. Lu <hjl@gnu.org>
1131
1132 * objcopy.c (filter_symbols): Don't turn undefined symbols
1133 into local.
1134
4258bf4d
L
11352001-07-03 H.J. Lu <hjl@gnu.org>
1136
1137 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1138 $@.pod.
1139 (ar.1): Likewise.
1140 (dlltool.1): Likewise.
1141 (nlmconv.1): Likewise.
1142 (nm.1): Likewise.
1143 (objcopy.1): Likewise.
1144 (objdump.1): Likewise.
1145 (ranlib.1): Likewise.
1146 (readelf.1): Likewise.
1147 (size.1): Likewise.
1148 (strings.1): Likewise.
1149 (strip.1): Likewise.
1150 (windres.1): Likewise.
1151 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1152 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1153 $(DEMANGLER_NAME).
1154 (as.1): Removed.
1155 * doc/Makefile.in: Regenerated.
1156
7014bc31
NC
11572001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1158
1159 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1160
b811889f
NC
11612001-07-01 Daniel Berlin <dan@cgsoftware.com>
1162
1163 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1164
12ab83a9
NC
11652001-06-29 James Cownie <jcownie@etnus.com>
1166
1167 * readelf.c: Support DWARF 2.1 attributes.
1168
a6e9f9df
AM
11692001-06-28 Alan Modra <amodra@bigpond.net.au>
1170
1171 * readelf.c (GET_DATA_ALLOC): Remove.
1172 (GET_DATA): Remove.
1173 (get_data): New function combining above macros, with an extra
1174 test for zero size.
1175 (slurp_rela_relocs): Use get_data, and catch error return.
1176 (slurp_rel_relocs): Likewise.
1177 (get_32bit_program_headers): Likewise.
1178 (get_64bit_program_headers): Likewise.
1179 (get_32bit_section_headers): Likewise.
1180 (get_64bit_section_headers): Likewise.
1181 (get_32bit_elf_symbols): Likewise.
1182 (get_64bit_elf_symbols): Likewise.
1183 (process_section_headers): Likewise.
1184 (process_relocs): Likewise.
1185 (slurp_ia64_unwind_table): Likewise.
1186 (process_unwind): Likewise.
1187 (get_32bit_dynamic_segment): Likewise.
1188 (get_64bit_dynamic_segment): Likewise.
1189 (process_dynamic_segment): Likewise.
1190 (process_version_sections): Likewise.
1191 (process_symbol_table): Likewise.
1192 (dump_section): Likewise.
1193 (display_debug_info): Likewise.
1194 (display_debug_section): Likewise.
1195 (process_section_contents): Likewise.
1196 (process_corefile_note_segment): Likewise.
1197 (process_mips_specific): Likewise. Also free econf32, econf64.
1198
af3fc3bc
AM
11992001-06-25 Alan Modra <amodra@bigpond.net.au>
1200
1201 * readelf.c (dump_relocations): Print "bad symbol index" if
1202 symtab == NULL with non-zero symtab_index.
1203 (process_relocs): Don't bomb if reloc section has no symsec.
1204
6d900bf6
L
12052001-06-24 H.J. Lu <hjl@gnu.org>
1206
1207 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1208 by accident.
1209 (copy_main): Apply the the change made to strip_main on
1210 2001-05-30 by accident.
1211
49b4e386
AJ
12122001-06-23 Andreas Jaeger <aj@suse.de>
1213
1214 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1215 parameter 'code'.
1216 (unw_decode_x2): Likewise.
1217 (unw_decode_x3): Likewise.
1218 (unw_decode_x4): Likewise.
1219
d8dc71e3
BE
12202001-06-23 Ben Elliston <bje@redhat.com>
1221
1222 * MAINTAINERS: Add myself as M88k maintainer.
1223
af3bdff7
NC
12242001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1225
1226 * objcopy.c (strip_main): Support -o or --output-file command lien
1227 switch.
1228
105e7211
L
12292001-06-19 H.J. Lu <hjl@gnu.org>
1230
1231 * doc/Makefile.in: Regenerated.
1232
c45021f2
NC
12332001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1234
1235 * readelf.c: Restore formatting.
1236
12372001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1238
1239 * Makefile.am: Move documentation into doc subdirectory.
1240 * Makefile.in: Regenerated.
1241 * binutils.texi: Move into doc subdirectory.
1242 * addr2line.1: Removed.
1243 * ar.1: Likewise.
1244 * dlltool.1: Likewise.
1245 * nlmconv.1: Likewise.
1246 * nm.1: Likewise.
1247 * objcopy.1: Likewise.
1248 * objdump.1: Likewise.
1249 * ranlib.1: Likewise.
1250 * readelf.1: Likewise.
1251 * size.1: Likewise.
1252 * strings.1: Likewise.
1253 * strip.1: Likewise.
1254 * windres.1: Likewise.
1255 * cxxfilt.man: Likewise.
1256 * doc: New Directory.
1257 * doc/Makefile.am: New file.
1258 * doc/Makefile.in: Generate.
1259
09ad7db3
AM
12602001-06-09 Alan Modra <amodra@bigpond.net.au>
1261
1262 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1263
936260fe
AM
12642001-06-01 Alan Modra <amodra@bigpond.net.au>
1265
1266 * MAINTAINERS: Update my email address.
1267
16b2b71c
NC
12682001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1269
1270 * objcopy.c: Add new switches: --keep-global-symbol,
1271 --keep-symbols, --localize-symbols, --keep-global-symbols and
1272 --weaken-symbols.
1273 * binutils.texi: Document new switches.
1274 * objcopy.1: Regenerate.
1275 * NEWS: Announce new feature.
1276
7036c0e1
AJ
12772001-05-28 Andreas Jaeger <aj@suse.de>
1278
1279 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1280 variables, fix format strings.
1281
76a406e5
NC
12822001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1283
1284 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1285 when computing the address of the line to show.
1286
31b6fca6
RH
12872001-05-16 Richard Henderson <rth@redhat.com>
1288
1289 * readelf.c (do_debug_frames_interp): New.
1290 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1291 (byte_get_big_endian): Likewise.
1292 (parse_args) ['F']: Set do_debug_frames_interp.
1293 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1294 (frame_display_row): Don't trunc pc_begin to int.
1295 (size_of_encoded_value): New.
1296 (display_debug_frames): Handle 64-bit targets. Print raw data
1297 unless do_debug_frames_interp.
1298 (debug_displays): Remove duplicate .debug_frame.
1299
4fe85591
NC
13002001-05-15 Ralf Baechle <ralf@gnu.org>
1301
1302 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1303 The former constant was never in active use and is used otherwise
1304 by the ABI.
1305
579f31ac
JJ
13062001-05-11 Jakub Jelinek <jakub@redhat.com>
1307
1308 * readelf.c (process_unwind): Print all unwind sections, not just
1309 one.
1310
78f4a3f7
AM
13112001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1312
1313 * readelf.c (process_unwind): Remove const specifier.
1314
1c529ca6
NC
13152001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1316
1317 * strings.c (isgraphic): Do not use isascii() unless it is needed
1318 for isprint() to work.
1319 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1320
87e6d782
NC
13212001-04-27 Johan Rydberg <jrydberg@opencores.org>
1322
1323 * NEWS: Announce support for OpenRISC.
1324
4bd3d870 13252001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1326
1327 * dlltool.c (do_default_excludes): Initialise to true.
1328
21211521
AM
13292001-04-10 Alan Modra <amodra@one.net.au>
1330
1331 * MAINTAINERS: Update my email address
1332 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1333
0c66b61e 13342001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1335
1336 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1337
e58d53af
L
13382001-03-30 H.J. Lu <hjl@gnu.org>
1339
1340 * readelf.c (process_unwind): Just return if do_unwind is 0.
1341
bee72332
DD
13422001-03-28 Roger Sayle <roger@metaphorics.com>
1343
1344 * dlltool.c (make_one_lib_file): Fix section flags for
1345 .text, .data and .bss in stub ds*.o files to match those
1346 generated by gas.
1347
f1467e33
L
13482001-03-29 H.J. Lu <hjl@gnu.org>
1349
1350 * readelf.c (process_unwind): Only do unwind sections for
1351 IA64.
1352
1c6fb4fe
L
13532001-03-28 H.J. Lu <hjl@gnu.org>
1354
1355 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1356 * Makefile.in: Regenerate.
1357
0879a67a
AJ
13582001-03-26 Andreas Jaeger <aj@suse.de>
1359
1360 * binutils.texi (nm): Fix texi syntax.
1361
0285c67d
NC
13622001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1363
1364 * binutils.texi: Put @c man begin and @c man end indications
1365 to generate man pages using texi2pod and pod2man. Put @c man title
1366 to identify each man. Add SEEALSO entries.
1367 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1368 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1369 sort the list.
1370 (*.1): Build the man pages from binutils.texi.
1371 * Makefile.in: Regenerate.
1372
04847a4d
CF
13732001-03-13 Eric Kohl <ekohl@rz-online.de>
1374
1375 * defparse.y (opt_equal_name): allow "." in name.
1376 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1377 (gen_exp_file): Likewise.
1378
43a0748c
NC
13792001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1380
1381 * NEWS: Document addition of -B switch to objcopy.
1382 * binutils.texi: Document addition of -B switch to objcopy.
1383 * objcopy.c: (copy_options): Add --binary-architecture.
1384 (copy_usage): Document -B/--binary-architecture.
1385 (copy_main): Support -B/--binary-architecture. Set
1386 bfd_external_binary_architecture.
0879a67a 1387
b7498e0e
NC
13882001-03-11 Andreas Jaeger <aj@suse.de>
1389
1390 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1391 (dump_relocations): Likewise.
1392 (get_machine_name): Likewise.
1393
a59e3bd7
NC
13942001-02-28 Nick Clifton <nickc@redhat.com>
1395
1396 * readelf.c: (struct unw_aux_info): Remove const modifier for
1397 'strtab' field.
1398 (process_unwind): Remove non-K&R compliant LHS type cast in call
1399 to GET_DATA_ALLOC macro.
1400
a5bcd848
PB
14012001-02-28 Philip Blundell <pb@futuretv.com>
1402
1403 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1404 ABI is in use; remove ambiguity between the "unknown" EABI and
1405 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1406 renamed EF_xx constants.
1407
27b7e12d
AM
14082001-02-27 Alan Modra <alan@linuxcare.com.au>
1409
1410 * configure.in (BFD_VERSION): New.
1411 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1412 * configure: Regenerate.
1413 * Makefile.am: Run "make dep-am"
1414 * Makefile.in: Regenerate.
1415
a9f10786
NC
14162001-02-14 Nick Clifton <nickc@redhat.com>
1417
1418 * MAINTAINERS: Add "Obvious Fix" rule.
1419
3c44da9a
MS
14202001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1421
1422 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1423 literal concatenation.
1424
ecd03389
MS
14252001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1426
1427 * readelf.c (struct unw_aux_info): Remove const from the info member.
1428 (process_unwind): Don't type-cast the third argument to the
1429 GET_DATA_ALLOC macro.
1430
88ec60c7
NC
14312001-02-11 Nick Clifton <nickc@redhat.com>
1432
1433 * readelf.c (dump_relocations): Free corrected allocated
1434 array.
1435 (process_unwind): Fix compile time warning.
1436
f5e21966
NC
14372001-02-10 Nick Clifton <nickc@redhat.com>
1438
1439 * binutils.texi: Document new --unwind option to readelf.
1440
a85d7ed0
NC
14412001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1442
1443 * readelf.c: Add linux target for S/390.
1444
7bb10502
AM
14452001-02-10 Alan Modra <alan@linuxcare.com.au>
1446
1447 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1448 printf is a macro.
1449
8ca8f343
HPN
14502001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1451
1452 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1453 * aclocal.m4: Regenerate.
1454 * configure: Regenerate.
1455
7340082d
NC
14562001-02-07 Todd Vierling <tv@wasabisystems.com>
1457
1458 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1459 * objdump.c (bfd_target_vector): Likewise.
1460
4d6ed7c8
NC
14612001-02-07 David Mosberger <davidm@hpl.hp.com>
1462
1463 * readelf.c (process_unwind): New function.
1464 (slurp_ia64_unwind_table): Ditto.
1465 (dump_ia64_unwind): Ditto.
1466 (find_symbol_for_address): Ditto.
1467 (slurp_rela_relocs): New function (split off from dump_relocations()).
1468 (slurp_rel_relocs): Ditto.
1469 (parse_args): Handle '-u' option.
1470
1471 * unwind-ia64.c: New file.
1472 * unwind-ia64.h: New file.
1473 * Makefile.am: Include unwind-ia64.c in readelf build.
1474 * Makefile.in: Regenerate.
7340082d 1475 * po/binutils.pot: Regenerate.
4d6ed7c8 1476
c7217458
PB
14772001-02-04 Philip Blundell <philb@gnu.org>
1478
1479 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1480 * configure: Regenerate.
1481
956eedd4
AM
14822001-01-31 Steve deRosier <sderosier@vari-lite.com>
1483
1484 * ieee.c (ieee_add_bb11): Don't check for backslashes
1485 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1486
8855cbca
AM
14872001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1488
c7f2731e
AM
1489 * ieee.c: Update copyright.
1490 (ieee_start_compilation_unit): Don't check for backslashes
1491 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1492
8855cbca
AM
1493 * stabs.c: Update copyright. Include "filenames.h".
1494 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1495
329de803 14962001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1497
1498 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1499 sections are present before using them. Remove code duplication.
1500 (process_symbol_table): Check if VERDEF or VERNEED sections are
1501 present before using them.
1502
23719f39
NC
15032001-01-17 Nick Clifton <nickc@redhat.com>
1504
1505 * objcopy.c (copy_object): Fail if attempting to convert the
1506 endianness of the input object file.
1507
1508 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1509
f726e849
NC
15102001-01-16 Nick Clifton <nickc@redhat.com>
1511
1512 * readelf.c (string_table_length): New variable.
1513 (SECTION_NAME): Catch out of range indices and missing section
1514 pointers.
1515 (process_section_headers): Delete useless local variable
1516 string_table_offset. Set the value of string_table_length
1517 after loading the string table.
1518 (process_mips_specific): Use SECTION_NAME macro.
1519 (process_file): Set string_table_length to 0 when it is freed.
1520
d0398d6a
NC
15212001-01-12 Nick Clifton <nickc@redhat.com>
1522
1523 * version.c (print_version): Update copyright date.
1524
0d2bcfaf
NC
15252001-01-11 Peter Targett <peter.targett@arccores.com>
1526
1527 * readelf.c (dump_relocations): Include selection with EM_ARC.
1528 (get_machine_name) Update name to "ARC".
1529
8b1e6df3
NC
15302001-01-09 Nick Clifton <nickc@redhat.com>
1531
1532 * Makefile.am: Add rule to build objdump.o from objdump.c and
1533 using OBJDUMP_DEFS.
1534 * Makefile.in: Regenerate.
1535
1536 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1537 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1538 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1539 * configure: Regenerate.
8b1e6df3
NC
1540
1541 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1542 is defined read in the relocs even if dump_reloc_info is
1543 false.
1544
2f952d20
PB
15452001-01-07 Philip Blundell <philb@gnu.org>
1546
1547 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1548 `bug-binutils'.
1549 * README: Likewise.
1550
a8c548cb
NC
15512000-12-19 Nick Clifton <nickc@redhat.com>
1552
1553 * dlltool.c: Add missing support for arm-epoc-pe.
1554 * configure.in: Add missing support for arm-epoc-pe.
1555 * configure: Regenerate.
1556
cc5fda35
NC
15572000-12-15 Nick Clifton <nickc@redhat.com>
1558
1559 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1560 Mode parts of the x86 port.
1561
bcedfee6
NC
15622000-12-04 Andreas Jaeger <aj@suse.de>
1563
1564 * readelf.c (guess_is_rela): Add EM_X86_64.
1565 (dump_relocations): Add EM_X86_64.
1566 (get_machine_name): Add EM_X86_64.
1567 Include "elf/x86-64.h".
1568
584da044
NC
15692000-12-12 Nick Clifton <nickc@redhat.com>
1570
1571 * readelf.c: Fix formatting.
1572
7559e86e 15732000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1574
1575 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1576
a98cc2b2
AH
15772000-12-07 Andrew Haley <aph@redhat.com>
1578
1579 * readelf.c (display_debug_frames): Only display columns that are
1580 referenced by the frame debug info.
1581
c7987a69
NC
15822000-12-05 Nick Clifton <nickc@redhat.com>
1583
1584 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1585
09fd7e38
JM
15862000-12-04 Jason Merrill <jason@redhat.com>
1587
1588 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1589 (display_debug_section): Likewise.
1590 (display_debug_info): Display CU header before bailing.
1591
e7af610e
NC
15922000-12-01 Chris Demetriou <cgd@sibyte.com>
1593
09fd7e38
JM
1594 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1595 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1596 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1597
09fd7e38
JM
1598 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1599 and E_MIPS_ARCH_64.
84ea6cf2 1600
09fd7e38
JM
1601 * readelf.c (get_machine_flags): Add case for
1602 E_MIPS_MACH_SB1.
c6c98b38 1603
75066968
DD
16042000-11-30 Richard Earnshaw <rearnsha@arm.com>
1605
1606 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1607
5c4666ea
HPN
16082000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1609