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