include/elf:
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
179d3252
JT
12002-07-01 Matt Thomas <matt@3am-software.com>
2
3 * readelf.c: Include "elf/vax.h".
4 (guess_is_rela): Move EM_VAX from unknown to RELA case.
5 (dump_relocations): Handle VAX relocations.
6 (get_machine_flags): Handle VAX machine flags.
7
75751cd9
SC
82002-06-29 Stephane Carrez <stcarrez@nerim.fr>
9
10 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
11
e5851ab8
NC
122002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
13
14 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
15
eb3f2f5c
AM
162002-06-26 Alan Modra <amodra@bigpond.net.au>
17
18 * nm.c (print_symname): When demangling, strip leading dots from
19 symbol names to avoid confusing the demangler.
20
a13a0de8
L
212002-06-25 H.J. Lu <hjl@gnu.org>
22
23 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
24 * Makefile.in: Regenerated.
25
6db7a086
AM
262002-06-21 Igor Schein <igor@txc.com>
27
28 * configure.in: Quote bu_cv_have_fopen64.
29 * configure: Regenerate.
30
9710509e
AM
312002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
32
33 * configure.in: Check for strcoll.
34 * configure: Regenerate.
35 * config.in: Regenerate.
36 * nm.c (main): Set locale for LC_COLLATE category.
37 (non_numeric_forward): Use strcoll if available.
38
a9f0b5e7
DB
392002-06-20 Dave Brolley <brolley@redhat.com>
40
41 * MAINTAINERS: Add self as fr30 and frv maintainer.
42
33f5f537
L
432002-06-18 H.J. Lu (hjl@gnu.org)
44
45 * nm.c: Include "elf/common.h".
46 (extended_symbol_info): Add elfinfo, a pointer to
47 elf_symbol_type.
48 (SYM_SIZE): Use elfinfo if it is not NULL.
49 (get_symbol_type): New function.
50 (display_archive): Set print_width for each archive member.
51 (display_file): Likewise.
52 (display_rel_file): Don't set print_width here.
53 (print_object_filename_sysv): Handle print_width.
54 (print_archive_member_sysv): Likewise.
55 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
56 (print_symbol): Set the elfinfo field in extended_symbol_info
57 for ELF.
58 (print_object_filename_sysv): Fix the output format.
59 (print_symbol_info_sysv): Print type and section for ELF.
60
612002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
62
63 * nm.c (print_size_symbols): Remove assignment, which makes
64 the symbol's size equal to its value when --size-sort is
65 used.
66
5c70f934
DB
672002-06-18 Dave Brolley <brolley@redhat.com>
68
69 From Catherine Moore:
70 * readelf.c (elf/frv.h): #include it.
71 (guess_is_rela): Support EM_CYGNUS_FRV.
72 (dump_relocations): Ditto.
73 (get_machine_name): Ditto.
74 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
75
7ece0d85
JJ
762002-06-18 Jakub Jelinek <jakub@redhat.com>
77
78 * readelf.c (get_file_header): Only read the first section header if
79 e_shoff is non-zero.
80
72797995
L
812002-06-15 H.J. Lu (hjl@gnu.org)
82
83 * nm.c (print_size): New variable. Initialize to 0.
84 (long_options): Add 'S'/"print-size".
85 (main): Handle 'S'.
86 (print_symbol_info_bsd): Print size only if print_size is not
87 0.
88
89 * doc/binutils.texi: Document -S/--print-size.
90
977f7911
NC
912002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
92
93 * nm.c (struct extended_symbol_info): New strcuture: Add the size
94 of the symbols to the information provided by the symbol_info
95 structure.
96 (print_symbols): Pass the symbol size to print_symbol.
97 (print_size_symbols): Pass the symbol size to print_symbol.
98 (print_symbol): Extra argument: The size of the symbol. Store
99 this in the extended_symbol_info structure.
100 (print_symbol_info): Change type of info parameter to
101 extended_symbol_info. Display the size, if known.
102 (print_symbol_info_posix): Likewise.
103 (print_symbol_info_sysv): Likewise.
104
b1f88ebe
AM
1052002-06-08 Alan Modra <amodra@bigpond.net.au>
106
fa449227
AM
107 * Makefile.am: Run "make dep-am".
108 * Makefile.in: Regenerate.
109 * doc/Makefile.in: Regnerate.
110
b1f88ebe
AM
111 * bucomm.c: Replace CONST with const.
112 * nm.c: Likewise.
113 * objdump.c: Likewise.
114
91a106e6
L
1152002-06-07 H.J. Lu <hjl@gnu.org>
116
117 * readelf.c (DW_CFA_GNU_args_size): Don't define.
118 (DW_CFA_GNU_negative_offset_extended): Likewise.
119 (DW_CFA_GNU_window_save): Likewise.
120 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
121 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
122
6ab6b380
NC
1232002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
124
125 * nm.c: When computing size of symbols for an ELF target use the
126 internal size field.
127
e28e05a3
JL
1282002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
129
130 * testsuite/binutils-all/objcopy.exp: clear xfail for
131 "hppa*64*-*-hpux*".
132 * testsuite/binutils-all/hppa/objdump.exp: Return if
133 "*64*-*-*".
134
dc156bc0
AM
1352002-06-05 Alan Modra <amodra@bigpond.net.au>
136
137 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
138
1392002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
140
141 * objdump.c: Fix formatting.
142
d79e4ea3
BE
1432002-05-29 Ben Elliston <bje@redhat.com>
144
145 * MAINTAINERS: Add self as M68k maintainer.
146
d172d4ba
NC
1472002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
148
149 * readelf.c: Modified/Added DLX elf support.
150
7edb8f29
NC
1512002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
152
3a1a2036
NC
153 * arsup.c: Fix formatting.
154 * debug.c (debug_record_label): Add missing colon to error
155 message.
156 * ieee.c (parse_ieee_ty): Fix spelling typo.
157 * readelf.c (process_program_headers): Remove English assumption
158 about making a plural word.
159 (process_section_headers): Likewise.
160 (process_relocs): Allow quotes to be translated.
161 (process_unwind): Likewise,
162 (process_mips_specific): Improve error message.
163 (get_note_type): Fix spelling typo.
164
7edb8f29
NC
165 * configure.in (ALL_LINGUAS): Add sv
166 * po/sv.po: New file.
167
3eee1e9d
AM
1682002-05-27 Alan Modra <amodra@bigpond.net.au>
169
170 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
171 (unw_print_grmask): Likewise.
172 (unw_print_frmask): Likewise.
173
d43efbe3
KH
1742002-05-26 Kazu Hirata <kazu@cs.umass.edu>
175
176 * arsup.c: Remove ARGSUSED.
177 * debug.c: Likewise.
178 * ieee.c: Likewise.
179 * nlmconv.c: Likewise.
180 * prdbg.c: Likewise.
181 * stabs.c: Likewise.
182 * wrstabs.c: Likewise.
183
e9792343
AM
1842002-05-25 Alan Modra <amodra@bigpond.net.au>
185
186 * arlex.l: Use #include "" instead of <> for local header files.
187 * coffdump.c: Likewise.
188 * coffgrok.c: Likewise.
189 * nlmconv.c: Likewise.
190 * nlmheader.y: Likewise.
191 * srconv.c: Likewise.
192 * strings.c: Likewise.
193 * sysdump.c: Likewise.
194 * unwind-ia64.h: Likewise.
195 * windres.h: Likewise.
196 * winduni.h: Likewise.
197
d7e53452
TR
1982002-05-24 Tom Rix <trix@redhat.com>
199
200 * MAINTAINERS: Add self as the d10v maintainer.
201
436e8db0
NC
2022002-05-24 TAMURA Kent <kent@netbsd.org>
203
204 * configure.in: Builds dlltool for i386-netbsdpe.
205 * configure: Regenerate.
206
9f66665a
KH
2072002-05-23 Kazu Hirata <kazu@cs.umass.edu>
208
209 * size.c: Fix formatting.
210 * srconv.c: Likewise.
211 * stabs.c: Likewise.
212 * sysdump.c: Likewise.
213 * unwind-ia64.c: Likewise.
214 * wrstabs.c: Likewise.
215
13ae64f3
JJ
2162002-05-23 Jakub Jelinek <jakub@redhat.com>
217
218 * readelf.c (get_segment_type): Add PT_TLS.
219 (get_elf_section_flags): Add SHF_TLS.
220 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
221 (process_dynamic_segment): Use puts instead of printf.
222 (get_symbol_type): Support STT_TLS.
223 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
224 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
225 Add SEC_THREAD_LOCAL.
226
53c7db4b
KH
2272002-05-23 Kazu Hirata <kazu@cs.umass.edu>
228
229 * rdcoff.c: Fix formatting.
230 * rddbg.c: Likewise.
231 * readelf.c: Likewise.
232 * rename.c: Likewise.
233 * resbin.c: Likewise.
234 * resrc.c: Likewise.
235 * resres.c: Likewise.
236
0af11b59
KH
2372002-05-21 Kazu Hirata <kazu@cs.umass.edu>
238
239 * filemode.c: Fix formatting.
240 * ieee.c: Likewise.
241 * is-ranlib.c: Likewise.
242 * is-strip.c: Likewise.
243 * maybe-ranlib.c: Likewise.
244 * maybe-strip.c: Likewise.
245 * nlmconv.c: Likewise.
246 * nm.c: Likewise.
247 * not-ranlib.c: Likewise.
248 * not-strip.c: Likewise.
249 * objcopy.c: Likewise.
250 * objdump.c: Likewise.
251
21611032
TS
2522002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
253
254 * objdump.c (dump_headers): Fix output formatting for ELF32
255 architectures in a BFD64 enabled toolchain.
256
26044998
KH
2572002-05-20 Kazu Hirata <kazu@cs.umass.edu>
258
259 * debug.c: Fix formatting.
260 * debug.h: Likewise.
261 * dlltool.c: Likewise.
262 * dllwrap.c: Likewise.
263 * emul_aix.c: Likewise.
264 * emul_vanilla.c: Likewise.
265
f462a9ea
KH
2662002-05-19 Kazu Hirata <kazu@cs.umass.edu>
267
268 * addr2line.c: Fix formatting.
269 * ar.c: Likewise.
270 * arsup.c: Likewise.
271 * arsup.h: Likewise.
272 * binemul.c: Likewise.
273 * binemul.h: Likewise.
274 * bucomm.c: Likewise.
275 * coffdump.c: Likewise.
276 * coffgrok.c: Likewise.
277 * coffgrok.h: Likewise.
278
e0159aa9
MM
2792002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
280
281 * MAINTAINERS: Add myself as the second AVR port maintainer.
282
074b403e
SC
2832002-05-16 Stephane Carrez <stcarrez@nerim.fr>
284
285 * MAINTAINERS: Update my email address.
286
2b9c8201
NC
2872002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
288
289 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
290
e1d5b1e7
AM
2912002-05-09 Alan Modra <amodra@bigpond.net.au>
292
293 * configure.in: Replace `*pe' with `pe' throughout.
294 * configure: Regenerate.
295
d3d8a9ee
NC
2962002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
297
298 * Makefile.am: Honour DESTDIR.
299 * Makefile.in: Regenerate.
300
405c98a4
AM
3012002-05-06 Alan Modra <amodra@bigpond.net.au>
302
a02d5965
AM
303 * dlltool.c (process_def_file): Add missing prototype.
304 (new_directive, assemble_file, main): Likewise.
305 (process_def_file, new_directive): Make static.
306 (inform): Rewrite using VA_FIXEDARG.
307 * dllwrap.c (mybasename): Add missing prototype.
308 (strhash, main): Likewise.
309 (inform): Rewrite using VA_FIXEDARG.
310 (warn): Likewise.
311 (cleanup_and_exit): Use old style function definition.
312 (strhash): Likewise.
313 * windres.c (define_resource): Use one memset to clear all of
314 struct res_resource.
315
405c98a4 316 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 317 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
318
3192002-05-06 Borut Razem <borut.razem@siol.net>
320
321 * rclex.l (get_string): Correct "strings" list handling.
322 * resrc.c (read_rc_file): Discard strings.
323
91593c9d
AM
3242002-05-04 Alan Modra <amodra@bigpond.net.au>
325
e58a75dc
AM
326 * ar.c (replace_members): Remove unused var. Formatting fix.
327 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
328
91593c9d
AM
329 * MAINTAINERS: Sort port maintainers by CPU.
330
6b52b824
AM
3312002-05-04 Bob Byrnes <byrnes@curl.com>
332
333 * size.c (display_archive): Add last_arfile and code to close archives.
334
dd70071f
AM
3352002-05-01 Alan Modra <amodra@bigpond.net.au>
336
337 * nm.c (print_symbol): Check returned filename from
338 bfd_find_nearest_line is non-NULL.
339
6c95717a
EZ
3402002-04-25 Elena Zannoni <ezannoni@redhat.com>
341
342 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
343
3c25c5f6
NC
3442002-04-24 Christian Groessler <chris@groessler.org>
345
346 * MAINTAINERS: Changed my email address.
347
944cd72c
TS
3482002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
349
350 * arparse.y: Fix syntax warning.
351
ea91f8bb
NC
3522002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
353
3e55a963
NC
354 * readelf.c (fetch_location_list): Remove unused function.
355
356 * readelf.c (process_corefile_note_segment): Catch corrupt notes
357 and display a warning message, then exit the loop.
358
ea91f8bb
NC
359 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
360
45b99827
NC
3612002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
362
363 * resrc.c (write_rc_dialog): If charset is non-default value
364 display all of the DIALOGEX parameters.
365
3662002-04-15 Eric Kohl <ekohl@rz-online.de>
367
368 * rcparse.y: Allow two to five parameter in FONT statement of
369 DIALOGEX resources.
370 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
371 resource data.
372 (res_to_bin_dialog): Likewise.
373 * windres.h: Added misssing charset variable to dialog_ex
374 structure.
375
acfbab8a
NC
3762002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
377
378 * rcparse.y: Set MEMFLAG_PURE by default.
379
df3baf66
NC
3802002-04-09 Bernd Herd <info@herdsoft.com>
381
382 * rcparse.y: CLASS definitions in DIALOG resources
383 are quoted.
4c30641a 384 Fix typo in BEDIT warning.
91eafb40 385 Don't add default dialog style when explicit style specified.
b62a12ca 386 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 387
b24eb5ac
NC
388 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
389 (handle_quotes) "\a" escape (used for right justified key
390 definitions in menus) is encodes as binary 8.
df3baf66 391
b24eb5ac
NC
392 * resrc.c (write_rc_dialog): Print style even if it is 0.
393 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 394 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 395
b24eb5ac
NC
396 * resbin.c (bin_to_res_dialog): Use signature to identify
397 DIALOGEX.
f7d63484 398
b24eb5ac 399 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 400
df3baf66
NC
4012002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
402
403 * resrc.c: print CLASS names in quotes
404
4052002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
406
407 * MAINTAINERS: Update my email address.
408
8e42bcb6
AM
4092002-04-04 Alan Modra <amodra@bigpond.net.au>
410
411 * dep-in.sed: Cope with absolute paths.
412 * Makefile.am (dep.sed): Subst TOPDIR.
413 Run "make dep-am".
414 * Makefile.in: Regenerate.
415
96f959e5
PT
4162002-03-27 Peter Targett <peter.targett@arc.com>
417
418 * MAINTAINERS: Update my email address.
419
1ea788ee
AM
4202002-03-21 Alan Modra <amodra@bigpond.net.au>
421
422 * Makefile.am: Run "make dep-am".
423 * Makefile.in: Regenerate.
424 * doc/Makefile.in: Regenerate.
425 * po/POTFILES.in: Regenerate.
426 * aclocal.m4: Regenerate.
427 * config.in: Regenerate.
428 * configure: Regenerate.
429
a2f14207
DB
4302002-03-20 Daniel Berlin <dan@dberlin.org>
431
432 * readelf.c: Add support for displaying dwarf2 location lists.
433 (do_debug_loc, debug_loc_section, debug_loc_size): New.
434 (parse_args): Use 'O' as shorthand for displaying location list
435 section.
436 (process_section_headers): Handle debug_loc as well.
437 (load_debug_loc): New.
438 (free_debug_loc): New.
439 (fetch_location_list): New.
440 (display_debug_loc): New.
441 (display_debug_info): Call load_debug_loc and free_debug_loc.
442 (debug_displays): We can display .debug_loc now, too.
443 (usage): Update usage string.
444 (read_and_display_attr_value): Note location lists, but don't
445 display them inline.
446
eb1e0e80
NC
4472002-03-18 Tom Rix <trix@redhat.com>
448
449 * Makefile.am: Add binutils emulation support.
450 * configure.in: Same.
451 * configure.tgt: New file. Same.
452 * ar.c (main): Use ar_emul_parse_arg.
453 (usage): Use ar_emul_usage.
454 (replace_members): Use ar_emul_replace, ar_emul_append.
455 * binemul.c: New file. Define the binutils emulation
456 layer. Define default methods.
457 * binemul.h: New file. Binutils emulation layer header file.
458 * emul_aix.c: New file. AIX binutils emulation.
459 * emul_vanilla.c: New file. Default binutils emulation.
460 * Makefile.in: Regenerate.
461 * configure: Same.
462
a1c259a1
NC
4632002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
464
465 * po/fr.po: Updated version.
466
9ce88e60
NC
4672002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
468
469 * po/fr.po: Updated version.
470
effb0601
DJ
4712002-03-07 Daniel Jacobowitz <drow@mvista.com>
472
473 * README: Update some version numbers.
474
a65688ab
DJ
4752002-03-07 Daniel Jacobowitz <drow@mvista.com>
476
477 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
478 (Architecture Selection): Likewise.
479
f3f7fbb2
NC
4802002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
481
482 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
483 generating .exp file.
484
25345be5
NC
4852002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
486
487 * readelf.c (dump_relocations): Fix typo.
488
9a66911f
NC
4892002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
490
491 * NEWS: Mark 2.12 branch.
492
2c71103e
NC
4932002-02-18 Timothy Daly <remote_bob@yahoo.com>
494
495 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
496 types for 64-bit MIPS. Narrow some fields for 80-char
497 output.
498 (dump_relocations): Change spelling from 'unrecognised'
499 to 'unrecognized'.
500 (decode_ARM_machine_flags): Likewise.
501 (parse_args): Likewise.
502 (read_and_display_attr_value): Likewise.
503 (display_debug_section): Likewise.
504
49fda6c8
HPN
5052002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
506
507 * NEWS: Mention support for MMIX.
508
76f57f3a
JT
5092002-02-13 Matt Fredette <fredette@netbsd.org>
510
511 * readelf.c (get_machine_flags): Recognize EF_M68000.
512
d36ca9c2
AO
5132002-02-12 Alexandre Oliva <aoliva@redhat.com>
514
515 * MAINTAINERS: Added self as MN10300 co-maintainer.
516
19397422
AM
5172002-02-12 Alan Modra <amodra@bigpond.net.au>
518
519 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
520 DT_PPC64_OPDSZ.
521
d434e574
DJ
5222002-02-11 Daniel Jacobowitz <drow@mvista.com>
523
524 * MAINTAINERS: List myself as branch maintainer.
525
12b87c89
AM
5262002-02-11 Alan Modra <amodra@bigpond.net.au>
527
528 * configure: Regenerate.
529 * objcopy.c: Update copyright date.
530 * doc/Makefile.in: Regenerate.
531
8d037c5c
DJ
5322002-02-10 Daniel Jacobowitz <drow@mvista.com>
533
534 * nlmconv.c: Back out localtime PARAMS change.
535
4c168fa3
AM
5362002-02-11 Alan Modra <amodra@bigpond.net.au>
537
538 * objcopy.c (MKDIR): Define.
539 (copy_archive): Make name_list.name const. Use MKDIR.
540 Handle duplicate files in archives by making more temp dirs.
541
408f8db1
DJ
5422002-02-10 Daniel Jacobowitz <drow@mvista.com>
543
544 * coffdump.c: Include "getopt.h" after "bucomm.h"
545 so that macros are defined correctly.
546 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
547 prototype. Prototype main.
548 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
549
9f77fa06
AO
5502002-02-06 Alexandre Oliva <aoliva@redhat.com>
551
552 * MAINTAINERS: Added self as SH co-maintainer.
553
82f6addb
NC
5542002-02-05 Nick Clifton <nickc@redhat.com>
555
556 * po/tr.po: Updated translation.
557
ba323545
AM
5582002-02-01 Alan Modra <amodra@bigpond.net.au>
559
560 * Makefile.am: Run "make dep-am"
561 * Makefile.in: Regenerate.
562
3deb89d3
DJ
5632002-01-29 Daniel Jacobowitz <drow@mvista.com>
564
565 * nm.c (print_value): Mark abfd unused.
566
a0e9c55f
DJ
5672002-01-29 Daniel Jacobowitz <drow@mvista.com>
568
569 * unwind-ia64.c (unw_decoder): Change second argument
570 to unsigned int, to match function prototypes.
571
d7a283d4
DJ
5722002-01-29 Daniel Jacobowitz <drow@mvista.com>
573
574 * objdump.c: Include "getopt.h" after "bucomm.h" so that
575 __GNU_LIBRARY__ will be defined.
576 * size.c: Likewise.
577
4867be41
DJ
5782002-01-27 Daniel Jacobowitz <drow@mvista.com>
579
580 * configure: Regenerated.
581
7562a296
HPN
5822002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
583
584 * doc/Makefile.am (install): Depend on install-info.
585 * doc/Makefile.in: Regenerate.
586
15c82623
NC
5872002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
588
589 * objcopy.c (strip_usage): Document -d as an alias
590 --strip-debug.
591
592 * size.c (usage): Document [-t | --totals] options.
593 (long_options): Add --totals option.
594 (main): If the [-t | --totals] option is specified and
595 the output format is Berkeley-style, print the total
596 text, data, and bss sizes of all objects listed.
597 (print_berkeley_format): If the [-t | --totals] option
598 is specified, track the total text, data, and bss
599 sizes.
600 * doc/binutils.texi (size): Document [-t | --totals] options.
601 (strip): Document -d as an alias for --strip-debug.
602 * NEWS: Mention new feature of size.
603
00ea8601 6042002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 605
1ddbd152
NC
606 * po/fr.po: Updated version.
607 * po/es.po: Updated version.
b85cedd7 608
8b53311e
NC
6092002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
610
611 * addr2line.c (usage): Update text to provide verbose
612 description of the command line options.
613 * ar.c (usage): Update text to provide verbose
614 description of the command line options.
615 (main): Accept -h and -H when running as ranlib.
616 * coffdump.c (show_usage): Update text to provide verbose
617 description of the command line options.
618 * dlltool.c (main): Accept -H as an alias for --help.
619 * nlmconv.c (show_usage): Update text to provide verbose
620 description of the command line options.
621 * nm.c (usage): Replace OPTIONS with option(s).
622 (main): Accept -H as an alias for --help.
623 * objcopy.c (strip_main): Accept -H as an alias for --help.
624 * objdump.c (main): Accept -v as an alias for --verbose.
625 * readelf.c (usage): Adjust format to match style used in
626 other binutils.
627 * size.c (usage): Update text to provide verbose description
628 of the command line options.
629 (main): Accept -v, -h and -H as command line options.
630 * srconv.c (show_usage): Update text to provide verbose
631 description of the command line options.
632 * strings.c (main): Accept -H and -v as command line options.
633 (usage): Update text to provide verbose description of the
634 command line options.
635 * sysdump.c (show_usage): Update text to provide verbose
636 description of the command line options.
637 * windres.c (usage): Adjust format to match style used in
638 other binutils.
639
640 * coffdump.c: Fix formatting.
641 * nlmconv.c: Fix formatting.
642 * srconv.c: Fix formatting.
643 * sysdump.c: Fix formatting.
644
c46f0c34
AM
6452002-01-22 Alan Modra <amodra@bigpond.net.au>
646
647 * Makefile.am: Run "make dep-am".
648 * Makefile.in: Regenerate.
649
2a538ba5
AJ
6502002-01-18 Andreas Jaeger <aj@suse.de>
651
652 * version.c (print_version): Update year.
653
285d1771
AM
6542002-01-17 Alan Modra <amodra@bigpond.net.au>
655
656 * readelf.c (get_machine_name): Handle EM_PPC64.
657 (guess_is_rela): Here too.
658
328577ad
NC
6592002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
660
661 * po/binutils.pot: Regenerate.
662 * po/fr.po: Regenerate.
663 * po/tr.po: Regenerate.
664
af3ae48d
NC
6652002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
666
667 * po/tr.po: Import new version.
668
f1cb7e17
AM
6692002-01-16 Alan Modra <amodra@bigpond.net.au>
670
671 * readelf.c (get_ppc64_dynamic_type): New.
672 (get_dynamic_type): Call it.
673
6364e0b4
NC
6742002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
675
3ab9460d
NC
676 * objcopy.c (copy_usage): Use "options" instead of "switches".
677 (strip_usage): Use "options" instead of "switches".
678 * doc/binutils.texi (dlltool): Refer to "options" instead of
679 "switches".
6364e0b4 680
3a7e524e
RE
6812002-01-14 Richard Earnshaw <rearnsha@arm.com>
682
683 * MAINTAINERS: Add self as co-maintainer for the ARM code.
684
1209e219
NC
6852001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
686
687 * po/es.po: Import from translation project.
688 * configure.in (ALL_LINGUAS): Add es.
689 * configure: Regenerate.
690
b4db1224
JT
6912002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
692
693 * readelf.c (get_netbsd_elfcore_note_type): Use
694 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
695
9437c45b
JT
6962002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
697
698 * readelf.c: Update copyright years.
699 (get_note_type): Return a const char *.
700 (get_netbsd_elfcore_note_type): New function.
701 (process_note): Use get_netbsd_elfcore_note_type to get
702 the note type string for NetBSD ELF core files.
703
00428cca
AM
7042002-01-06 Steve Ellcey <sje@cup.hp.com>
705
706 * readelf.c (get_ia64_segment_type): Add support for macros.
707 (get_segment_type): Add support for IA64 specific macros.
708
31104126
NC
7092001-12-20 Julian v. Bock <julian@wongr.net>
710
711 * readelf.c (print_symbol): New function: Print a formatted symbol
712 name. If --wide is specified do not truncate it.
713 (dump_relocations): Use print_symbol() to print symbol names.
714 (process_symbol_table): Likewise.
715 (process_syminfo): Likewise.
716 (process_mips_specific): Likewise.
717 (usage): Document new feature of --wide switch.
718 * doc/binutils.texi (objdump): Document additional behaviour of
719 --wide.
2a538ba5 720
4dd67f29
MS
7212001-12-18 Michael Snyder <msnyder@redhat.com>
722
723 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
724 (copy_object): Don't set the start address or flags of a core file.
725 (copy_section): Don't relocate a core file. Don't copy contents
726 if the input section has the contents flag set, but the output
727 section does not (which happens with the fake 'note' pseudo-
728 sections that BFD creates for corefiles).
729
43521d43
TS
7302001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
731
732 * readelf.c (get_machine_flags): Recognize header flags for ABI and
733 ASE extensions. More robust code for ISA checking. Ignore empty fields
734 in header flags for GNU extensions.
735
b667df2e
AM
7362001-12-18 Alan Modra <amodra@bigpond.net.au>
737
738 * objcopy.c (copy_archive): Set output bfd format outside the loop.
739
17a5a5c3
NC
7402001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
741
742 * po/ja.po: Import from translation project.
743 * configure.in (ALL_LINGUAS): Add ja.
744 * configure: Regenerate.
745
65de42c0
TS
7462001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
747
748 * addr2line.c (main): Protoype.
749 * ar.c (main): Protoype.
750 * nm.c (main): Protoype.
751 * objcopy.c (main): Protoype.
752 * objdump.c (main): Protoype.
753 * size.c (main): Protoype.
754 * strings.c (main): Protoype.
755
9ad5cbcf
AM
7562001-12-17 Alan Modra <amodra@bigpond.net.au>
757
758 * readelf.c (symtab_shndx_hdr): New global.
759 (SECTION_HEADER_INDEX): Define.
760 (SECTION_HEADER_NUM): Define.
761 (SECTION_HEADER): Define.
762 (GET_ELF_SYMBOLS): Pass two params rather than three.
763 (get_32bit_elf_symbols): Take file and section args. Read and
764 use SHT_SYMTAB_SHNDX.
765 (get_64bit_elf_symbols): Likewise.
766 (dump_relocations): Use SECTION_HEADER to index "section_headers".
767 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
768 Remember symtab_shdx_hdr.
769 (process_program_headers): Scan from index 1 for segment map.
770 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
771 "section_headers".
772 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
773 (process_unwind): Likewise.
774 (process_version_sections): Likewise.
775 (process_symbol_table): Likewise.
776 (display_debug_info): Likewise.
777 (process_dynamic_segment): Fake up a symtab section for changed
778 GET_ELF_SYMBOLS.
779 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
780 (process_program_headers): Kill signed/unsigned warning.
781 (load_debug_str): Likewise.
782 (display_debug_info): Likewise.
783
65765700
JJ
7842001-12-13 Jakub Jelinek <jakub@redhat.com>
785
786 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
787
560f3c1c
AM
7882001-12-11 Alan Modra <amodra@bigpond.net.au>
789
790 * readelf.c (process_file_header): Print extended e_shnum and
791 e_shdtrndx values. Set elf_header values for same.
792 (get_32bit_section_headers): Add "num" arg to read "num" headers.
793 (get_64bit_section_headers): Likewise.
794 (process_section_headers): Update calls.
795 (get_file_header): Call get_32bit_section_headers or 64bit variant.
796
bc408b8a
JJ
7972001-12-10 Jakub Jelinek <jakub@redhat.com>
798
799 * objcopy.c (setup_section): Copy entsize.
800
93fbbb04
GK
8012001-12-07 Geoffrey Keating <geoffk@redhat.com>
802
803 * readelf.c (guess_is_rela): Add support for stormy16.
804 (dump_relocations): Likewise.
805 (get_machine_name): Likewise.
806
e3c8793a
NC
8072001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
808
809 * dllwrap.c (main) Replace multiple strings describing a
810 single error with a single, newline escaped sentence to permit
811 better translation into foreign languages.
812
813 * readelf.c (get_elf_class): Remove internalionalisation of ELF
814 class names.
815
956cd1d6
TS
8162001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
817
818 * strings.c (get_char): Initialize value.
819
956c53ee
TS
8202001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
821
822 * arlex.l: Silence compile warnings.
823 * arsup.h: Likewise. Fix formatting.
824
cedd9a58
JJ
8252001-12-04 Jakub Jelinek <jakub@redhat.com>
826
827 * strings.c: Include config.h before bfd.h.
828 (file_off): New type.
829 (file_open): Define.
830 (print_strings): Use file_off instead of file_ptr. Print addresses
831 which don't fit into long correctly.
832 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
833 available.
834 (strings_file): Use file_off instead of file_ptr. Use file_open.
835 * configure.in: Check for getc_unlocked.
836 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
837 be defined for it.
838 * configure: Rebuilt.
839 * config.h.in: Rebuilt.
840
af667503
L
8412001-11-29 H.J. Lu <hjl@gnu.org>
842
843 * bucomm.c (make_tempname): Revert the changes made on
844 2001-11-14 and 2001-11-12. They won't work with directories.
845
16474668
NC
8462001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
847
848 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
849 CFLAGS_FOR_TARGET to runtest in environment.
850 * Makefile.in: Rebuild.
851 * doc/Makefile.in: Rebuild.
852
17978339
MS
8532001-11-28 Mike Stump <mrs@wrs.com>
854
855 * objcopy.c (setup_section): Preserve SEC_RELOC when
856 --set-section-flags is used.
857
261a45ad
NC
8582001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
859
860 * readelf.c (do_debug_str): New variable.
861 (display_debug_str): New function: Display the contents of a
862 .debug_str section.
863 (load_debug_str): New function: Load in the contents of a
864 .debug_str section.
865 (free_debug_str): New function: Free the memory used by
866 load_debug_str().
867 (fetch_indirect_string): Retrieve a string from the .debug_str
868 section.
869 (usage): Add -ws.
870 (parse_args): Accept -ws.
871 (process_section_headers): Allow the display of the .debug_str
872 section.
873 (read_and_display_attr_value): Use fetch_indirect_string. Show
874 offset into .debug_str section.
875 (display_debug_info): Use load_debug_str and free_debug_str.
876 (debug_displays): Add .debug_str.
877 * doc/binutils.texi: Document -ws.
878
b8908f93
AJ
8792001-11-19 Andreas Jaeger <aj@suse.de>
880
881 * testsuite/binutils-all/objdump.exp: Add x86-64.
882
e5fb9629
AS
8832001-11-15 Andreas Schwab <schwab@suse.de>
884
885 * readelf.c: Fix warnings without terminating newline.
886
802a735e
AM
8872001-11-15 Alan Modra <amodra@bigpond.net.au>
888
889 * doc/binutils.texi (objdump): Document ppc -M options.
890
b89e9eae
AJ
8912001-11-14 Andreas Jaeger <aj@suse.de>
892
893 * doc/binutils.texi (objdump): Fix description to use x86-64.
894
a6a25652
NC
8952001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
896
897 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
898 not all systems provide mkstemp.
899
e396998b
AM
9002001-11-14 Alan Modra <amodra@bigpond.net.au>
901
902 * doc/binutils.texi (objdump): Document x86 -M options.
903
81766fca
RH
9042001-11-13 Keith Walker <keith.walker@arm.com>
905
906 * readelf.c (read_and_display_attr_value): New function to
907 handle DW_FORM_indirect.
908 (read_and_display_attr): Use it.
909
1a509dcc
GK
9102001-11-13 Geoffrey Keating <geoffk@redhat.com>
911
912 * readelf.c (display_debug_lines): Deal with unknown standard
913 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
914 DW_LNS_set_isa.
915
6e917903 9162001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 917
6e917903
TW
918 * MAINTAINERS: Add self as tic54x maintainer. This target
919 includes the IBM C54XDSP clone.
7559e86e 920
6e917903 9212001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 922
7559e86e
NC
923 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
924
9252001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 926
ecdadc4a
JL
927 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
928 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
929 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
930 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
931 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
932 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
933 (unw_decode_b2, unw_decode_b3_b4): Likewise.
934
91770270
JL
935 * readelf.c (get_elf_class): Fix ISO portability glitch.
936 (get_data_encoding, get_osabi_name, request_dump): Likewise.
937
ef5cdfc7
JJ
9382001-11-07 Jakub Jelinek <jakub@redhat.com>
939
940 * readelf.c (debug_str, debug_str_size): New.
941 (display_debug_abbrev): If no abbrevs were read, skip the CU.
942 Call free_abbrevs.
943 (read_and_display_addr): Handle DW_FORM_strp.
944 (display_debug_info): Read .debug_str section if present,
945 so that DW_FORM_strp can be handled.
946 Fix test for non-existant .debug_abbrev section.
947
5e9520c8
JJ
9482001-11-05 Jakub Jelinek <jakub@redhat.com>
949
950 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
951
952 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
953
54589086
MS
9542001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
955
956 * MAINTAINERS: Add self as s390/s390x maintainer.
957
c05b685b
TR
9582001-11-02 Tom Rix <trix@bluey.cygnus.com>
959
960 * MAINTAINERS: Add self as PPC XCOFF maintainer.
961
3c62831e
NC
9622001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
963
964 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
965 * configure: Regernate.
966 * po/fr.po: New file.
967 * po/tr.po: New file.
968
3c3bdf30
NC
9692001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
970
9b19141a 971 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
972 * readelf.c: Include elf/mmix.h.
973 (guess_is_rela): MMIX is RELA.
974 (dump_relocations): Handle MMIX relocations.
975 * Makefile.am: Regenerate dependencies.
976 * Makefile.in: Regenerate.
977
f662939a
NC
9782001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
979
980 * readelf.c (parse_args): Handle multiple options to the -w
981 switch.
982
c91d0dfb
JJ
9832001-10-12 Jakub Jelinek <jakub@redhat.com>
984
985 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
986 LOPROC, LOOS and LOUSER.
987
7559e86e 9882001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
989
990 * MAINTAINERS: Update my email address.
991
fcd8210c
AM
9922001-10-03 Alan Modra <amodra@bigpond.net.au>
993
994 * doc/Makefile.in: Regenerate.
995 * configure: Regenerate.
996
428409d5
NC
9972001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
998
999 * readelf.c (display_debug_line, display_debug_pubnames,
1000 display_debug_info, display_debug_frames): Detect and warn
1001 about 64-bit format entries.
1002 (display_debug_aranges): Reword 64-bit warning.
1003 (debug_displays): Add .debug_pubtypes as a known, but not yet
1004 supported, debug section.
1005
6a8c2b0d
AM
10062001-10-02 Alan Modra <amodra@bigpond.net.au>
1007
1008 * coffdump.c (PROGRAM_VERSION): Delete.
1009 (main <'V'>): Call print_version.
1010 * srconv.c: Likewise.
1011 * sysdump.c: Likewise.
1012 * version.c (program_version): Remove.
1013 (print_version): Use BFD_VERSION_STRING. Just print the current
1014 year in copyright message.
1015 * addr2line.c (program_version): Remove unused declaration.
1016 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1017 place of BFD_VERSION.
1018 * Makefile.am (Makefile): Depend on bfd/configure.in.
1019 (cplus-dem.o): Depend on Makefile.
1020 Run "make dep-am".
1021 * Makefile.in: Regenerate.
1022
e414a165
NC
10232001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1024
1025 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1026 format .debug_arange sections.
1027 (main): Add missing prototype.
b8908f93 1028
efc3ee7f
HPN
10292001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1030
1031 * Makefile.am: Update dependencies with "make dep-am".
1032 * Makefile.in: Regenerate.
1033
9e85c2a0
RH
10342001-09-28 Richard Henderson <rth@redhat.com>
1035
1036 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1037
451dad9c
AM
10382001-09-26 Alan Modra <amodra@bigpond.net.au>
1039
1040 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1041 VA_CLOSE.
1042 (non_fatal): Likewise.
1043 * objdump.c (objdump_sprintf): Likewise.
1044 * readelf.c (error): Likewise.
1045 (warn): Likewise.
1046
d974e256
JJ
10472001-09-25 Jakub Jelinek <jakub@redhat.com>
1048
1049 * readelf.c (do_wide): New.
1050 (options): Add --wide.
1051 (usage, parse_args): Likewise.
1052 (process_program_headers): Put each segment on a single line if
1053 --wide is given.
1054 (process_section_headers): Put each section on a single line if
1055 --wide is given.
1056 * doc/binutils.texi: Document it.
1057 * NEWS: Likewise.
1058
2f11c261
AM
10592001-09-25 Alan Modra <amodra@bigpond.net.au>
1060
1061 * readelf.c (print_vma): Print 8 digits of low hex value.
1062
1d50f91e
AJ
10632001-09-24 Andreas Jaeger <aj@suse.de>
1064
1065 * nlmconv.c: Fix warnings about unused attributes and function
1066 prototypes.
1067
1068 * strings.c: Add prototype for get_char.
1069
38131e67
L
10702000-09-19 H.J. Lu <hjl@gnu.org>
1071
1072 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1073 $(srcdir)/cxxfilt.man.
1074 * doc/Makefile.in: Rebuild.
1075
3bcfb3e4
AM
10762001-09-19 Alan Modra <amodra@bigpond.net.au>
1077
1078 * objcopy.c (copy_main): Correct rename-section string parsing.
1079 Consolidate new_name parsing, and error messages.
1080
3882b010
L
10812001-09-18 Bruno Haible <haible@clisp.cons.org>
1082
1083 * addr2line.c: Don't include <ctype.h>.
1084 (main): For gettext, also set the LC_CTYPE locate facet.
1085 * ar.c (main): Likewise.
1086 * coffdump.c (main): Likewise.
1087 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1088 (main): For gettext, also set the LC_CTYPE locate facet.
1089 Use ISALNUM instead of isalpha/isdigit.
1090 * dllwrap.c: Don't include <ctype.h>.
1091 (main): For gettext, also set the LC_CTYPE locate facet.
1092 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1093 (main): For gettext, also set the LC_CTYPE locate facet.
1094 Use TOUPPER instead of islower/toupper.
1095 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1096 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1097 Use TOUPPER instead of islower/toupper.
1098 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1099 * objcopy.c (main): Likewise.
1100 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1101 (disassemble_bytes): Use ISPRINT instead of isprint.
1102 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1103 (dump_data): Use ISPRINT instead of isprint.
1104 (main): For gettext, also set the LC_CTYPE locate facet.
1105 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1106 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1107 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1108 Use TOUPPER instead of islower/toupper.
1109 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1110 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1111 (write_rc_accelerators): Use ISPRINT instead of isprint.
1112 (write_rc_rcdata): Likewise.
1113 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1114 * srconv.c (main): Likewise.
1115 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1116 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1117 isdigit/isupper/islower.
1118 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1119 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1120 stab_demangle_prefix, stab_demangle_qualified,
1121 stab_demangle_template, stab_demangle_type,
1122 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1123 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1124 (isgraphic): Use ISPRINT instead of isascii/isprint.
1125 (main): Remove HAVE_LC_MESSAGES dependency.
1126 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1127 (pbarray): Use ISPRINT instead of isprint.
1128 (main): For gettext, also set the LC_CTYPE locate facet.
1129 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1130 (format_from_filename): Use ISPRINT instead of isprint.
1131 (main): For gettext, also set the LC_CTYPE locate facet.
1132 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1133 (unicode_print): Use ISPRINT instead of isprint.
1134 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1135 (stab_variable): Use ISDIGIT instead of isdigit.
1136
e59b4dfb
AM
11372001-09-18 Alan Modra <amodra@bigpond.net.au>
1138
1139 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1140 Replace bfd_read call with call to bfd_bread.
1141 (extract_file): Likewise.
1142
1143 * objdump.c (dump_section_header): Cast section->filepos to
1144 unsigned long to suit printf format string.
1145 * readelf.c (process_section_headers): Similarly for sh_offset.
1146 (process_unwind): Likewise.
1147
d132876a
NC
11482001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1149
1150 * strings.c (encoding, encoding_bytes): New variables.
1151 (long_options): Add --encoding.
1152 (main): Accept -e and --encoding.
1153 (get_char): New function. Read a, possibly wide, character from
1154 the input stream.
1155 (print_strings): Use get_char().
1156 (usage): Document new command line option.
1157 * doc/binutils.texi: Document new command line option.
1158 * NEWS: Announce new command line option.
1159
7559e86e 11602001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1161
1162 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1163 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1164 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1165 Removed EM_CYGNUS_ARC.
1166
7559e86e 11672001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1168
1169 * readelf.c: Include elf/h8 for H8 series definitions.
1170 (guess_is_rela): H8 series if RELA.
1171 (dump_relocations): Handle H8 series relocations.
1172
0823fbca
EC
11732001-08-31 Eric Christopher <echristo@redhat.com>
1174
1175 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1176
8db76d70
PT
11772001-08-29 Peter Targett <peter.targett@arccores.com>
1178
1179 * MAINTAINERS: Include ARC Maintainer.
1180
d81d6584
BE
11812001-08-29 Ben Elliston <bje@redhat.com>
1182
1183 * stabs.c (stab_demangle_template): Initialise s4.
1184
25a1ff5b
AM
11852001-08-27 Alan Modra <amodra@bigpond.net.au>
1186
1187 * readelf.c (dump_relocations): Recognise EM_PPC64.
1188
a5d22d2a
TS
11892001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1190
1191 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1192
62a5a82d
L
11932001-08-25 H.J. Lu <hjl@gnu.org>
1194
1195 * nm.c (print_width): New.
1196 (display_rel_file): Set `print_width' according to
1197 bfd_sprintf_vma.
1198 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1199
1ae8b3d2
AO
12002001-08-24 Alexandre Oliva <aoliva@redhat.com>
1201
1202 * objcopy.c (use_alt_mach_code): New variable.
1203 (OPTION_ALT_MACH_CODE): Define.
1204 (copy_options): Added --alt-machine-code.
1205 (copy_main): Handle it.
1206 (copy_object): Switch to alternate machine code if requested.
1207 * doc/binutils.texi: Document new option.
1208 * NEWS: Likewise.
1209
d1bdd336
TS
12102001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1211
1212 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1213
410f7a12
L
12142001-08-21 H.J. Lu <hjl@gnu.org>
1215
1216 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1217 (display_debug_info): Cast for 64bit hosts.
1218 (display_debug_frames): Likewise.
1219 (process_mips_specific): Likewise.
1220
c32144ff
AJ
12212001-08-21 Andreas Jaeger <aj@suse.de>
1222
1223 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1224
1225 * sysdump.c: Add missing prototypes.
1226 * srconv.c: Likewise.
1227 * unwind-ia64.c: Likewise.
1228 * coffdump.c: Likewise.
1229
1230 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1231
1232 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1233 of declaring xcalloc.
1234
d8180c76
L
12352001-08-10 H.J. Lu <hjl@gnu.org>
1236
1237 * nm.c (print_value): Add one arg, bfd *.
1238 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1239 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1240 (print_symbol_info_sysv): Likewise.
1241 (print_symbol_info_posix): Likewise.
1242
1243 * objdump.c (dump_section_header): Replace printf_vma with
1244 bfd_printf_vma.
1245 (print_section_stabs): Likewise.
1246 (dump_bfd_header): Likewise.
1247 (objdump_print_value): Replace sprintf_vma with
1248 bfd_sprintf_vma.
1249 (disassemble_bytes): Likewise.
1250 (dump_reloc_set): Likewise.
1251
0218d1e4
AJ
12522001-08-10 Andreas Jaeger <aj@suse.de>
1253
1254 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1255 to build warnings.
1256 * configure: Regenerate.
1257
2863d58a
AM
12582001-08-09 Alan Modra <amodra@bigpond.net.au>
1259
1260 * readelf.c: Add missing prototypes.
1261 * objdump.c: Likewise. Format existing prototypes.
1262
c0e047e0
AO
12632001-08-08 Alexandre Oliva <aoliva@redhat.com>
1264
1265 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1266 of any RELA relocation for the abbrev_offset memory location that
1267 refers to the .debug_abbrev section symbol.
1268
ff78d6d6
L
12692001-08-07 H.J. Lu <hjl@gnu.org>
1270
1271 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1272 (main): Return process_file ().
1273
c36774d6
PB
12742001-08-05 Philip Blundell <philb@gnu.org>
1275
1276 * doc/binutils.texi: Use "Thumb" not "THUMB".
1277
8f9d9bd9
JH
12782001-08-03 John Healy <jhealy@redhat.com>
1279
1280 Patch suggested by Frank Eigler <fche@redhat.com>.
1281 * objdump.c (disassemble_data): Fill in section member of the
1282 disasm_info structure.
1283
c918cb96
DD
12842001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1285
1286 * configure.in: Added --with-windres option.
1287 * configure: Regenerated.
1288
c7c55b78
NC
12892001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1290
1291 * doc/binutils.texi: Use @command{name} for commands;
1292 use @option{-opt} for options; use @table @env for list of options;
1293 remove spaces arround [ | ] in synopsis.
1294
1295 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1296 center title.
1297
594ef5db
NC
12982001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1299
1300 * objcopy.c: Fix formatting.
1301 (section_rename): New structure.
1302 (OPTION_RENAME_SECTION): New switch.
1303 (copy_usage): Document new switch.
1304 (add_section_rename): New function: Add a node to the section
1305 rename list.
1306 (find_section_rename): New function: Find the new name and
1307 flags for a section.
1308 (setup_section): Call find_section_name to determine the name
1309 of the output section.
1310 (copy_main): Handle OPTION_RENAME_SECTION.
1311 * binutils.texi: Document new switch.
1312 * NEWS: Mention new switch.
1313
1f554c69
NC
13142001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1315
1316 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1317 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1318 bug-binutils@gcc.org.
1319
2f83960e
AM
13202001-07-28 Matthias Kramm <kramm@quiss.org>
1321
1322 * bucomm.c (list_supported_architectures): New function.
1323 * bucomm.h (list_supported_architectures): Declare.
1324 * objdump.c (usage): Call the above.
1325
20fe0649
DB
13262001-07-25 Dave Brolley <brolley@redhat.com>
1327
1328 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1329 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1330
1b577b00
NC
13312001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1332
1333 * README: Update for 2.11. Change bug reporting email address.
1334 * MAINTAINERS: Tidy up. Change bug reporting email address.
1335
95fd336c
DD
13362001-07-16 DJ Delorie <dj@redhat.com>
1337
5f16d855
DD
1338 * resres.c (write_res_header): Align header size.
1339 (res_align_file): Calculate alignment correctly.
1340
95fd336c
DD
1341 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1342 correct 10).
1343 * resrc.c (write_rc_resource): Likewise.
1344 * windres.h (SUBLANG_SHIFT): Define - as 10.
1345
ed8fee27
NC
13462001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1347
1348 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1349
90ab7e9a
NC
13502001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1351
1352 * MAINTAINERS: Add notes about branch checkins.
1353
e0c60db2
NC
13542001-07-05 Daniel Berlin <dan@cgsoftware.com>
1355
1356 * readelf.c (display_debug_macinfo): New function, display
1357 .debug_macinfo section.
1358 (do_debug_macinfo): New variable.
1359 (parse_args): Handle "-w[mM]" to mean display macro info.
1360 (process_section_headers): Handle debug_macinfo.
1361 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1362 function for .debug_macinfo display.
e0c60db2
NC
1363 * doc/binutils.texi: Document new command line switch.
1364 * NEWS: Document new feature of readelf.
0218d1e4 1365
24e01a36
L
13662001-07-05 H.J. Lu <hjl@gnu.org>
1367
1368 * objcopy.c (filter_symbols): Don't turn undefined symbols
1369 into local.
1370
4258bf4d
L
13712001-07-03 H.J. Lu <hjl@gnu.org>
1372
1373 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1374 $@.pod.
1375 (ar.1): Likewise.
1376 (dlltool.1): Likewise.
1377 (nlmconv.1): Likewise.
1378 (nm.1): Likewise.
1379 (objcopy.1): Likewise.
1380 (objdump.1): Likewise.
1381 (ranlib.1): Likewise.
1382 (readelf.1): Likewise.
1383 (size.1): Likewise.
1384 (strings.1): Likewise.
1385 (strip.1): Likewise.
1386 (windres.1): Likewise.
1387 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1388 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1389 $(DEMANGLER_NAME).
1390 (as.1): Removed.
1391 * doc/Makefile.in: Regenerated.
1392
7014bc31
NC
13932001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1394
1395 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1396
b811889f
NC
13972001-07-01 Daniel Berlin <dan@cgsoftware.com>
1398
1399 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1400
12ab83a9
NC
14012001-06-29 James Cownie <jcownie@etnus.com>
1402
1403 * readelf.c: Support DWARF 2.1 attributes.
1404
a6e9f9df
AM
14052001-06-28 Alan Modra <amodra@bigpond.net.au>
1406
1407 * readelf.c (GET_DATA_ALLOC): Remove.
1408 (GET_DATA): Remove.
1409 (get_data): New function combining above macros, with an extra
1410 test for zero size.
1411 (slurp_rela_relocs): Use get_data, and catch error return.
1412 (slurp_rel_relocs): Likewise.
1413 (get_32bit_program_headers): Likewise.
1414 (get_64bit_program_headers): Likewise.
1415 (get_32bit_section_headers): Likewise.
1416 (get_64bit_section_headers): Likewise.
1417 (get_32bit_elf_symbols): Likewise.
1418 (get_64bit_elf_symbols): Likewise.
1419 (process_section_headers): Likewise.
1420 (process_relocs): Likewise.
1421 (slurp_ia64_unwind_table): Likewise.
1422 (process_unwind): Likewise.
1423 (get_32bit_dynamic_segment): Likewise.
1424 (get_64bit_dynamic_segment): Likewise.
1425 (process_dynamic_segment): Likewise.
1426 (process_version_sections): Likewise.
1427 (process_symbol_table): Likewise.
1428 (dump_section): Likewise.
1429 (display_debug_info): Likewise.
1430 (display_debug_section): Likewise.
1431 (process_section_contents): Likewise.
1432 (process_corefile_note_segment): Likewise.
1433 (process_mips_specific): Likewise. Also free econf32, econf64.
1434
af3fc3bc
AM
14352001-06-25 Alan Modra <amodra@bigpond.net.au>
1436
1437 * readelf.c (dump_relocations): Print "bad symbol index" if
1438 symtab == NULL with non-zero symtab_index.
1439 (process_relocs): Don't bomb if reloc section has no symsec.
1440
6d900bf6
L
14412001-06-24 H.J. Lu <hjl@gnu.org>
1442
1443 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1444 by accident.
1445 (copy_main): Apply the the change made to strip_main on
1446 2001-05-30 by accident.
1447
49b4e386
AJ
14482001-06-23 Andreas Jaeger <aj@suse.de>
1449
1450 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1451 parameter 'code'.
1452 (unw_decode_x2): Likewise.
1453 (unw_decode_x3): Likewise.
1454 (unw_decode_x4): Likewise.
1455
d8dc71e3
BE
14562001-06-23 Ben Elliston <bje@redhat.com>
1457
1458 * MAINTAINERS: Add myself as M88k maintainer.
1459
af3bdff7
NC
14602001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1461
1462 * objcopy.c (strip_main): Support -o or --output-file command lien
1463 switch.
1464
105e7211
L
14652001-06-19 H.J. Lu <hjl@gnu.org>
1466
1467 * doc/Makefile.in: Regenerated.
1468
c45021f2
NC
14692001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1470
1471 * readelf.c: Restore formatting.
1472
14732001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1474
1475 * Makefile.am: Move documentation into doc subdirectory.
1476 * Makefile.in: Regenerated.
1477 * binutils.texi: Move into doc subdirectory.
1478 * addr2line.1: Removed.
1479 * ar.1: Likewise.
1480 * dlltool.1: Likewise.
1481 * nlmconv.1: Likewise.
1482 * nm.1: Likewise.
1483 * objcopy.1: Likewise.
1484 * objdump.1: Likewise.
1485 * ranlib.1: Likewise.
1486 * readelf.1: Likewise.
1487 * size.1: Likewise.
1488 * strings.1: Likewise.
1489 * strip.1: Likewise.
1490 * windres.1: Likewise.
1491 * cxxfilt.man: Likewise.
1492 * doc: New Directory.
1493 * doc/Makefile.am: New file.
1494 * doc/Makefile.in: Generate.
1495
09ad7db3
AM
14962001-06-09 Alan Modra <amodra@bigpond.net.au>
1497
1498 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1499
936260fe
AM
15002001-06-01 Alan Modra <amodra@bigpond.net.au>
1501
1502 * MAINTAINERS: Update my email address.
1503
16b2b71c
NC
15042001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1505
1506 * objcopy.c: Add new switches: --keep-global-symbol,
1507 --keep-symbols, --localize-symbols, --keep-global-symbols and
1508 --weaken-symbols.
1509 * binutils.texi: Document new switches.
1510 * objcopy.1: Regenerate.
1511 * NEWS: Announce new feature.
1512
7036c0e1
AJ
15132001-05-28 Andreas Jaeger <aj@suse.de>
1514
1515 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1516 variables, fix format strings.
1517
76a406e5
NC
15182001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1519
1520 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1521 when computing the address of the line to show.
1522
31b6fca6
RH
15232001-05-16 Richard Henderson <rth@redhat.com>
1524
1525 * readelf.c (do_debug_frames_interp): New.
1526 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1527 (byte_get_big_endian): Likewise.
1528 (parse_args) ['F']: Set do_debug_frames_interp.
1529 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1530 (frame_display_row): Don't trunc pc_begin to int.
1531 (size_of_encoded_value): New.
1532 (display_debug_frames): Handle 64-bit targets. Print raw data
1533 unless do_debug_frames_interp.
1534 (debug_displays): Remove duplicate .debug_frame.
1535
4fe85591
NC
15362001-05-15 Ralf Baechle <ralf@gnu.org>
1537
1538 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1539 The former constant was never in active use and is used otherwise
1540 by the ABI.
1541
579f31ac
JJ
15422001-05-11 Jakub Jelinek <jakub@redhat.com>
1543
1544 * readelf.c (process_unwind): Print all unwind sections, not just
1545 one.
1546
78f4a3f7
AM
15472001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1548
1549 * readelf.c (process_unwind): Remove const specifier.
1550
1c529ca6
NC
15512001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1552
1553 * strings.c (isgraphic): Do not use isascii() unless it is needed
1554 for isprint() to work.
1555 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1556
87e6d782
NC
15572001-04-27 Johan Rydberg <jrydberg@opencores.org>
1558
1559 * NEWS: Announce support for OpenRISC.
1560
4bd3d870 15612001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1562
1563 * dlltool.c (do_default_excludes): Initialise to true.
1564
21211521
AM
15652001-04-10 Alan Modra <amodra@one.net.au>
1566
1567 * MAINTAINERS: Update my email address
1568 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1569
0c66b61e 15702001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1571
1572 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1573
e58d53af
L
15742001-03-30 H.J. Lu <hjl@gnu.org>
1575
1576 * readelf.c (process_unwind): Just return if do_unwind is 0.
1577
bee72332
DD
15782001-03-28 Roger Sayle <roger@metaphorics.com>
1579
1580 * dlltool.c (make_one_lib_file): Fix section flags for
1581 .text, .data and .bss in stub ds*.o files to match those
1582 generated by gas.
1583
f1467e33
L
15842001-03-29 H.J. Lu <hjl@gnu.org>
1585
1586 * readelf.c (process_unwind): Only do unwind sections for
1587 IA64.
1588
1c6fb4fe
L
15892001-03-28 H.J. Lu <hjl@gnu.org>
1590
1591 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1592 * Makefile.in: Regenerate.
1593
0879a67a
AJ
15942001-03-26 Andreas Jaeger <aj@suse.de>
1595
1596 * binutils.texi (nm): Fix texi syntax.
1597
0285c67d
NC
15982001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1599
1600 * binutils.texi: Put @c man begin and @c man end indications
1601 to generate man pages using texi2pod and pod2man. Put @c man title
1602 to identify each man. Add SEEALSO entries.
1603 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1604 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1605 sort the list.
1606 (*.1): Build the man pages from binutils.texi.
1607 * Makefile.in: Regenerate.
1608
04847a4d
CF
16092001-03-13 Eric Kohl <ekohl@rz-online.de>
1610
1611 * defparse.y (opt_equal_name): allow "." in name.
1612 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1613 (gen_exp_file): Likewise.
1614
43a0748c
NC
16152001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1616
1617 * NEWS: Document addition of -B switch to objcopy.
1618 * binutils.texi: Document addition of -B switch to objcopy.
1619 * objcopy.c: (copy_options): Add --binary-architecture.
1620 (copy_usage): Document -B/--binary-architecture.
1621 (copy_main): Support -B/--binary-architecture. Set
1622 bfd_external_binary_architecture.
0879a67a 1623
b7498e0e
NC
16242001-03-11 Andreas Jaeger <aj@suse.de>
1625
1626 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1627 (dump_relocations): Likewise.
1628 (get_machine_name): Likewise.
1629
a59e3bd7
NC
16302001-02-28 Nick Clifton <nickc@redhat.com>
1631
1632 * readelf.c: (struct unw_aux_info): Remove const modifier for
1633 'strtab' field.
1634 (process_unwind): Remove non-K&R compliant LHS type cast in call
1635 to GET_DATA_ALLOC macro.
1636
a5bcd848
PB
16372001-02-28 Philip Blundell <pb@futuretv.com>
1638
1639 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1640 ABI is in use; remove ambiguity between the "unknown" EABI and
1641 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1642 renamed EF_xx constants.
1643
27b7e12d
AM
16442001-02-27 Alan Modra <alan@linuxcare.com.au>
1645
1646 * configure.in (BFD_VERSION): New.
1647 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1648 * configure: Regenerate.
1649 * Makefile.am: Run "make dep-am"
1650 * Makefile.in: Regenerate.
1651
a9f10786
NC
16522001-02-14 Nick Clifton <nickc@redhat.com>
1653
1654 * MAINTAINERS: Add "Obvious Fix" rule.
1655
3c44da9a
MS
16562001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1657
1658 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1659 literal concatenation.
1660
ecd03389
MS
16612001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1662
1663 * readelf.c (struct unw_aux_info): Remove const from the info member.
1664 (process_unwind): Don't type-cast the third argument to the
1665 GET_DATA_ALLOC macro.
1666
88ec60c7
NC
16672001-02-11 Nick Clifton <nickc@redhat.com>
1668
1669 * readelf.c (dump_relocations): Free corrected allocated
1670 array.
1671 (process_unwind): Fix compile time warning.
1672
f5e21966
NC
16732001-02-10 Nick Clifton <nickc@redhat.com>
1674
1675 * binutils.texi: Document new --unwind option to readelf.
1676
a85d7ed0
NC
16772001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1678
1679 * readelf.c: Add linux target for S/390.
1680
7bb10502
AM
16812001-02-10 Alan Modra <alan@linuxcare.com.au>
1682
1683 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1684 printf is a macro.
1685
8ca8f343
HPN
16862001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1687
1688 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1689 * aclocal.m4: Regenerate.
1690 * configure: Regenerate.
1691
7340082d
NC
16922001-02-07 Todd Vierling <tv@wasabisystems.com>
1693
1694 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1695 * objdump.c (bfd_target_vector): Likewise.
1696
4d6ed7c8
NC
16972001-02-07 David Mosberger <davidm@hpl.hp.com>
1698
1699 * readelf.c (process_unwind): New function.
1700 (slurp_ia64_unwind_table): Ditto.
1701 (dump_ia64_unwind): Ditto.
1702 (find_symbol_for_address): Ditto.
1703 (slurp_rela_relocs): New function (split off from dump_relocations()).
1704 (slurp_rel_relocs): Ditto.
1705 (parse_args): Handle '-u' option.
1706
1707 * unwind-ia64.c: New file.
1708 * unwind-ia64.h: New file.
1709 * Makefile.am: Include unwind-ia64.c in readelf build.
1710 * Makefile.in: Regenerate.
7340082d 1711 * po/binutils.pot: Regenerate.
4d6ed7c8 1712
c7217458
PB
17132001-02-04 Philip Blundell <philb@gnu.org>
1714
1715 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1716 * configure: Regenerate.
1717
956eedd4
AM
17182001-01-31 Steve deRosier <sderosier@vari-lite.com>
1719
1720 * ieee.c (ieee_add_bb11): Don't check for backslashes
1721 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1722
8855cbca
AM
17232001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1724
c7f2731e
AM
1725 * ieee.c: Update copyright.
1726 (ieee_start_compilation_unit): Don't check for backslashes
1727 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1728
8855cbca
AM
1729 * stabs.c: Update copyright. Include "filenames.h".
1730 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1731
329de803 17322001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1733
1734 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1735 sections are present before using them. Remove code duplication.
1736 (process_symbol_table): Check if VERDEF or VERNEED sections are
1737 present before using them.
1738
23719f39
NC
17392001-01-17 Nick Clifton <nickc@redhat.com>
1740
1741 * objcopy.c (copy_object): Fail if attempting to convert the
1742 endianness of the input object file.
1743
1744 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1745
f726e849
NC
17462001-01-16 Nick Clifton <nickc@redhat.com>
1747
1748 * readelf.c (string_table_length): New variable.
1749 (SECTION_NAME): Catch out of range indices and missing section
1750 pointers.
1751 (process_section_headers): Delete useless local variable
1752 string_table_offset. Set the value of string_table_length
1753 after loading the string table.
1754 (process_mips_specific): Use SECTION_NAME macro.
1755 (process_file): Set string_table_length to 0 when it is freed.
1756
d0398d6a
NC
17572001-01-12 Nick Clifton <nickc@redhat.com>
1758
1759 * version.c (print_version): Update copyright date.
1760
0d2bcfaf
NC
17612001-01-11 Peter Targett <peter.targett@arccores.com>
1762
1763 * readelf.c (dump_relocations): Include selection with EM_ARC.
1764 (get_machine_name) Update name to "ARC".
1765
8b1e6df3
NC
17662001-01-09 Nick Clifton <nickc@redhat.com>
1767
1768 * Makefile.am: Add rule to build objdump.o from objdump.c and
1769 using OBJDUMP_DEFS.
1770 * Makefile.in: Regenerate.
1771
1772 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1773 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1774 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1775 * configure: Regenerate.
8b1e6df3
NC
1776
1777 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1778 is defined read in the relocs even if dump_reloc_info is
1779 false.
1780
2f952d20
PB
17812001-01-07 Philip Blundell <philb@gnu.org>
1782
1783 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1784 `bug-binutils'.
1785 * README: Likewise.
1786
a8c548cb
NC
17872000-12-19 Nick Clifton <nickc@redhat.com>
1788
1789 * dlltool.c: Add missing support for arm-epoc-pe.
1790 * configure.in: Add missing support for arm-epoc-pe.
1791 * configure: Regenerate.
1792
cc5fda35
NC
17932000-12-15 Nick Clifton <nickc@redhat.com>
1794
1795 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1796 Mode parts of the x86 port.
1797
bcedfee6
NC
17982000-12-04 Andreas Jaeger <aj@suse.de>
1799
1800 * readelf.c (guess_is_rela): Add EM_X86_64.
1801 (dump_relocations): Add EM_X86_64.
1802 (get_machine_name): Add EM_X86_64.
1803 Include "elf/x86-64.h".
1804
584da044
NC
18052000-12-12 Nick Clifton <nickc@redhat.com>
1806
1807 * readelf.c: Fix formatting.
1808
7559e86e 18092000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1810
1811 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1812
a98cc2b2
AH
18132000-12-07 Andrew Haley <aph@redhat.com>
1814
1815 * readelf.c (display_debug_frames): Only display columns that are
1816 referenced by the frame debug info.
1817
c7987a69
NC
18182000-12-05 Nick Clifton <nickc@redhat.com>
1819
1820 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1821
09fd7e38
JM
18222000-12-04 Jason Merrill <jason@redhat.com>
1823
1824 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1825 (display_debug_section): Likewise.
1826 (display_debug_info): Display CU header before bailing.
1827
e7af610e
NC
18282000-12-01 Chris Demetriou <cgd@sibyte.com>
1829
09fd7e38
JM
1830 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1831 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1832 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1833
09fd7e38
JM
1834 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1835 and E_MIPS_ARCH_64.
84ea6cf2 1836
09fd7e38
JM
1837 * readelf.c (get_machine_flags): Add case for
1838 E_MIPS_MACH_SB1.
c6c98b38 1839
75066968
DD
18402000-11-30 Richard Earnshaw <rearnsha@arm.com>
1841
1842 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1843
5c4666ea
HPN
18442000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1845