Fix 'the the' typo
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
1be59579
NC
12003-11-06 Bruno Rohee <bruno@rohee.com>
2
3 * ieee.c: Fix "the the" typo.
4 * stabs.c: Likewise.
5
62003-10-30 Marshall T. Vandegrift <llasram@wuli.nu>
e69f2d21
NC
7
8 * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
9 sections - they have no file space assigned to their contents.
10
9376f0c7
AM
112003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
12
13 * readelf.c (dump_section): Don't display DEL characters.
14
50c2245b
KH
152003-10-27 Kazu Hirata <kazu@cs.umass.edu>
16
17 * ChangeLog: Fix typos.
18 * ChangeLog-9197: Likewise.
19 * ChangeLog-9899: Likewise.
20 * NEWS: Likewise.
21 * ar.c: Fix comment typos.
22 * arsup.c: Likewise.
23 * coffgrok.c: Likewise.
24 * debug.c: Likewise.
25 * debug.h: Likewise.
26 * dlltool.c: Likewise.
27 * ieee.c: Likewise.
28 * nm.c: Likewise.
29 * objdump.c: Likewise.
30 * prdbg.c: Likewise.
31 * readelf.c: Likewise.
32 * resrc.c: Likewise.
33 * sysinfo.y: Likewise.
34 * windres.c: Likewise.
35
ed570f48
NC
362003-10-27 Nick Clifton <nickc@redhat.com>
37
38 * objcopy.c (copy_section): Do not complain when a target does not
39 support relocations.
40 (mark_symbols_used_in_relocations): Likewise.
41
b749473b
NC
422003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
43
44 * objcopy.c (copy_main): Reads machine flags from arch_info
45 structure.
46
198beae2
AC
472003-10-20 Andrew Cagney <cagney@redhat.com>
48
49 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
50 bfd_section".
51
29ca8dc5
NS
522003-10-07 Nathan Sidwell <nathan@codesourcery.com>
53
54 * objdump.c (read_section_stabs): Just read one section, return
55 pointer to it. Add size parameter.
56 (print_section_stabs): Add string offset parameter. Adjust.
57 (struct stab_section_names): Add string offset member.
58 (find_stabs_sections): Correct check for split section suffix,
59 adjust read_section_stabs and print_section_stabs calls.
60 (dump_stabs_section): Clear string_offset, free string table.
61
b95f6b0c
CF
622003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
63
64 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
65 'bit count' in icon groups.
66
43c58ae6
CD
672003-09-30 Chris Demetriou <cgd@broadcom.com>
68
69 * NEWS: Add an indication of the cutoff for 2.14.
70
5f74bc13
CD
712003-09-30 Chris Demetriou <cgd@broadcom.com>
72
73 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
74
9ce701e2
L
752003-09-29 H.J. Lu <hongjiu.lu@intel.com>
76
77 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
78 (get_symbol_index_type): Likewise.
79
ecc2063b
L
802003-09-25 H.J. Lu <hongjiu.lu@intel.com>
81
82 * readelf.c (process_version_sections): Indent version names.
83
739fea7b
AG
842003-09-15 Anthony Green <green@redhat.com>
85
86 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
87 (dlltmp): Ditto.
88 (dtab): Ditto.
89
2da42df6
AJ
902003-09-14 Andreas Jaeger <aj@suse.de>
91
92 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
93 unneeded (void *) casts.
94 * ar.c: Likewise.
95 * arlex.l: Likewise.
96 * arparse.y: Likewise.
97 * arsup.c: Likewise.
98 * binemul.c: Likewise.
99 * binemul.h: Likewise.
100 * bucomm.c: Likewise.
101 * bucomm.h: Likewise.
102 * budbg.h: Likewise.
103 * budemang.c: Likewise.
104 * budemang.h: Likewise.
105 * coffdump.c: Likewise.
106 * coffgrok.c: Likewise.
107 * cxxfilt.c: Likewise.
108 * debug.c: Likewise.
109 * debug.h: Likewise.
110 * deflex.l: Likewise.
111 * dlltool.c: Likewise.
112 * dlltool.h: Likewise.
113 * dllwrap.c: Likewise.
114 * emul_aix.c: Likewise.
115 * filemode.c: Likewise.
116 * ieee.c: Likewise.
117 * nlmconv.c: Likewise.
118 * nlmconv.h: Likewise.
119 * nlmheader.y: Likewise.
120 * nm.c: Likewise.
121 * prdbg.c: Likewise.
122 * rclex.l: Likewise.
123 * rcparse.y: Likewise.
124 * rdcoff.c: Likewise.
125 * rddbg.c: Likewise.
126 * rename.c: Likewise.
127 * resbin.c: Likewise.
128 * rescoff.c: Likewise.
129 * resrc.c: Likewise.
130 * size.c: Likewise.
131 * srconv.c: Likewise.
132 * stabs.c: Likewise.
133 * strings.c: Likewise.
134 * sysdump.c: Likewise.
135 * sysinfo.y: Likewise.
136 * syslex.l: Likewise.
137 * unwind-ia64.c: Likewise.
138 * unwind-ia64.h: Likewise.
139 * version.c: Likewise.
140 * windres.c: Likewise.
141 * windres.h: Likewise.
142 * winduni.c: Likewise.
143 * wrstabs.c: Likewise.
144
e831786b
JW
1452003-09-10 James E Wilson <wilson@specifixinc.com>
146
147 * MAINTAINERS: Update my e-mail address.
148
afa7d0b2
ILT
1492003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
150
151 * MAINTAINERS: Update my e-mail address.
152
04fbe429
NC
1532003-09-04 Nick Clifton <nickc@redhat.com>
154
155 * MAINTAINERS: Make it clear what should be done with patches to
156 the top level configure files (other than config.guess and
157 config.sub). Add binutils@sources.redhat.com as an address to
158 which patches can be sent.
159
8ad30312
NC
1602003-09-04 Nick Clifton <nickc@redhat.com>
161
162 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
163
92c2346c
AC
1642003-09-03 Andrew Cagney <cagney@redhat.com>
165
166 * objdump.c: Refer to init_disassemble_info in comments.
167 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
168 init_disassemble_info.
169
155e0d23
NC
1702003-09-03 Nick Clifton <nickc@redhat.com>
171
172 * objdump.c (struct objdump_disasm_info): Add new fields
173 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
174 (process_section_p): New function: Returns TRUE if a section
175 can be dumped.
176 (disassemble_section): New function: Contains the body of
177 disassemble_data(), but just for one section.
178 (disassemble_data): Use bfd_map_over_sections to walk section
179 chain.
180 (find_stabs_section): New function: Find a stabs containing
181 section and then dump it.
182 (dump_stabs_section): New function: Use bfd_map_over_sections
183 to find the section to dump.
184 (dump_stabs): Use dump_stabs_section.
185 (dump_section): New function: Display the contents of a
186 section.
187 (dump_data): Use bfd_map_over_sections to display section
188 contents.
189 (dump_relocs_in_section): Display the relocs in a given section.
190 (dump_relocs): Use bfd_map_over_sections to display relocs.
191 (adjust_addresses): New function: Adjust the vma and lma of
192 sections.
193 (dump_bfd): Use bfd_map_over_sections.
194 * doc/binutils.texi: Document the "objdump -s" (no longer)
195 dumps empty sections.
196
1972003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
198
199 * objdump.c: Improve comments/documentation.
200 dump_data: Eliminate duplicate function calls to bfd_section_size.
201
6b10f68d
AM
2022003-09-02 Alan Modra <amodra@bigpond.net.au>
203
204 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
205
3673a93e
NC
2062003-08-21 Nick Clifton <nickc@redhat.com>
207
208 * po/tr.po: Updated Turkish translation.
209
51f7282a
AM
2102003-08-14 Alan Modra <amodra@bigpond.net.au>
211
55bb4be3 212 * dep-in.sed: Remove libintl.h.
51f7282a 213 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 214 Run "make dep-am".
51f7282a
AM
215 * Makefile.in: Regenerate.
216
d989285c
ILT
2172003-08-11 Ian Lance Taylor <ian@airs.com>
218
219 * readelf.c (process_archive): Fix error handling. Remove memory
220 leak.
fb52b2f4
NC
221
222 * readelf.c: Add ability to read archives.
223 (archive_file_offset): New variable.
224 (archive_file_size): New variable.
225 (get_data): Include archive_file_offset in file offset
226 calculation when fseeking.
227 (process_program_headers): Likewise.
228 (process_symbol_table): Likewise.
229 (process_dynamic_segment): Handle computation of end of file
230 position when the file is in an archive.
231 (process_object): New function. Contains the body of
232 process_file().
233 (process_archive): New function. Call process_object on each
234 member of an archive.
235 (process_file): Detect archives and handle appropriately.
236 * Makefile.am: Add dependency on aout/ar.h for readelf.c
237 * Makefile.in: Regenerate.
238 * NEWS: Document readelf's new ability.
239 * doc/binutils: Alter text to say that readelf supports archives
240 and 64-bit ELF files.
241
ff85ab24
NC
2422003-08-08 Nick Clifton <nickc@redhat.com>
243
244 * po/fr.po: Updated French translation.
245
d3ba0551
AM
2462003-08-05 Alan Modra <amodra@bigpond.net.au>
247
248 * objcopy.c: Remove unnecessary prototypes and casts.
249 * objdump.c: Remove unnecessary casts.
250 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
251 (get_osabi_name): Move so we don't need a forward declaration.
252
43ac9881
AM
2532003-08-04 Bradley Harrington <bharring@us.ibm.com>
254 Alan Modra <amodra@bigpond.net.au>
255
256 * objdump.c (include_paths, include_path_count): New vars.
257 (usage): Describe --include.
258 (long_options): Add "include".
259 (add_include_path): New function.
260 (struct print_file_list): Make filename const. Add modname.
261 (try_print_file_open, update_source_path): New functions.
262 (show_line): Use them.
263 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
264
fd7bb956
AM
2652003-07-30 Alan Modra <amodra@bigpond.net.au>
266
267 * objdump.c: Remove unnecessary prototypes.
268 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
269 code, and print relocs when dump_dynamic_reloc_info.
270 (disassemble_data): Read and handle dynamic relocs. Correct reloc
271 skip code. Formatting.
272 (dump_bfd): Don't dump dynamic relocs when disassembling.
273
1e7e751f
BE
2742003-07-29 Ben Elliston <bje@wasabisystems.com>
275
276 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
277 maintenance defaults to the blanket write privilege maintainers.
278
2445335e
MM
2792003-07-29 Michael Meissner <gnu@the-meissners.org>
280
281 * MAINTAINERS: Updated my email address.
282
46dca2e0
NC
2832003-07-29 Nick Clifton <nickc@redhat.com>
284
1e7e751f 285 * objdump.c: Update to ISO C.
46dca2e0 286
834d807b
NC
2872003-07-24 Nick Clifton <nickc@redhat.com>
288
f1e2bc62
NC
289 * objdump.c (disassemble_data): Do not ignore sections without the
290 LOAD flag when disassemble_all is true. Only print a message
291 about disassembling a section if it contains some data.
292
834d807b
NC
293 * po/fr.po: Updated French translation.
294
84e2f313
NC
2952003-07-23 Nick Clifton <nickc@redhat.com>
296
297 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
298 left in. Some formatting tidy ups.
299
51cdc6e0
NC
3002003-07-22 Salvador Eduardo Tropea <set@computer.org>
301
302 * objdump.c: New command line option --debugging-tags.
303 * doc/binutils.texi: Document new command line option.
304 * prdbg.c: Code to print the debug info as tags compatible
305 with ctags.
306 * budbg.h: Adjust prototype.
307 * NEWS: Mention new switch
308
31e0f3cd
NC
3092003-07-18 Nick Clifton <nickc@redhat.com>
310
311 * objdump.c (main) :Accept multiple -M switch.
312 * doc/binutils.texi: Document that multiple -M switches are
313 accepted and that a single -M switch can contain comma
314 separated options.
315
073fbac6
NC
3162003-07-17 Nick Clifton <nickc@redhat.com>
317
318 * objdump.c (main): Issue a warning message if multiple -M
319 switches are used.
320
321 * doc/binutils.texi (objdump): Update documentation about -M
322 option.
323
6c37ac4d
NC
3242003-07-17 Nick Clifton <nickc@redhat.com>
325
326 * po/es.po: New Spanish translation.
327
fce00800
AM
3282003-07-11 Alan Modra <amodra@bigpond.net.au>
329
330 * po/binutils.pot: Regenerate.
331
ff6b6222
CF
3322003-07-05 Christopher Faylor <cgf@redhat.com>
333
334 * dlltool.c (prefix_encode): Use a fixed length for alpha.
335
bf7a6389
CF
3362003-07-04 Christopher Faylor <cgf@redhat.com>
337
338 * dlltool.c (prefix_encode): New function. Encode temp file prefix
339 from pid.
340 (dlltmp): Pass address of pointer being alloced or suffer neverending
341 mallocs.
342 (make_one_lib_file): Allocate enough space for new longer stub names.
343 (gen_lib_file): Ditto.
344 (main): Generate the temp file prefix from the pid if prefix was not
345 specified on the command line.
346
96c223ce
NC
3472003-07-04 Nick Clifton <nickc@redhat.com>
348
349 * readelf.c (get_data): Print (unsigned) hex values for size and
350 offset in error messages.
351 (process_section_headers): If the string table could not be
352 allocated, do not continue.
353
bdf4d63a
JJ
3542003-07-01 Jakub Jelinek <jakub@redhat.com>
355
356 * readelf.c (dynamic_segment_ia64_val): Print address and newline
357 for sections by default. Comment fix.
358
b9ae0492
DS
3592003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
360
361 * rcparse.y (res_text_field): New res_id variable.
362 (res_null_text): New static const struct res_id object,
363 with empty unicode name field.
364 (control): Pop parsing of optresidc up one level. Set
365 res_text_field to $2 except for controls which do not accept
366 a text field. Set res_text_field to res_null_text for the
367 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
368 (control_params): Adjust to use res_text_field rather
369 than optresidc.
370 (COMBOBOX): Add comment about discrepency between documented
371 vs. observed default style.
372 * resrc.c (define_control): Make first param const.
373 * windres.h (define_control): Adjust prototype.
374
e7c81c25
NC
3752003-06-27 Nick Clifton <nickc@redhat.com>
376
377 * objcopy.c (copy_object): Replace call to
50c2245b 378 bfd_create_gnu_debuglink_section with separate calls to
e7c81c25 379 bfd_add_gnu_debuglink_section and
50c2245b 380 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
e7c81c25
NC
381 symbol tables.
382
d93f0186
NC
3832003-06-26 Roland McGrath <roland@redhat.com>
384
385 * readelf.c (loadaddr): Variable removed.
386 (dynamic_info, version_info): Fix type long -> bfd_vma.
387 (program_headers): New variable.
388 (get_program_headers): New function, broken out of
389 process_program_headers.
390 (process_program_headers): Call it. Don't set `loadaddr'.
391 (slurp_ia64_unwind_table): Use get_program_headers.
392 (process_corefile_note_segments): Likewise.
393 (offset_from_vma): New function.
394 (process_relocs, process_dynamic_segment): Call that instead of
395 subtracting `loadaddr'.
396 (process_version_sections, process_symbol_table): Likewise.
397 (process_mips_specific): Likewise.
398
ed1653a7
NC
3992003-06-26 Nick Clifton <nickc@redhat.com>
400
401 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
402 (OPTION_ONLY_KEEP_DEBUG): New.
403 (strip_options): Add --only-keep-debug.
404 (copy_options): Likewise.
405 (is_strip_section): Invert return value if STRIP_NONDEBUG is
406 active.
407 (copy_object): Do not copy private data when STRIP_NONDEBUG is
408 active.
409 (setup_section): Likewise.
410 (strip_main): Handle --only-keep-debug.
411 (copy_main): Likewise.
412 * NEWS: Mention new switch
413 * doc/binutils.texi: Document new switch.
414
1049f94e
AM
4152003-06-25 Alan Modra <amodra@bigpond.net.au>
416
417 * NEWS: Correct spelling of "relocatable".
418 * objdump.c: Likewise.
419 * sysroff.info: Likewise.
420
b19aac67
NC
4212003-06-19 Nick Clifton <nickc@redhat.com>
422
423 * readelf.c (print_vma): When printing DEC_5 values, if the
424 number is bigger than 99999 switch to using hexadecimal
425 notation.
426
2593f09a
NC
4272003-06-11 Nick Clifton <nickc@redhat.com>
428
429 * objcopy.c (gnu_debuglink_filename): New variable.
430 (OPTION_ADD_GNU_DEBUGLINK): New switch
431 (copy_options): Describe --add-gnu-debuglink switch.
432 Mention that --strip-debug removes sections as well.
433 (is_strip_section): Process the sections removed and kept
434 lists before checking for debugging sections.
435 (add_redefine_syms_file): Make function static.
436 (copy_object): Use is_strip_section.
437 Check to see if a .gnu_debuglink section should be added. If
438 so, call bfd_add_gnu_debuglink.
439 (setup_section): Use is_strip_section.
440 (copy_section): Use is_strip_section.
441 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
442 * NEWS: Mention new objcopy switch.
443 * doc/binutils.texi: Document new switch.
444
3b443373
L
4452003-06-11 H.J. Lu <hongjiu.lu@intel.com>
446
447 * po/Make-in (DESTDIR): New.
448 (install-data-yes): Support $(DESTDIR).
449 (uninstall): Likewise.
450
795bb480
AM
4512003-06-11 Alan Modra <amodra@bigpond.net.au>
452
453 * Makefile.in: Regenerate.
454
9ee5e499
JJ
4552003-05-23 Jakub Jelinek <jakub@redhat.com>
456
457 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
458
a3b6428f
NC
4592003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
460
461 * NEWS: Document the new BSD/POSIX single-character mapping for
462 .comment/.note sections.
463
92991082
JT
4642003-06-02 Chris Demetriou <cgd@broadcom.com>
465 Jason Thorpe <thorpej@wasabisystems.com>
466
467 * objcopy.c (redefine_list_append): Add an argument that
468 indicates the context from which this function is being
469 called. Change all callers.
470 (copy_options): Add a new option, --redefine-syms.
471 (copy_usage): Document new option.
472 (copy_main): Handle the --redefine-syms option.
473 * doc/binutils.text (objcopy): Document new option.
474
38fafa6d
RH
4752003-05-31 Richard Henderson <rth@redhat.com>
476
477 * readelf.c (byte_get_signed): New.
478 (get_encoded_value): New.
479 (display_debug_frames): Use it. Always pre-process opcodes.
480
636fc387
ML
4812003-05-20 Michal Ludvig <mludvig@suse.cz>
482
483 * readelf.c (display_debug_frames): Print both registers
484 for DW_CFA_register.
485
80c7c40a
NC
4862003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
487
488 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
489 i[3-7]86-*-interix.
490 * configure.in: Regenerate.
491
0fcdcb91
NC
4922003-05-13 Michael Eager <eager@mvista.com>
493
494 * objcopy.c: Treat identical src/dst file names as if only one
495 entered. One Windows creating an output file of the same name as
496 the input file will delete the input file before it is read.
497
7ab5f2ed
NC
4982003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
499
500 * debug.c (debug_get_real_type): Extend test for circular debug
501 references.
502
3c92310f
NC
5032003-05-12 Nick Clifton <nickc@redhat.com>
504
505 * configure.in (ALL_LINGUAS): Add zh_CN.
506 * configure: Regenerate.
507 * po/zh_CN.po: New file: Chinese (simplified) translation.
508
d68c07bb
JE
5092003-05-11 Jason Eckhardt <jle@rice.edu>
510
511 * MAINTAINERS: Update my mail address.
512
8beeaeb7
L
5132003-05-07 H.J. Lu <hongjiu.lu@intel.com>
514
515 * readelf.c (dump_relocations): Enlarge the type field in wide
516 mode by one character.
517
63044634
RH
5182003-05-03 Richard Henderson <rth@redhat.com>
519
520 * readelf.c (struct Frame_Chunk): Add cfa_exp.
521 (frame_display_row): Just print "exp" for cfa or register
522 defined by a location expression.
523 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
524 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
525
6e50c90c
L
5262003-04-30 H.J. Lu <hjl@gnu.org>
527
528 * objdump.c (only): Change it to char **.
529 (only_size): New.
530 (only_used): New.
531 (disassemble_data): Check only as an array.
532 (dump_data): Likewise.
533 (dump_relocs): Likewise.
534 (main): Treat only as an array.
535
edbedb71
NC
5362003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
537
538 * doc/binutils.texi: Fix the documentation for the -fo option.
539
3f7de0e7
NC
5402003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
541
ef230218
JR
542 * readelf.c (get_machine_name) <EM_SH>: Amend return value
543 to refer to SuperH.
544
3f7de0e7
NC
545 * readelf.c (decode_location_expression): Don't add a trailing ';'.
546
32df8966
NC
5472003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
548 Nick Clifton <nickc@redhat.com>
549
550 * windres.c (long_options): Move close to main, where it is used.
551 Add 'input' and 'output' long options.
552 (main): Accept "-fo" as an alias for "-o". This is for rc
553 comptibility.
554 * doc/binutils.texi: Mention that -fo is accepted as an alias for
555 -o, but discourage its use.
556
85eb5110
NC
5572003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
558
559 * windres.c (format_from_name): Make the exit on error
560 behaviour optional.
561 (main): Rename the -I option to -J. Introduce -I as a synonym
562 for --include-dir. For backwards compatibility also support the
563 old -I behaviour, but issue a deprecation warning.
564 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
565 of the -I option.
566
26597c86
NC
5672003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
568
569 * readelf.c: Replace references to Mitsubishi M32R with
570 references to Renesas M32R.
571
c2dcd04e
NC
5722003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
573
574 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
575
c1124b23
AO
5762003-04-09 Alexandre Oliva <aoliva@redhat.com>
577
578 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
579 for debugging information types not supported by objdump.
580
e5076347
AM
5812003-04-09 Bernd Jendrissek <berndj@prism.co.za>
582
583 * configure.in: Recognize canonical form of i[3-6]86-pe*.
584 * configure: Regenerate.
585
adab8cdc
AO
5862003-04-09 Alexandre Oliva <aoliva@redhat.com>
587
588 * readelf.c (display_debug_info): Apply RELA relocations on the
589 entire section.
590 (byte_put_little_endian, byte_put_big_endian): New functions.
591 (byte_put): New variable.
592 (get_file_header): Initialize it.
593
3077f5d8
NC
5942003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
595
596 * windres.c: Add -l for compatibility with wrc, and rc.
597 Use the short option as a key for long options that have
598 a synonymous short option.
599 * doc/binutils.texi: Added -l to the list of options.
600
29b058f1
NC
6012003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
602
3077f5d8
NC
603 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
604 (main): Just pass the -U option down to the preprocessor.
605 * doc/binutils.texi: Added -U to the list of options.
29b058f1 606
3126d709
CF
6072003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
608
609 * windres.c (usage): Report -r option.
610 (main): Ignore the -r option.
611 * doc/binutils.texi: Add -r to the list of options.
612
c46ac711
BW
6132003-04-01 Bob Wilson <bob.wilson@acm.org>
614
615 * MAINTAINERS: Add myself as Xtensa maintainer.
616
88da6820
NC
6172003-04-01 Bob Wilson <bob.wilson@acm.org>
618
3077f5d8
NC
619 * readelf.c: Include "elf/xtensa.h".
620 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
621 targets that use RELA relocations.
622 (dump_relocations): Call elf_xtensa_reloc_type for
623 EM_XTENSA and EM_XTENSA_OLD.
624 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 625
27a710e5
NC
6262003-04-01 Nick Clifton <nickc@redhat.com>
627
628 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
629 thumb-pe*, mcore-pe and mcore-*elf.
630 * configure: Regenerate.
631
335a1869
AO
6322003-03-31 Alexandre Oliva <aoliva@redhat.com>
633
634 * objdump.c (dump_data): Don't truncate the address to long; make
635 the width large enough, and uniform for all entries in a section.
636
566b0d53
L
6372003-03-31 H.J. Lu <hjl@gnu.org>
638
639 * readelf.c: Include "libiberty.h".
640 (dynamic_relocations): New.
641 (process_relocs): Properly handle dynamic relocation.
642 (process_dynamic_segment): Fill relocation elements in
643 dynamic_info.
644
ee42cf8c
NC
6452003-03-31 Kevin Buettner <kevinb@redhat.com>
646
647 * readelf.c (read_and_display_attr, read_and_display_attr_value):
648 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
649 all callers.
650 (display_debug_lines, display_debug_pubnames, display_debug_info)
651 (display_debug_aranges, display_debug_frames, read_and_display_attr)
652 (read_and_display_attr_value): Add 64-bit DWARF support.
653
7adbf450
NC
6542003-03-31 Ian Lance Taylor <ian@airs.com>
655
656 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
657 (optresid): Handle a resource id that can be a string or a number.
658 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
659 struct res_id.
660 (define_icon_control): Pass a struct res_id to define_control.
661 * windres.h (define_control): Change prototype.
662
06d86cf7
NC
6632003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
664
7c29036b
NC
665 * objcopy (OPTION_FORMATS_INFO): Define.
666 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
667 (copy_options): Likewise.
668 (strip_usage): Add "--info" to usage.
669 (copy_usage): Likewise.
670 (strip_main): Declare formats_info. Iniatilize it to FALSE.
671 Handle "info".
672 (copy_main). Likewise.
673 * doc/binutils.texi. Document the "--info" option for
674 objcopy/strip.
675 * NEWS: Mention the new command line switch.
676
06d86cf7
NC
677 * objdump.c (endian_string): Move to bucomm.c.
678 (display_info): Likewise.
679 (display_target_list): Likewise.
680 (display_info_table): Likewise.
681 (display_target_tables): Likewise.
682 (main): Assign the return value of display_info to exit_status.
683 * bucomm.c: Include bfdver.h and libbfd.h
684 (display_target_list): Call bfd_nonfatal instead of nonfatal and
685 return 0 on a non-fatal error, 1 on success.
686 (display_info_table): Likewise.
687 * bucomm.h (display_info): Provide a prototype.
688 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
689 libbfd.h.
690 * Makefile.in: Regenerate.
691
7adbf450 6922003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
693
694 * dlltool.c (gen_def_file): Put demangled name comments on
695 own line preceding export name.
696
98a91d6a
NC
6972003-03-17 Nick Clifton <nickc@redhat.com>
698
699 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
700 printf for emitting new lines.
701
06a30c77
NC
7022003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
703
704 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
705 the symbol's value when --size-sort is used, unless -S is used.
706 doc/binutils.texi (--size-sort): For non-bsd formats both the
707 value and size of the symbols are displayed.
708
ab829d36
NC
7092003-03-13 Nick Clifton <nickc@redhat.com>
710
711 * po/da.po: Update.
712
634847c9
NC
7132003-03-12 Nick Clifton <nickc@redhat.com>
714
715 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
716
3889f9eb
BE
7172003-03-10 Ben Elliston <bje@wasabisystems.com>
718
719 * MAINTAINERS: Update my mail address.
720
7eb5191a
NC
7212003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
722
723 * stabs.c (BYTES_IN_WORD): Remove definition.
724 * wrstabs.c (BYTES_IN_WORD): Likewise.
725
e3b83c8f
NC
7262003-03-04 Nick Clifton <nickc@redhat.com>
727
728 * nm.c (main): Print a warning message if --size-sort and
729 --undefined-only are used together.
730
7312003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
732
733 * nm.c (print_symbol): Remove check for undefined_only.
734
a9d68a1e
NC
7352003-03-03 Nick Clifton <nickc@redhat.com>
736
737 * po/da.po: Installed latest translation.
738
a99996bb
NC
7392003-02-24 Nick Clifton <nickc@redhat.com>
740
741 * README: Update binutils references to 2.13.
742 Add paragraph about using --disable-nls.
743
76ed1927
NC
7442003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
745
746 * doc/binutils.texi (nm --size-sort): Update.
747
0100f33b
JW
7482003-02-21 James E Wilson <wilson@tuliptree.org>
749
750 * MAINTAINERS: Update email address.
751
ecc51f48
NC
7522003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
753
754 * readelf.c (get_ia64_dynamic_type): New function.
755 (dynamic_segment_ia64_val): New function.
756 (get_dynamic_type): If machine type is EM_IA_64 call
757 get_ia64_dynamic_val.
758 (get_ia64_section_type_name): Handle sections with types in the
759 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
760 (get_dynamic_flags): If machine type is EM_IA_64 call
761 dynamic_segment_ia64_val.
762
947ed062
NC
7632003-02-21 Bob Wilson <bob.wilson@acm.org>
764
765 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
766 section title capitalization more consistent. Update descriptions
767 of various options to be consistent with the code. Fix errors and
768 incomplete list in the description of c++filt format options. Remove
769 information about the linker. Change to be more polite about poor
770 bug reports. Replace FDL appendix with include of fdl.texi.
771 * doc/fdl.texi: New file.
772
66491ebc
AM
7732003-02-21 Roger Sayle <roger@eyesopen.com>
774
775 * objcopy.c (filter_symbols): Fix compilation problems with
776 HP-UX's C compiler.
777
0e11a9e9
CF
7782003-02-19 Christopher Faylor <cgf@redhat.com>
779
780 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
781 previous change.
782
6e5f5201
CF
7832003-02-19 Mark Blackburn <marklist@fangorn.ca>
784
0e11a9e9 785 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 786
f0c8c24a
NC
7872003-02-12 Bob Wilson <bob.wilson@acm.org>
788
789 * nm.c (usage): Add `java' and `gnat' demangle styles and make
790 quotes consistent.
791 * objdump.c (usage): Ditto. Also fix some typos.
792
d3c543fd
NC
793 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
794
fe2c4142
NC
795 * debug.c (debug_record_variable): Handle global register variables.
796
6de15b9e
NC
797 * stabs.c (parse_stab): For N_SLINE only include
798 function_start_offset if the symbol is within a function;
799 otherwise, the value is absolute.
800
fde78edd
NC
8012003-02-10 Nick Clifton <nickc@redhat.com>
802
803 * readelf.c (decode_ARM_machine_flags): Handle the
804 EF_ARM_MAVERICK_FLOAT flag.
805
22d82235
AS
8062003-02-04 Andreas Schwab <schwab@suse.de>
807
808 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
809 long and use %ld in printf format.
810
1a677ea8
RS
8112003-01-28 Richard Sandiford <rsandifo@redhat.com>
812
813 * readelf.c (dump_relocations): Reorder the r_info field for
814 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
815
8dde85fc
NC
8162003-01-21 Daniel Berlin <dan@dberlin.org>
817
818 * readelf.c (display_debug_loc): Skip address base changes.
819
c6f8bb1e
AM
8202003-01-17 Fabio Alemagna <falemagn@aros.org>
821
822 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
823 and ELFOSABI_NSK.
824
c833c019
AM
8252003-01-16 Alan Modra <amodra@bigpond.net.au>
826
827 * readelf.c: Include elf/ppc64.h.
828 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
829 * Makefile.am: Run "make dep-am".
830 * Makefile.in: Regenerate.
831
3b36097d
SC
8322003-01-02 Ben Elliston <bje@redhat.com>
833
834 * readelf.c (guess_is_rela): Handle EM_IQ2000.
835 (get_machine_name): Likewise.
836 (dump_relocations): Likewise.
837 * NEWS: Mention IQ2000 support.
838
cb44e358
RS
8392003-01-02 Richard Sandiford <rsandifo@redhat.com>
840
841 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
842
af7ee8bf
CD
8432002-12-30 Chris Demetriou <cgd@broadcom.com>
844
845 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
846 changes in MIPS -M options.
847
2469cfa2
NC
8482002-12-30 Dmitry Diky <diwil@mail.ru>
849
850 * Makefile.am: Add msp430 target.
851 * Makefile.in: Regenerate.
852 * readelf.c: Add support for msp430 target.
853
640c0ccd
CD
8542002-12-27 Chris Demetriou <cgd@broadcom.com>
855
856 * doc/binutils.texi (objdump): Document MIPS -M options.
857
59f14fc0
AS
8582002-12-23 Andreas Schwab <schwab@suse.de>
859
860 * readelf.c (main): Reset dump request after each file.
861
312b768e
NC
8622002-12-23 Nick Clifton <nickc@redhat.com>
863
864 * nlmconv.c (main): Pass TRUE as third argument to
865 bfd_arch_get_compatible.
866
8745eafa
NC
8672002-12-23 Nick Clifton <nickc@redhat.com>
868
869 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
870 macro. Handle 'S' encoding, accepting 8-bit characters.
871 (main): Parse 'S' encoding.
872 (get_char): Accept 'S' encoding.
873 (print_strings): Use STRING_ISGRAPHIC.
874 (usage): Document support of 'S' encoding.
875 * doc/binutils.texi: Document support of 'S' encoding/
876 * NEWS: Mention new feature.
877
08213ebb
AM
8782002-12-20 Alan Modra <amodra@bigpond.net.au>
879
880 * README <building ar>: Don't use libibery's needed_list or
881 required_list, instead link libiberty/*.o.
882
b9e5d8e5
KH
8832002-12-19 Kazu Hirata <kazu@cs.umass.edu>
884
885 * doc/binutils.texi: Fix typos.
886
c51238bc
DA
8872002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
888
889 * doc/binutils.texi: Add missing parenthesis.
890
d7fb0dd2
NC
8912002-12-15 Nick Kelsey <nickk@ubicom.com>
892
893 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
894 symbols by adding the given prefix to the begining of the symbol
50c2245b 895 name. This is useful to provide name space separation regardless
d7fb0dd2
NC
896 of how the object file was created. Added --prefix-sections=
897 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
898 sections (or all sections with the alloc flag set) by adding the given
899 prefix to the begining of the symbol name.
900 * NEWS: Mention this new feature.
901 * doc/binutils.texi: Document this new feature.
902
55b9cdf1
AM
9032002-12-13 Alan Modra <amodra@bigpond.net.au>
904
905 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
906 dyn_string_append with dyn_string_append_cstr.
907
908 * emul_aix.c (ar_emul_aix_create): Remove unused function.
909
84ad6ede
NC
9102002-12-10 James Cownie <jcownie@etnus.com>
911
912 * readelf.h (get_TAG_name, get_AT_name,
704afb58 913 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
914 DWARF2 spec.
915 * NEWS: Mention this new support.
916
7d036af2
AM
9172002-12-08 Alan Modra <amodra@bigpond.net.au>
918
919 * NEWS: Mention that bfd no longer declares a "boolean" type.
920
3e8bba36
AM
9212002-12-07 Alan Modra <amodra@bigpond.net.au>
922
923 * readelf.c (process_program_headers): When setting loadaddr, don't
924 assume segment size is 4k. Use p_align instead.
925 (loadaddr): Change from int to long.
926 (dynamic_addr, dynamic_info, version_info): Likewise.
927 (process_dynamic_segment <syminsz>): Likewise.
928 (process_dynamic_segment): Adjust print format string.
929 (rela_addr, rela_size): Delete.
930 (process_relocs): Formatting.
931
d070dab9
JW
9322002-12-05 Jim Wilson <wilson@redhat.com>
933
934 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
935 * configure: Regenerate.
936
45bcbdb1
ILT
9372002-12-04 Ian Lance Taylor <ian@airs.com>
938
939 * MAINTAINERS: Change e-mail address back to airs.com.
940
42ea8716
AH
9412002-12-04 Aldy Hernandez <aldyh@redhat.com>
942
943 * MAINTAINERS: Add self.
944
b34976b6
AM
9452002-11-30 Alan Modra <amodra@bigpond.net.au>
946
947 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
948 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
949 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
950 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
951 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
952 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
953 with TRUE/FALSE. Formatting.
954
c8286bd1
JJ
9552002-11-29 Jakub Jelinek <jakub@redhat.com>
956
957 * readelf.c Replace occurrences of Elf32_Internal_* and
958 Elf64_Internal_* with Elf_Internal_*.
959 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
960 Zero r_addend fields.
961 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
962 Elf_Internal_Rela.
963
92acdfaf
NC
9642002-11-23 Nick Clifton <nickc@redhat.com>
965
966 * size.c (usage): Fix typo describing switch for hex format.
967
48c5eb8a
SS
9682002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
969
970 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
971 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
972 testcase
973
2f62977e
NC
9742002-11-14 Nick Clifton <nickc@redhat.com>
975
976 * readelf.c (process_program_headers): Add comment about return
977 value. Ensure that 0 is returned if the headers are not loaded.
978 (process_file): If process_section_headers failed to load the
979 headers disable any tests that rely upon them. Similarly for
980 process_program_headers.
981
cd24c222
NC
9822002-11-12 Nick Clifton <nickc@redhat.com>
983
984 * po/da.po: Updated Danish translation.
985
f3931575
AM
9862002-11-12 Klee Dienes <kdienes@apple.com>
987
988 * rddbg.c (read_section_stabs_debugging_info): Also recognize
989 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
990
b54e7460
CF
9912002-11-11 Christopher Faylor <cgf@redhat.com>
992
993 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
994 cgf maintainership.
995
4f17cc13
CF
9962002-11-11 Christopher Faylor <cgf@redhat.com>
997
998 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
999
232e7cb8
NC
10002002-11-07 Nick Clifton <nickc@redhat.com>
1001
cd24c222 1002 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
1003 * configure: Regenerate.
1004 * po/da.po: New Danish translation.
1005
232e7cb8
NC
1006 * readelf.c (get_symbol_index_type): Revert part of previous
1007 patch: Display unknown symbol types in decimal, not hex.
1008
c9e38879
NC
10092002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1010
1011 * dlltool.c (add_excludes): Don't prefix excluded fastcall
1012 symbols with underscore.
1013 (xlate): Ignore add_underscore for decorated fastcall symbols.
1014
10152002-11-07 Eric Kohl <ekohl@rz-online.de>
1016
1017 * deflex.l: Accept '@' as first character of an ID.
1018 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1019 ASM_PREFIX for fastcall symbols.
1020 (scan_drectve_symbols): Handle fastcall symbols when generating
1021 undecorated aliases for symbols in drectve section.
1022 (scan_filtered_symbols): Likewise, with export-all.
1023 (xlate): Likewise, with --kill-at.
1024 (make_imp_label): New function to handle fastcall symbols
1025 correctly.
1026 (make_one_lib_file): Use make_imp_label instead of make_label
1027 for imp symbols.
1028
a700dc3b
SS
10292002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
1030
1031 * MAINTAINERS: Add self as TIC4X maintainer.
1032
5cf1065c
NC
10332002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
1034
1035 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
1036 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1037 types.
5cf1065c 1038
f1ef08cb
AM
10392002-11-04 Alan Modra <amodra@bigpond.net.au>
1040
1041 * readelf.c (byte_get_little_endian): Comment typo fix.
1042 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1043 as the format string.
1044 (dump_relocations): Correct section sym names.
1045 (process_section_headers): Clear symtab_shndx_hdr.
1046 (read_and_display_attr_value): Don't pass indirect string to printf
1047 as the format string.
1048 (display_debug_frames): Indicate when zero terminator found. Decode
1049 DW_EH_PE_pcrel addresses.
1050
1a09a22c
NC
10512002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1052
1053 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1054 order to ensure proper disassembly of the valid 0-value opcode.
1055 * configure: Regenerate.
1056 * aclocal.m4: Regenerate.
1057 * config.in: Regenerate.
1058 * configure.in: Regenerate.
1059 * doc/Makefile.in: Regenerate.
1060 * po/binutils.pot: Regenerate.
1061
c254c557
KK
10622002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1063
1064 * MAINTAINERS: Add self as SH maintainer.
1065
aefbdd67
BE
10662002-10-23 Ben Elliston <bje@redhat.com>
1067
1068 * doc/binutils.texi (objdump): Document -z and move the entry for
1069 --disassemble-zeroes to the end of the options section (for `z').
1070
ab9bcc01
NC
10712002-10-21 Nick Clifton <nickc@redhat.com>
1072
1073 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1074
8ab56b6f
AM
10752002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1076
1077 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1078
49c12576
AM
10792002-10-15 Alan Modra <amodra@bigpond.net.au>
1080
48417c1a
AM
1081 * bucomm.c (list_supported_targets): Use bfd_target_list.
1082
49c12576
AM
1083 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1084 other object errors in preference to bfd_core errors.
1085
6e1a7e9a
AM
10862002-10-14 Alan Modra <amodra@bigpond.net.au>
1087
1088 * Makefile.am: Run "make dep-am".
1089 * objdump.c: #include "bfdver.h".
1090 * version.c: Likewise.
1091 * Makefile.in: Regenerate.
1092 * config.in: Regenerate.
1093 * configure: Regenerate.
1094 * po/POTFILES.in: Regenerate.
1095
09fc3b02
DJ
10962002-10-09 Daniel Jacobowitz <drow@mvista.com>
1097
1098 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1099 sections. Allow relocations against the absolute symbol. Don't
1100 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 1101 relocation.
09fc3b02 1102
f309035a
NC
11032002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1104
1105 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1106 ordinary ones are available.
1107
810dfa6e
L
11082002-09-30 H.J. Lu <hjl@gnu.org>
1109
1110 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1111 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1112
bb279dc0
ZW
11132002-09-17 Zack Weinberg <zack@codesourcery.com>
1114
1115 * Makefile.am (CFILES): Add cxxfilt.c.
1116 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1117 (cxxfilt_LDADD): Delete.
1118 Remove all references to underscore.c.
1119 Regen dependencies.
1120 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1121 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1122 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1123 adjustments to fit into binutils framework.
1124 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1125
065c959b
NC
11262002-09-12 Roland McGrath <roland@redhat.com>
1127
1128 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1129 Handle DW_OP_GNU_push_tls_address.
1130
e09f4395
NC
11312002-09-11 Nick Clifton <nickc@redhat.com>
1132
1133 * po/tr.po: Updated Turkish translation.
1134
873e0588
NC
11352002-09-10 Nick Clifton <nickc@redhat.com>
1136
1137 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1138 testsuite changes. Add paragraphs about testsuite and config
1139 patches.
1140
069fe61f
NC
11412002-08-29 Nick Clifton <nickc@redhat.com>
1142
1143 * readelf.c (get_machine_flags): Remove redundant reference to
1144 E_V850EA_ARCH.
1145
fe0507eb
AM
11462002-08-28 Alan Modra <amodra@bigpond.net.au>
1147
1148 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1149 last commit.
1150
026df7c5
NC
11512002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1152
bb279dc0 1153 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
1154 (dump_bfd_header): Likewise.
1155
68a4c073
AM
11562002-08-27 Alan Modra <amodra@bigpond.net.au>
1157
1158 * nm.c: Revert last change.
1159
a1df01d1
AM
11602002-08-26 Alan Modra <amodra@bigpond.net.au>
1161
1162 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1163 * objdump.c (slurp_symtab): Likewise.
1164 (slurp_dynamic_symtab): Likewise.
1165 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1166
a926ab2f
GK
11672002-08-24 Geoffrey Keating <geoffk@redhat.com>
1168
1169 * MAINTAINERS: Change my mailing address.
1170
fcf62380
DA
11712002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1172
1173 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1174
51e28791
NC
11752002-08-22 Nick Clifton <nickc@redhat.com>
1176
1177 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1178 HPPA.
1179
c5b060ad
AM
11802002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1181
1182 * readelf.c (parse_args): Change debug_dump_opt to static.
1183
4b73ca92
NC
11842002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1185
1186 * stabs.c (parse_stab_argtype): Pass length of physname to
1187 stab_demangle_argtypes.
1188 (stab_demangle_argtypes): Add new parameter - length of physname.
1189 Pass length of physname on to stab_demangle_prefix.
1190 (stab_demangle_prefix): Add new parameter - length of physname.
1191 Use length of physname (if supplied) to compute end of function
1192 name.
1193
35b1837e
AM
11942002-08-15 Alan Modra <amodra@bigpond.net.au>
1195
1196 * readelf.c: Include elf/i370.h.
1197 (dump_relocations): Handle EM_S370.
1198 (dynamic_segment_parisc_val): Print \n.
1199 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1200
762baac5
NC
12012002-08-14 Nick Clifton <nickc@redhat.com>
1202
1203 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1204 * objdump.c (usage): Likewise.
1205 * doc/binutils.texi: Likewise.
1206
85c09e8a
NC
12072002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1208
1209 * rcparse.y (acc_entry): Don't warn about ALT use with
1210 non-VIRTKEY.
1211
212a3c4d
L
12122002-08-13 H.J. Lu <hjl@gnu.org>
1213
1214 * objcopy.c (copy_object): Don't warn about the unsupported
1215 architecture unless the input target is defaulted or the
1216 output architecture is different from the input.
1217
2b692c59
NC
12182002-08-09 Nick Clifton <nickc@redhat.com>
1219
1220 * po/sv.po: Updated Swedish translation.
1221
09de7a73
AM
12222002-08-05 Alan Modra <amodra@bigpond.net.au>
1223
1224 * prdbg.c (pr_fix_visibility): Remove assert.
1225
47badb7b
NC
12262002-07-31 Nick Clifton <nickc@redhat.com>
1227
1228 * addr2line.c (process_file): Rename parameter 'filename' to
1229 'file_name' in order to avoid shadowing global symbol of the
1230 same name.
1231 (main): Likewise.
1232
2979dc34
JJ
12332002-07-30 Jakub Jelinek <jakub@redhat.com>
1234
1235 * readelf.c (OPTION_DEBUG_DUMP): Define.
1236 (options): Use it.
1237 (usage): Update help.
1238 (parse_args): Handle --debug-dump separately from -w.
1239 * doc/binutils.texi (readelf): Update documentation.
1240
219576a4
NC
12412002-07-25 Nick Clifton <nickc@redhat.com>
1242
1243 * po/es.po: Updated Spanish translation.
1244 * po/fr.po: Updated French translation.
1245
bf4f22e6 12462002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1247
bf4f22e6
NC
1248 * po/es.po: Updated Spanish translation.
1249
c5b3a82a
AM
12502002-07-23 Alan Modra <amodra@bigpond.net.au>
1251
1252 * Makefile.am: Run "make dep-am".
1253 * Makefile.in: Regenerate.
1254
0461a601
NC
12552002-07-23 Nick Clifton <nickc@redhat.com>
1256
bf4f22e6 1257 * po/fr.po: Updated French translation.
0461a601 1258
bf44dd74
AM
12592002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1260
1261 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1262
2c205ff2
AM
12632002-07-20 Alan Modra <amodra@bigpond.net.au>
1264
63eb0809 1265 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1266
1e4cf259
NC
12672002-07-18 Denis Chertykov <denisc@overta.ru>
1268 Frank Ch. Eigler <fche@redhat.com>
1269
1270 * readelf.c: Include "elf/ip2k.h".
1271 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1272 (dump_relocations): Likewise.
1273 (get_machine_name): Likewise.
1274 * NEWS: Mention IP2K support.
1275
2cbb2eef
NC
12762002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1277
1278 * NEWS: Add 'Changes in 2.13'.
1279
047b2264
JJ
12802002-07-10 Jakub Jelinek <jakub@redhat.com>
1281
1282 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1283 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1284 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1285 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1286 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1287 (process_gnu_liblist): New.
1288 (process_file): Call it.
1289
97230b15
AM
12902002-07-03 Alan Modra <amodra@bigpond.net.au>
1291
1292 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1293 * Makefile.in: Regenerate.
1294
a6637ec0
AM
12952002-07-02 Alan Modra <amodra@bigpond.net.au>
1296
1297 * budemang.c: New file, "demangle" function.
1298 * budemang.h: New file.
1299 * addr2line.c (translate_addresses): Use "demangle".
1300 * nm.c (print_symname): Likewise.
1301 * objdump.c (objdump_print_symname): Likewise.
1302 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1303 here since that obfuscates.
1304 * rdcoff.c: Don't #include demangle.h.
1305 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1306 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1307 (HFILES): Add budemang.h. Sort.
1308 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1309 Run "make dep-am".
1310 * Makefile.in: Regenerate.
1311
179d3252
JT
13122002-07-01 Matt Thomas <matt@3am-software.com>
1313
1314 * readelf.c: Include "elf/vax.h".
1315 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1316 (dump_relocations): Handle VAX relocations.
1317 (get_machine_flags): Handle VAX machine flags.
1318
75751cd9
SC
13192002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1320
1321 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1322
e5851ab8
NC
13232002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1324
1325 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1326
eb3f2f5c
AM
13272002-06-26 Alan Modra <amodra@bigpond.net.au>
1328
1329 * nm.c (print_symname): When demangling, strip leading dots from
1330 symbol names to avoid confusing the demangler.
1331
a13a0de8
L
13322002-06-25 H.J. Lu <hjl@gnu.org>
1333
1334 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1335 * Makefile.in: Regenerated.
1336
6db7a086
AM
13372002-06-21 Igor Schein <igor@txc.com>
1338
1339 * configure.in: Quote bu_cv_have_fopen64.
1340 * configure: Regenerate.
1341
9710509e
AM
13422002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1343
1344 * configure.in: Check for strcoll.
1345 * configure: Regenerate.
1346 * config.in: Regenerate.
1347 * nm.c (main): Set locale for LC_COLLATE category.
1348 (non_numeric_forward): Use strcoll if available.
1349
a9f0b5e7
DB
13502002-06-20 Dave Brolley <brolley@redhat.com>
1351
1352 * MAINTAINERS: Add self as fr30 and frv maintainer.
1353
33f5f537
L
13542002-06-18 H.J. Lu (hjl@gnu.org)
1355
1356 * nm.c: Include "elf/common.h".
1357 (extended_symbol_info): Add elfinfo, a pointer to
1358 elf_symbol_type.
1359 (SYM_SIZE): Use elfinfo if it is not NULL.
1360 (get_symbol_type): New function.
1361 (display_archive): Set print_width for each archive member.
1362 (display_file): Likewise.
1363 (display_rel_file): Don't set print_width here.
1364 (print_object_filename_sysv): Handle print_width.
1365 (print_archive_member_sysv): Likewise.
1366 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1367 (print_symbol): Set the elfinfo field in extended_symbol_info
1368 for ELF.
1369 (print_object_filename_sysv): Fix the output format.
1370 (print_symbol_info_sysv): Print type and section for ELF.
1371
13722002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1373
1374 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1375 the symbol's size equal to its value when --size-sort is
33f5f537
L
1376 used.
1377
5c70f934
DB
13782002-06-18 Dave Brolley <brolley@redhat.com>
1379
1380 From Catherine Moore:
1381 * readelf.c (elf/frv.h): #include it.
1382 (guess_is_rela): Support EM_CYGNUS_FRV.
1383 (dump_relocations): Ditto.
1384 (get_machine_name): Ditto.
1385 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1386
7ece0d85
JJ
13872002-06-18 Jakub Jelinek <jakub@redhat.com>
1388
1389 * readelf.c (get_file_header): Only read the first section header if
1390 e_shoff is non-zero.
1391
72797995
L
13922002-06-15 H.J. Lu (hjl@gnu.org)
1393
1394 * nm.c (print_size): New variable. Initialize to 0.
1395 (long_options): Add 'S'/"print-size".
1396 (main): Handle 'S'.
1397 (print_symbol_info_bsd): Print size only if print_size is not
1398 0.
1399
1400 * doc/binutils.texi: Document -S/--print-size.
1401
977f7911
NC
14022002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1403
50c2245b 1404 * nm.c (struct extended_symbol_info): New structure: Add the size
977f7911
NC
1405 of the symbols to the information provided by the symbol_info
1406 structure.
1407 (print_symbols): Pass the symbol size to print_symbol.
1408 (print_size_symbols): Pass the symbol size to print_symbol.
1409 (print_symbol): Extra argument: The size of the symbol. Store
1410 this in the extended_symbol_info structure.
1411 (print_symbol_info): Change type of info parameter to
1412 extended_symbol_info. Display the size, if known.
1413 (print_symbol_info_posix): Likewise.
1414 (print_symbol_info_sysv): Likewise.
1415
b1f88ebe
AM
14162002-06-08 Alan Modra <amodra@bigpond.net.au>
1417
fa449227
AM
1418 * Makefile.am: Run "make dep-am".
1419 * Makefile.in: Regenerate.
1420 * doc/Makefile.in: Regnerate.
1421
b1f88ebe
AM
1422 * bucomm.c: Replace CONST with const.
1423 * nm.c: Likewise.
1424 * objdump.c: Likewise.
1425
91a106e6
L
14262002-06-07 H.J. Lu <hjl@gnu.org>
1427
1428 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1429 (DW_CFA_GNU_negative_offset_extended): Likewise.
1430 (DW_CFA_GNU_window_save): Likewise.
1431 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1432 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1433
6ab6b380 14342002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1435
6ab6b380
NC
1436 * nm.c: When computing size of symbols for an ELF target use the
1437 internal size field.
1438
e28e05a3
JL
14392002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1440
1441 * testsuite/binutils-all/objcopy.exp: clear xfail for
1442 "hppa*64*-*-hpux*".
1443 * testsuite/binutils-all/hppa/objdump.exp: Return if
1444 "*64*-*-*".
1445
dc156bc0
AM
14462002-06-05 Alan Modra <amodra@bigpond.net.au>
1447
1448 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1449
14502002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1451
1452 * objdump.c: Fix formatting.
1453
d79e4ea3
BE
14542002-05-29 Ben Elliston <bje@redhat.com>
1455
1456 * MAINTAINERS: Add self as M68k maintainer.
1457
d172d4ba
NC
14582002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1459
1460 * readelf.c: Modified/Added DLX elf support.
1461
7edb8f29
NC
14622002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1463
3a1a2036
NC
1464 * arsup.c: Fix formatting.
1465 * debug.c (debug_record_label): Add missing colon to error
1466 message.
1467 * ieee.c (parse_ieee_ty): Fix spelling typo.
1468 * readelf.c (process_program_headers): Remove English assumption
1469 about making a plural word.
1470 (process_section_headers): Likewise.
1471 (process_relocs): Allow quotes to be translated.
1472 (process_unwind): Likewise,
1473 (process_mips_specific): Improve error message.
1474 (get_note_type): Fix spelling typo.
1475
7edb8f29
NC
1476 * configure.in (ALL_LINGUAS): Add sv
1477 * po/sv.po: New file.
1478
3eee1e9d
AM
14792002-05-27 Alan Modra <amodra@bigpond.net.au>
1480
1481 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1482 (unw_print_grmask): Likewise.
1483 (unw_print_frmask): Likewise.
1484
d43efbe3
KH
14852002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1486
1487 * arsup.c: Remove ARGSUSED.
1488 * debug.c: Likewise.
1489 * ieee.c: Likewise.
1490 * nlmconv.c: Likewise.
1491 * prdbg.c: Likewise.
1492 * stabs.c: Likewise.
1493 * wrstabs.c: Likewise.
1494
e9792343
AM
14952002-05-25 Alan Modra <amodra@bigpond.net.au>
1496
1497 * arlex.l: Use #include "" instead of <> for local header files.
1498 * coffdump.c: Likewise.
1499 * coffgrok.c: Likewise.
1500 * nlmconv.c: Likewise.
1501 * nlmheader.y: Likewise.
1502 * srconv.c: Likewise.
1503 * strings.c: Likewise.
1504 * sysdump.c: Likewise.
1505 * unwind-ia64.h: Likewise.
1506 * windres.h: Likewise.
1507 * winduni.h: Likewise.
1508
d7e53452
TR
15092002-05-24 Tom Rix <trix@redhat.com>
1510
1511 * MAINTAINERS: Add self as the d10v maintainer.
1512
436e8db0
NC
15132002-05-24 TAMURA Kent <kent@netbsd.org>
1514
1515 * configure.in: Builds dlltool for i386-netbsdpe.
1516 * configure: Regenerate.
1517
9f66665a
KH
15182002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1519
1520 * size.c: Fix formatting.
1521 * srconv.c: Likewise.
1522 * stabs.c: Likewise.
1523 * sysdump.c: Likewise.
1524 * unwind-ia64.c: Likewise.
1525 * wrstabs.c: Likewise.
1526
13ae64f3
JJ
15272002-05-23 Jakub Jelinek <jakub@redhat.com>
1528
1529 * readelf.c (get_segment_type): Add PT_TLS.
1530 (get_elf_section_flags): Add SHF_TLS.
1531 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1532 (process_dynamic_segment): Use puts instead of printf.
1533 (get_symbol_type): Support STT_TLS.
1534 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1535 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1536 Add SEC_THREAD_LOCAL.
1537
53c7db4b
KH
15382002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1539
1540 * rdcoff.c: Fix formatting.
1541 * rddbg.c: Likewise.
1542 * readelf.c: Likewise.
1543 * rename.c: Likewise.
1544 * resbin.c: Likewise.
1545 * resrc.c: Likewise.
1546 * resres.c: Likewise.
1547
0af11b59
KH
15482002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1549
1550 * filemode.c: Fix formatting.
1551 * ieee.c: Likewise.
1552 * is-ranlib.c: Likewise.
1553 * is-strip.c: Likewise.
1554 * maybe-ranlib.c: Likewise.
1555 * maybe-strip.c: Likewise.
1556 * nlmconv.c: Likewise.
1557 * nm.c: Likewise.
1558 * not-ranlib.c: Likewise.
1559 * not-strip.c: Likewise.
1560 * objcopy.c: Likewise.
1561 * objdump.c: Likewise.
1562
21611032
TS
15632002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1564
1565 * objdump.c (dump_headers): Fix output formatting for ELF32
1566 architectures in a BFD64 enabled toolchain.
1567
26044998
KH
15682002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1569
1570 * debug.c: Fix formatting.
1571 * debug.h: Likewise.
1572 * dlltool.c: Likewise.
1573 * dllwrap.c: Likewise.
1574 * emul_aix.c: Likewise.
1575 * emul_vanilla.c: Likewise.
1576
f462a9ea
KH
15772002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1578
1579 * addr2line.c: Fix formatting.
1580 * ar.c: Likewise.
1581 * arsup.c: Likewise.
1582 * arsup.h: Likewise.
1583 * binemul.c: Likewise.
1584 * binemul.h: Likewise.
1585 * bucomm.c: Likewise.
1586 * coffdump.c: Likewise.
1587 * coffgrok.c: Likewise.
1588 * coffgrok.h: Likewise.
1589
e0159aa9
MM
15902002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1591
1592 * MAINTAINERS: Add myself as the second AVR port maintainer.
1593
074b403e
SC
15942002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1595
1596 * MAINTAINERS: Update my email address.
1597
2b9c8201
NC
15982002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1599
1600 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1601
e1d5b1e7
AM
16022002-05-09 Alan Modra <amodra@bigpond.net.au>
1603
1604 * configure.in: Replace `*pe' with `pe' throughout.
1605 * configure: Regenerate.
1606
d3d8a9ee
NC
16072002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1608
1609 * Makefile.am: Honour DESTDIR.
1610 * Makefile.in: Regenerate.
1611
405c98a4
AM
16122002-05-06 Alan Modra <amodra@bigpond.net.au>
1613
a02d5965
AM
1614 * dlltool.c (process_def_file): Add missing prototype.
1615 (new_directive, assemble_file, main): Likewise.
1616 (process_def_file, new_directive): Make static.
1617 (inform): Rewrite using VA_FIXEDARG.
1618 * dllwrap.c (mybasename): Add missing prototype.
1619 (strhash, main): Likewise.
1620 (inform): Rewrite using VA_FIXEDARG.
1621 (warn): Likewise.
1622 (cleanup_and_exit): Use old style function definition.
1623 (strhash): Likewise.
1624 * windres.c (define_resource): Use one memset to clear all of
1625 struct res_resource.
1626
405c98a4 1627 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1628 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1629
16302002-05-06 Borut Razem <borut.razem@siol.net>
1631
1632 * rclex.l (get_string): Correct "strings" list handling.
1633 * resrc.c (read_rc_file): Discard strings.
1634
91593c9d
AM
16352002-05-04 Alan Modra <amodra@bigpond.net.au>
1636
e58a75dc
AM
1637 * ar.c (replace_members): Remove unused var. Formatting fix.
1638 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1639
91593c9d
AM
1640 * MAINTAINERS: Sort port maintainers by CPU.
1641
6b52b824
AM
16422002-05-04 Bob Byrnes <byrnes@curl.com>
1643
1644 * size.c (display_archive): Add last_arfile and code to close archives.
1645
dd70071f
AM
16462002-05-01 Alan Modra <amodra@bigpond.net.au>
1647
1648 * nm.c (print_symbol): Check returned filename from
1649 bfd_find_nearest_line is non-NULL.
1650
6c95717a 16512002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1652
1653 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1654
3c25c5f6
NC
16552002-04-24 Christian Groessler <chris@groessler.org>
1656
1657 * MAINTAINERS: Changed my email address.
1658
944cd72c
TS
16592002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1660
1661 * arparse.y: Fix syntax warning.
1662
ea91f8bb
NC
16632002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1664
3e55a963
NC
1665 * readelf.c (fetch_location_list): Remove unused function.
1666
1667 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1668 and display a warning message, then exit the loop.
1669
ea91f8bb
NC
1670 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1671
45b99827
NC
16722002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1673
1674 * resrc.c (write_rc_dialog): If charset is non-default value
1675 display all of the DIALOGEX parameters.
1676
16772002-04-15 Eric Kohl <ekohl@rz-online.de>
1678
bb279dc0 1679 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1680 DIALOGEX resources.
1681 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1682 resource data.
bb279dc0 1683 (res_to_bin_dialog): Likewise.
45b99827
NC
1684 * windres.h: Added misssing charset variable to dialog_ex
1685 structure.
1686
acfbab8a
NC
16872002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1688
1689 * rcparse.y: Set MEMFLAG_PURE by default.
1690
df3baf66
NC
16912002-04-09 Bernd Herd <info@herdsoft.com>
1692
bb279dc0 1693 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1694 are quoted.
4c30641a 1695 Fix typo in BEDIT warning.
91eafb40 1696 Don't add default dialog style when explicit style specified.
b62a12ca 1697 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1698
b24eb5ac
NC
1699 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1700 (handle_quotes) "\a" escape (used for right justified key
1701 definitions in menus) is encodes as binary 8.
df3baf66 1702
b24eb5ac
NC
1703 * resrc.c (write_rc_dialog): Print style even if it is 0.
1704 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1705 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1706
b24eb5ac
NC
1707 * resbin.c (bin_to_res_dialog): Use signature to identify
1708 DIALOGEX.
f7d63484 1709
b24eb5ac 1710 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1711
df3baf66
NC
17122002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1713
1714 * resrc.c: print CLASS names in quotes
1715
17162002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1717
1718 * MAINTAINERS: Update my email address.
1719
8e42bcb6
AM
17202002-04-04 Alan Modra <amodra@bigpond.net.au>
1721
1722 * dep-in.sed: Cope with absolute paths.
1723 * Makefile.am (dep.sed): Subst TOPDIR.
1724 Run "make dep-am".
1725 * Makefile.in: Regenerate.
1726
96f959e5
PT
17272002-03-27 Peter Targett <peter.targett@arc.com>
1728
1729 * MAINTAINERS: Update my email address.
1730
1ea788ee
AM
17312002-03-21 Alan Modra <amodra@bigpond.net.au>
1732
1733 * Makefile.am: Run "make dep-am".
1734 * Makefile.in: Regenerate.
1735 * doc/Makefile.in: Regenerate.
1736 * po/POTFILES.in: Regenerate.
1737 * aclocal.m4: Regenerate.
1738 * config.in: Regenerate.
1739 * configure: Regenerate.
1740
a2f14207
DB
17412002-03-20 Daniel Berlin <dan@dberlin.org>
1742
1743 * readelf.c: Add support for displaying dwarf2 location lists.
1744 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1745 (parse_args): Use 'O' as shorthand for displaying location list
1746 section.
1747 (process_section_headers): Handle debug_loc as well.
1748 (load_debug_loc): New.
1749 (free_debug_loc): New.
1750 (fetch_location_list): New.
1751 (display_debug_loc): New.
1752 (display_debug_info): Call load_debug_loc and free_debug_loc.
1753 (debug_displays): We can display .debug_loc now, too.
1754 (usage): Update usage string.
1755 (read_and_display_attr_value): Note location lists, but don't
1756 display them inline.
1757
eb1e0e80
NC
17582002-03-18 Tom Rix <trix@redhat.com>
1759
1760 * Makefile.am: Add binutils emulation support.
1761 * configure.in: Same.
1762 * configure.tgt: New file. Same.
1763 * ar.c (main): Use ar_emul_parse_arg.
1764 (usage): Use ar_emul_usage.
1765 (replace_members): Use ar_emul_replace, ar_emul_append.
1766 * binemul.c: New file. Define the binutils emulation
1767 layer. Define default methods.
1768 * binemul.h: New file. Binutils emulation layer header file.
1769 * emul_aix.c: New file. AIX binutils emulation.
1770 * emul_vanilla.c: New file. Default binutils emulation.
1771 * Makefile.in: Regenerate.
1772 * configure: Same.
1773
a1c259a1
NC
17742002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1775
1776 * po/fr.po: Updated version.
1777
9ce88e60
NC
17782002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1779
1780 * po/fr.po: Updated version.
1781
effb0601
DJ
17822002-03-07 Daniel Jacobowitz <drow@mvista.com>
1783
1784 * README: Update some version numbers.
1785
a65688ab
DJ
17862002-03-07 Daniel Jacobowitz <drow@mvista.com>
1787
1788 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1789 (Architecture Selection): Likewise.
1790
f3f7fbb2
NC
17912002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1792
1793 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1794 generating .exp file.
1795
25345be5
NC
17962002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1797
1798 * readelf.c (dump_relocations): Fix typo.
1799
9a66911f
NC
18002002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1801
1802 * NEWS: Mark 2.12 branch.
1803
2c71103e
NC
18042002-02-18 Timothy Daly <remote_bob@yahoo.com>
1805
bb279dc0
ZW
1806 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1807 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1808 output.
bb279dc0 1809 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1810 to 'unrecognized'.
1811 (decode_ARM_machine_flags): Likewise.
1812 (parse_args): Likewise.
1813 (read_and_display_attr_value): Likewise.
1814 (display_debug_section): Likewise.
1815
49fda6c8
HPN
18162002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1817
1818 * NEWS: Mention support for MMIX.
1819
76f57f3a
JT
18202002-02-13 Matt Fredette <fredette@netbsd.org>
1821
1822 * readelf.c (get_machine_flags): Recognize EF_M68000.
1823
d36ca9c2
AO
18242002-02-12 Alexandre Oliva <aoliva@redhat.com>
1825
1826 * MAINTAINERS: Added self as MN10300 co-maintainer.
1827
19397422
AM
18282002-02-12 Alan Modra <amodra@bigpond.net.au>
1829
1830 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1831 DT_PPC64_OPDSZ.
1832
d434e574
DJ
18332002-02-11 Daniel Jacobowitz <drow@mvista.com>
1834
1835 * MAINTAINERS: List myself as branch maintainer.
1836
12b87c89
AM
18372002-02-11 Alan Modra <amodra@bigpond.net.au>
1838
1839 * configure: Regenerate.
1840 * objcopy.c: Update copyright date.
1841 * doc/Makefile.in: Regenerate.
1842
8d037c5c
DJ
18432002-02-10 Daniel Jacobowitz <drow@mvista.com>
1844
1845 * nlmconv.c: Back out localtime PARAMS change.
1846
4c168fa3
AM
18472002-02-11 Alan Modra <amodra@bigpond.net.au>
1848
1849 * objcopy.c (MKDIR): Define.
1850 (copy_archive): Make name_list.name const. Use MKDIR.
1851 Handle duplicate files in archives by making more temp dirs.
1852
408f8db1
DJ
18532002-02-10 Daniel Jacobowitz <drow@mvista.com>
1854
1855 * coffdump.c: Include "getopt.h" after "bucomm.h"
1856 so that macros are defined correctly.
1857 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1858 prototype. Prototype main.
1859 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1860
9f77fa06
AO
18612002-02-06 Alexandre Oliva <aoliva@redhat.com>
1862
1863 * MAINTAINERS: Added self as SH co-maintainer.
1864
82f6addb
NC
18652002-02-05 Nick Clifton <nickc@redhat.com>
1866
1867 * po/tr.po: Updated translation.
1868
ba323545
AM
18692002-02-01 Alan Modra <amodra@bigpond.net.au>
1870
1871 * Makefile.am: Run "make dep-am"
1872 * Makefile.in: Regenerate.
1873
3deb89d3
DJ
18742002-01-29 Daniel Jacobowitz <drow@mvista.com>
1875
1876 * nm.c (print_value): Mark abfd unused.
1877
a0e9c55f
DJ
18782002-01-29 Daniel Jacobowitz <drow@mvista.com>
1879
1880 * unwind-ia64.c (unw_decoder): Change second argument
1881 to unsigned int, to match function prototypes.
1882
d7a283d4
DJ
18832002-01-29 Daniel Jacobowitz <drow@mvista.com>
1884
1885 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1886 __GNU_LIBRARY__ will be defined.
1887 * size.c: Likewise.
1888
4867be41
DJ
18892002-01-27 Daniel Jacobowitz <drow@mvista.com>
1890
1891 * configure: Regenerated.
1892
7562a296
HPN
18932002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1894
1895 * doc/Makefile.am (install): Depend on install-info.
1896 * doc/Makefile.in: Regenerate.
1897
15c82623
NC
18982002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1899
1900 * objcopy.c (strip_usage): Document -d as an alias
1901 --strip-debug.
1902
1903 * size.c (usage): Document [-t | --totals] options.
1904 (long_options): Add --totals option.
1905 (main): If the [-t | --totals] option is specified and
1906 the output format is Berkeley-style, print the total
1907 text, data, and bss sizes of all objects listed.
1908 (print_berkeley_format): If the [-t | --totals] option
1909 is specified, track the total text, data, and bss
1910 sizes.
1911 * doc/binutils.texi (size): Document [-t | --totals] options.
1912 (strip): Document -d as an alias for --strip-debug.
1913 * NEWS: Mention new feature of size.
1914
00ea8601 19152002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1916
1ddbd152
NC
1917 * po/fr.po: Updated version.
1918 * po/es.po: Updated version.
b85cedd7 1919
8b53311e
NC
19202002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1921
1922 * addr2line.c (usage): Update text to provide verbose
1923 description of the command line options.
1924 * ar.c (usage): Update text to provide verbose
1925 description of the command line options.
1926 (main): Accept -h and -H when running as ranlib.
1927 * coffdump.c (show_usage): Update text to provide verbose
1928 description of the command line options.
1929 * dlltool.c (main): Accept -H as an alias for --help.
1930 * nlmconv.c (show_usage): Update text to provide verbose
1931 description of the command line options.
1932 * nm.c (usage): Replace OPTIONS with option(s).
1933 (main): Accept -H as an alias for --help.
1934 * objcopy.c (strip_main): Accept -H as an alias for --help.
1935 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1936 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1937 other binutils.
1938 * size.c (usage): Update text to provide verbose description
1939 of the command line options.
1940 (main): Accept -v, -h and -H as command line options.
1941 * srconv.c (show_usage): Update text to provide verbose
1942 description of the command line options.
1943 * strings.c (main): Accept -H and -v as command line options.
1944 (usage): Update text to provide verbose description of the
1945 command line options.
1946 * sysdump.c (show_usage): Update text to provide verbose
1947 description of the command line options.
1948 * windres.c (usage): Adjust format to match style used in
1949 other binutils.
1950
1951 * coffdump.c: Fix formatting.
1952 * nlmconv.c: Fix formatting.
1953 * srconv.c: Fix formatting.
1954 * sysdump.c: Fix formatting.
1955
c46f0c34
AM
19562002-01-22 Alan Modra <amodra@bigpond.net.au>
1957
1958 * Makefile.am: Run "make dep-am".
1959 * Makefile.in: Regenerate.
1960
2a538ba5
AJ
19612002-01-18 Andreas Jaeger <aj@suse.de>
1962
1963 * version.c (print_version): Update year.
1964
285d1771
AM
19652002-01-17 Alan Modra <amodra@bigpond.net.au>
1966
1967 * readelf.c (get_machine_name): Handle EM_PPC64.
1968 (guess_is_rela): Here too.
1969
328577ad
NC
19702002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1971
1972 * po/binutils.pot: Regenerate.
1973 * po/fr.po: Regenerate.
1974 * po/tr.po: Regenerate.
1975
af3ae48d
NC
19762002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1977
1978 * po/tr.po: Import new version.
1979
f1cb7e17
AM
19802002-01-16 Alan Modra <amodra@bigpond.net.au>
1981
1982 * readelf.c (get_ppc64_dynamic_type): New.
1983 (get_dynamic_type): Call it.
1984
6364e0b4
NC
19852002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1986
3ab9460d 1987 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1988 (strip_usage): Use "options" instead of "switches".
3ab9460d 1989 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1990 "switches".
6364e0b4 1991
3a7e524e
RE
19922002-01-14 Richard Earnshaw <rearnsha@arm.com>
1993
1994 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1995
1209e219
NC
19962001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1997
1998 * po/es.po: Import from translation project.
1999 * configure.in (ALL_LINGUAS): Add es.
2000 * configure: Regenerate.
2001
b4db1224
JT
20022002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2003
2004 * readelf.c (get_netbsd_elfcore_note_type): Use
2005 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2006
9437c45b
JT
20072002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2008
2009 * readelf.c: Update copyright years.
2010 (get_note_type): Return a const char *.
2011 (get_netbsd_elfcore_note_type): New function.
2012 (process_note): Use get_netbsd_elfcore_note_type to get
2013 the note type string for NetBSD ELF core files.
2014
00428cca
AM
20152002-01-06 Steve Ellcey <sje@cup.hp.com>
2016
2017 * readelf.c (get_ia64_segment_type): Add support for macros.
2018 (get_segment_type): Add support for IA64 specific macros.
2019
31104126
NC
20202001-12-20 Julian v. Bock <julian@wongr.net>
2021
2022 * readelf.c (print_symbol): New function: Print a formatted symbol
2023 name. If --wide is specified do not truncate it.
2024 (dump_relocations): Use print_symbol() to print symbol names.
2025 (process_symbol_table): Likewise.
2026 (process_syminfo): Likewise.
2027 (process_mips_specific): Likewise.
2028 (usage): Document new feature of --wide switch.
2029 * doc/binutils.texi (objdump): Document additional behaviour of
2030 --wide.
2a538ba5 2031
4dd67f29
MS
20322001-12-18 Michael Snyder <msnyder@redhat.com>
2033
2034 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2035 (copy_object): Don't set the start address or flags of a core file.
2036 (copy_section): Don't relocate a core file. Don't copy contents
2037 if the input section has the contents flag set, but the output
2038 section does not (which happens with the fake 'note' pseudo-
2039 sections that BFD creates for corefiles).
2040
43521d43
TS
20412001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2042
2043 * readelf.c (get_machine_flags): Recognize header flags for ABI and
2044 ASE extensions. More robust code for ISA checking. Ignore empty fields
2045 in header flags for GNU extensions.
2046
b667df2e
AM
20472001-12-18 Alan Modra <amodra@bigpond.net.au>
2048
2049 * objcopy.c (copy_archive): Set output bfd format outside the loop.
2050
17a5a5c3
NC
20512001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2052
2053 * po/ja.po: Import from translation project.
2054 * configure.in (ALL_LINGUAS): Add ja.
2055 * configure: Regenerate.
2056
65de42c0
TS
20572001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2058
2059 * addr2line.c (main): Protoype.
2060 * ar.c (main): Protoype.
2061 * nm.c (main): Protoype.
2062 * objcopy.c (main): Protoype.
2063 * objdump.c (main): Protoype.
2064 * size.c (main): Protoype.
2065 * strings.c (main): Protoype.
2066
9ad5cbcf
AM
20672001-12-17 Alan Modra <amodra@bigpond.net.au>
2068
2069 * readelf.c (symtab_shndx_hdr): New global.
2070 (SECTION_HEADER_INDEX): Define.
2071 (SECTION_HEADER_NUM): Define.
2072 (SECTION_HEADER): Define.
2073 (GET_ELF_SYMBOLS): Pass two params rather than three.
2074 (get_32bit_elf_symbols): Take file and section args. Read and
2075 use SHT_SYMTAB_SHNDX.
2076 (get_64bit_elf_symbols): Likewise.
2077 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2078 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2079 Remember symtab_shdx_hdr.
2080 (process_program_headers): Scan from index 1 for segment map.
2081 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2082 "section_headers".
2083 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2084 (process_unwind): Likewise.
2085 (process_version_sections): Likewise.
2086 (process_symbol_table): Likewise.
2087 (display_debug_info): Likewise.
2088 (process_dynamic_segment): Fake up a symtab section for changed
2089 GET_ELF_SYMBOLS.
2090 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2091 (process_program_headers): Kill signed/unsigned warning.
2092 (load_debug_str): Likewise.
2093 (display_debug_info): Likewise.
2094
65765700
JJ
20952001-12-13 Jakub Jelinek <jakub@redhat.com>
2096
2097 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2098
560f3c1c
AM
20992001-12-11 Alan Modra <amodra@bigpond.net.au>
2100
2101 * readelf.c (process_file_header): Print extended e_shnum and
2102 e_shdtrndx values. Set elf_header values for same.
2103 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2104 (get_64bit_section_headers): Likewise.
2105 (process_section_headers): Update calls.
2106 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2107
bc408b8a
JJ
21082001-12-10 Jakub Jelinek <jakub@redhat.com>
2109
2110 * objcopy.c (setup_section): Copy entsize.
2111
93fbbb04
GK
21122001-12-07 Geoffrey Keating <geoffk@redhat.com>
2113
2114 * readelf.c (guess_is_rela): Add support for stormy16.
2115 (dump_relocations): Likewise.
2116 (get_machine_name): Likewise.
2117
e3c8793a
NC
21182001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2119
2120 * dllwrap.c (main) Replace multiple strings describing a
2121 single error with a single, newline escaped sentence to permit
2122 better translation into foreign languages.
2123
2124 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2125 class names.
2126
956cd1d6
TS
21272001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2128
2129 * strings.c (get_char): Initialize value.
2130
956c53ee
TS
21312001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2132
2133 * arlex.l: Silence compile warnings.
2134 * arsup.h: Likewise. Fix formatting.
2135
cedd9a58
JJ
21362001-12-04 Jakub Jelinek <jakub@redhat.com>
2137
2138 * strings.c: Include config.h before bfd.h.
2139 (file_off): New type.
2140 (file_open): Define.
2141 (print_strings): Use file_off instead of file_ptr. Print addresses
2142 which don't fit into long correctly.
2143 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2144 available.
2145 (strings_file): Use file_off instead of file_ptr. Use file_open.
2146 * configure.in: Check for getc_unlocked.
2147 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2148 be defined for it.
2149 * configure: Rebuilt.
2150 * config.h.in: Rebuilt.
2151
af667503
L
21522001-11-29 H.J. Lu <hjl@gnu.org>
2153
2154 * bucomm.c (make_tempname): Revert the changes made on
2155 2001-11-14 and 2001-11-12. They won't work with directories.
2156
16474668
NC
21572001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2158
2159 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2160 CFLAGS_FOR_TARGET to runtest in environment.
2161 * Makefile.in: Rebuild.
2162 * doc/Makefile.in: Rebuild.
2163
17978339
MS
21642001-11-28 Mike Stump <mrs@wrs.com>
2165
2166 * objcopy.c (setup_section): Preserve SEC_RELOC when
2167 --set-section-flags is used.
2168
261a45ad
NC
21692001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2170
2171 * readelf.c (do_debug_str): New variable.
2172 (display_debug_str): New function: Display the contents of a
2173 .debug_str section.
2174 (load_debug_str): New function: Load in the contents of a
2175 .debug_str section.
2176 (free_debug_str): New function: Free the memory used by
2177 load_debug_str().
2178 (fetch_indirect_string): Retrieve a string from the .debug_str
2179 section.
2180 (usage): Add -ws.
2181 (parse_args): Accept -ws.
2182 (process_section_headers): Allow the display of the .debug_str
2183 section.
2184 (read_and_display_attr_value): Use fetch_indirect_string. Show
2185 offset into .debug_str section.
2186 (display_debug_info): Use load_debug_str and free_debug_str.
2187 (debug_displays): Add .debug_str.
2188 * doc/binutils.texi: Document -ws.
2189
b8908f93
AJ
21902001-11-19 Andreas Jaeger <aj@suse.de>
2191
2192 * testsuite/binutils-all/objdump.exp: Add x86-64.
2193
e5fb9629
AS
21942001-11-15 Andreas Schwab <schwab@suse.de>
2195
2196 * readelf.c: Fix warnings without terminating newline.
2197
802a735e
AM
21982001-11-15 Alan Modra <amodra@bigpond.net.au>
2199
2200 * doc/binutils.texi (objdump): Document ppc -M options.
2201
b89e9eae
AJ
22022001-11-14 Andreas Jaeger <aj@suse.de>
2203
2204 * doc/binutils.texi (objdump): Fix description to use x86-64.
2205
a6a25652
NC
22062001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2207
2208 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2209 not all systems provide mkstemp.
2210
e396998b
AM
22112001-11-14 Alan Modra <amodra@bigpond.net.au>
2212
2213 * doc/binutils.texi (objdump): Document x86 -M options.
2214
81766fca
RH
22152001-11-13 Keith Walker <keith.walker@arm.com>
2216
2217 * readelf.c (read_and_display_attr_value): New function to
2218 handle DW_FORM_indirect.
2219 (read_and_display_attr): Use it.
2220
1a509dcc
GK
22212001-11-13 Geoffrey Keating <geoffk@redhat.com>
2222
2223 * readelf.c (display_debug_lines): Deal with unknown standard
2224 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2225 DW_LNS_set_isa.
2226
6e917903 22272001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2228
6e917903
TW
2229 * MAINTAINERS: Add self as tic54x maintainer. This target
2230 includes the IBM C54XDSP clone.
7559e86e 2231
6e917903 22322001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2233
7559e86e
NC
2234 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2235
22362001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2237
ecdadc4a
JL
2238 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2239 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2240 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2241 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2242 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2243 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2244 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2245
91770270
JL
2246 * readelf.c (get_elf_class): Fix ISO portability glitch.
2247 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2248
ef5cdfc7
JJ
22492001-11-07 Jakub Jelinek <jakub@redhat.com>
2250
2251 * readelf.c (debug_str, debug_str_size): New.
2252 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2253 Call free_abbrevs.
2254 (read_and_display_addr): Handle DW_FORM_strp.
2255 (display_debug_info): Read .debug_str section if present,
2256 so that DW_FORM_strp can be handled.
2257 Fix test for non-existant .debug_abbrev section.
2258
5e9520c8
JJ
22592001-11-05 Jakub Jelinek <jakub@redhat.com>
2260
2261 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2262
2263 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2264
54589086
MS
22652001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2266
2267 * MAINTAINERS: Add self as s390/s390x maintainer.
2268
c05b685b
TR
22692001-11-02 Tom Rix <trix@bluey.cygnus.com>
2270
2271 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2272
3c62831e
NC
22732001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2274
2275 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2276 * configure: Regernate.
2277 * po/fr.po: New file.
2278 * po/tr.po: New file.
2279
3c3bdf30
NC
22802001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2281
9b19141a 2282 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2283 * readelf.c: Include elf/mmix.h.
2284 (guess_is_rela): MMIX is RELA.
2285 (dump_relocations): Handle MMIX relocations.
2286 * Makefile.am: Regenerate dependencies.
2287 * Makefile.in: Regenerate.
2288
f662939a
NC
22892001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2290
2291 * readelf.c (parse_args): Handle multiple options to the -w
2292 switch.
2293
c91d0dfb
JJ
22942001-10-12 Jakub Jelinek <jakub@redhat.com>
2295
2296 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2297 LOPROC, LOOS and LOUSER.
2298
7559e86e 22992001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2300
2301 * MAINTAINERS: Update my email address.
2302
fcd8210c
AM
23032001-10-03 Alan Modra <amodra@bigpond.net.au>
2304
2305 * doc/Makefile.in: Regenerate.
2306 * configure: Regenerate.
2307
428409d5
NC
23082001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2309
2310 * readelf.c (display_debug_line, display_debug_pubnames,
2311 display_debug_info, display_debug_frames): Detect and warn
2312 about 64-bit format entries.
2313 (display_debug_aranges): Reword 64-bit warning.
2314 (debug_displays): Add .debug_pubtypes as a known, but not yet
2315 supported, debug section.
2316
6a8c2b0d
AM
23172001-10-02 Alan Modra <amodra@bigpond.net.au>
2318
2319 * coffdump.c (PROGRAM_VERSION): Delete.
2320 (main <'V'>): Call print_version.
2321 * srconv.c: Likewise.
2322 * sysdump.c: Likewise.
2323 * version.c (program_version): Remove.
2324 (print_version): Use BFD_VERSION_STRING. Just print the current
2325 year in copyright message.
2326 * addr2line.c (program_version): Remove unused declaration.
2327 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2328 place of BFD_VERSION.
2329 * Makefile.am (Makefile): Depend on bfd/configure.in.
2330 (cplus-dem.o): Depend on Makefile.
2331 Run "make dep-am".
2332 * Makefile.in: Regenerate.
2333
e414a165
NC
23342001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2335
2336 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2337 format .debug_arange sections.
2338 (main): Add missing prototype.
b8908f93 2339
efc3ee7f
HPN
23402001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2341
2342 * Makefile.am: Update dependencies with "make dep-am".
2343 * Makefile.in: Regenerate.
2344
9e85c2a0
RH
23452001-09-28 Richard Henderson <rth@redhat.com>
2346
2347 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2348
451dad9c
AM
23492001-09-26 Alan Modra <amodra@bigpond.net.au>
2350
2351 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2352 VA_CLOSE.
2353 (non_fatal): Likewise.
2354 * objdump.c (objdump_sprintf): Likewise.
2355 * readelf.c (error): Likewise.
2356 (warn): Likewise.
2357
d974e256
JJ
23582001-09-25 Jakub Jelinek <jakub@redhat.com>
2359
2360 * readelf.c (do_wide): New.
2361 (options): Add --wide.
2362 (usage, parse_args): Likewise.
2363 (process_program_headers): Put each segment on a single line if
2364 --wide is given.
2365 (process_section_headers): Put each section on a single line if
2366 --wide is given.
2367 * doc/binutils.texi: Document it.
2368 * NEWS: Likewise.
2369
2f11c261
AM
23702001-09-25 Alan Modra <amodra@bigpond.net.au>
2371
2372 * readelf.c (print_vma): Print 8 digits of low hex value.
2373
1d50f91e
AJ
23742001-09-24 Andreas Jaeger <aj@suse.de>
2375
2376 * nlmconv.c: Fix warnings about unused attributes and function
2377 prototypes.
2378
2379 * strings.c: Add prototype for get_char.
2380
38131e67
L
23812000-09-19 H.J. Lu <hjl@gnu.org>
2382
2383 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2384 $(srcdir)/cxxfilt.man.
2385 * doc/Makefile.in: Rebuild.
2386
3bcfb3e4
AM
23872001-09-19 Alan Modra <amodra@bigpond.net.au>
2388
2389 * objcopy.c (copy_main): Correct rename-section string parsing.
2390 Consolidate new_name parsing, and error messages.
2391
3882b010
L
23922001-09-18 Bruno Haible <haible@clisp.cons.org>
2393
2394 * addr2line.c: Don't include <ctype.h>.
2395 (main): For gettext, also set the LC_CTYPE locate facet.
2396 * ar.c (main): Likewise.
2397 * coffdump.c (main): Likewise.
2398 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2399 (main): For gettext, also set the LC_CTYPE locate facet.
2400 Use ISALNUM instead of isalpha/isdigit.
2401 * dllwrap.c: Don't include <ctype.h>.
2402 (main): For gettext, also set the LC_CTYPE locate facet.
2403 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2404 (main): For gettext, also set the LC_CTYPE locate facet.
2405 Use TOUPPER instead of islower/toupper.
2406 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2407 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2408 Use TOUPPER instead of islower/toupper.
2409 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2410 * objcopy.c (main): Likewise.
2411 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2412 (disassemble_bytes): Use ISPRINT instead of isprint.
2413 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2414 (dump_data): Use ISPRINT instead of isprint.
2415 (main): For gettext, also set the LC_CTYPE locate facet.
2416 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2417 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2418 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2419 Use TOUPPER instead of islower/toupper.
2420 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2421 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2422 (write_rc_accelerators): Use ISPRINT instead of isprint.
2423 (write_rc_rcdata): Likewise.
2424 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2425 * srconv.c (main): Likewise.
2426 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2427 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2428 isdigit/isupper/islower.
2429 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2430 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2431 stab_demangle_prefix, stab_demangle_qualified,
2432 stab_demangle_template, stab_demangle_type,
2433 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2434 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2435 (isgraphic): Use ISPRINT instead of isascii/isprint.
2436 (main): Remove HAVE_LC_MESSAGES dependency.
2437 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2438 (pbarray): Use ISPRINT instead of isprint.
2439 (main): For gettext, also set the LC_CTYPE locate facet.
2440 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2441 (format_from_filename): Use ISPRINT instead of isprint.
2442 (main): For gettext, also set the LC_CTYPE locate facet.
2443 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2444 (unicode_print): Use ISPRINT instead of isprint.
2445 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2446 (stab_variable): Use ISDIGIT instead of isdigit.
2447
e59b4dfb
AM
24482001-09-18 Alan Modra <amodra@bigpond.net.au>
2449
2450 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2451 Replace bfd_read call with call to bfd_bread.
2452 (extract_file): Likewise.
2453
2454 * objdump.c (dump_section_header): Cast section->filepos to
2455 unsigned long to suit printf format string.
2456 * readelf.c (process_section_headers): Similarly for sh_offset.
2457 (process_unwind): Likewise.
2458
d132876a
NC
24592001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2460
2461 * strings.c (encoding, encoding_bytes): New variables.
2462 (long_options): Add --encoding.
2463 (main): Accept -e and --encoding.
2464 (get_char): New function. Read a, possibly wide, character from
2465 the input stream.
2466 (print_strings): Use get_char().
2467 (usage): Document new command line option.
2468 * doc/binutils.texi: Document new command line option.
2469 * NEWS: Announce new command line option.
2470
7559e86e 24712001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2472
2473 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2474 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2475 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2476 Removed EM_CYGNUS_ARC.
2477
7559e86e 24782001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2479
2480 * readelf.c: Include elf/h8 for H8 series definitions.
2481 (guess_is_rela): H8 series if RELA.
2482 (dump_relocations): Handle H8 series relocations.
2483
0823fbca
EC
24842001-08-31 Eric Christopher <echristo@redhat.com>
2485
2486 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2487
8db76d70
PT
24882001-08-29 Peter Targett <peter.targett@arccores.com>
2489
2490 * MAINTAINERS: Include ARC Maintainer.
2491
d81d6584
BE
24922001-08-29 Ben Elliston <bje@redhat.com>
2493
2494 * stabs.c (stab_demangle_template): Initialise s4.
2495
25a1ff5b
AM
24962001-08-27 Alan Modra <amodra@bigpond.net.au>
2497
2498 * readelf.c (dump_relocations): Recognise EM_PPC64.
2499
a5d22d2a
TS
25002001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2501
2502 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2503
62a5a82d
L
25042001-08-25 H.J. Lu <hjl@gnu.org>
2505
2506 * nm.c (print_width): New.
2507 (display_rel_file): Set `print_width' according to
2508 bfd_sprintf_vma.
2509 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2510
1ae8b3d2
AO
25112001-08-24 Alexandre Oliva <aoliva@redhat.com>
2512
2513 * objcopy.c (use_alt_mach_code): New variable.
2514 (OPTION_ALT_MACH_CODE): Define.
2515 (copy_options): Added --alt-machine-code.
2516 (copy_main): Handle it.
2517 (copy_object): Switch to alternate machine code if requested.
2518 * doc/binutils.texi: Document new option.
2519 * NEWS: Likewise.
2520
d1bdd336
TS
25212001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2522
2523 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2524
410f7a12
L
25252001-08-21 H.J. Lu <hjl@gnu.org>
2526
2527 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2528 (display_debug_info): Cast for 64bit hosts.
2529 (display_debug_frames): Likewise.
2530 (process_mips_specific): Likewise.
2531
c32144ff
AJ
25322001-08-21 Andreas Jaeger <aj@suse.de>
2533
2534 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2535
2536 * sysdump.c: Add missing prototypes.
2537 * srconv.c: Likewise.
2538 * unwind-ia64.c: Likewise.
2539 * coffdump.c: Likewise.
2540
2541 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2542
2543 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2544 of declaring xcalloc.
2545
d8180c76
L
25462001-08-10 H.J. Lu <hjl@gnu.org>
2547
2548 * nm.c (print_value): Add one arg, bfd *.
2549 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2550 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2551 (print_symbol_info_sysv): Likewise.
2552 (print_symbol_info_posix): Likewise.
2553
2554 * objdump.c (dump_section_header): Replace printf_vma with
2555 bfd_printf_vma.
2556 (print_section_stabs): Likewise.
2557 (dump_bfd_header): Likewise.
2558 (objdump_print_value): Replace sprintf_vma with
2559 bfd_sprintf_vma.
2560 (disassemble_bytes): Likewise.
2561 (dump_reloc_set): Likewise.
2562
0218d1e4
AJ
25632001-08-10 Andreas Jaeger <aj@suse.de>
2564
2565 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2566 to build warnings.
2567 * configure: Regenerate.
2568
2863d58a
AM
25692001-08-09 Alan Modra <amodra@bigpond.net.au>
2570
2571 * readelf.c: Add missing prototypes.
2572 * objdump.c: Likewise. Format existing prototypes.
2573
c0e047e0
AO
25742001-08-08 Alexandre Oliva <aoliva@redhat.com>
2575
2576 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2577 of any RELA relocation for the abbrev_offset memory location that
2578 refers to the .debug_abbrev section symbol.
2579
ff78d6d6
L
25802001-08-07 H.J. Lu <hjl@gnu.org>
2581
2582 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2583 (main): Return process_file ().
2584
c36774d6
PB
25852001-08-05 Philip Blundell <philb@gnu.org>
2586
2587 * doc/binutils.texi: Use "Thumb" not "THUMB".
2588
8f9d9bd9
JH
25892001-08-03 John Healy <jhealy@redhat.com>
2590
bb279dc0
ZW
2591 Patch suggested by Frank Eigler <fche@redhat.com>.
2592 * objdump.c (disassemble_data): Fill in section member of the
2593 disasm_info structure.
8f9d9bd9 2594
c918cb96
DD
25952001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2596
2597 * configure.in: Added --with-windres option.
2598 * configure: Regenerated.
2599
c7c55b78
NC
26002001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2601
2602 * doc/binutils.texi: Use @command{name} for commands;
2603 use @option{-opt} for options; use @table @env for list of options;
2604 remove spaces arround [ | ] in synopsis.
2605
2606 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2607 center title.
2608
594ef5db
NC
26092001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2610
bb279dc0
ZW
2611 * objcopy.c: Fix formatting.
2612 (section_rename): New structure.
2613 (OPTION_RENAME_SECTION): New switch.
2614 (copy_usage): Document new switch.
2615 (add_section_rename): New function: Add a node to the section
2616 rename list.
2617 (find_section_rename): New function: Find the new name and
2618 flags for a section.
2619 (setup_section): Call find_section_name to determine the name
2620 of the output section.
2621 (copy_main): Handle OPTION_RENAME_SECTION.
2622 * binutils.texi: Document new switch.
594ef5db
NC
2623 * NEWS: Mention new switch.
2624
1f554c69
NC
26252001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2626
2627 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2628 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2629 bug-binutils@gcc.org.
2630
2f83960e
AM
26312001-07-28 Matthias Kramm <kramm@quiss.org>
2632
2633 * bucomm.c (list_supported_architectures): New function.
2634 * bucomm.h (list_supported_architectures): Declare.
2635 * objdump.c (usage): Call the above.
2636
20fe0649
DB
26372001-07-25 Dave Brolley <brolley@redhat.com>
2638
2639 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2640 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2641
1b577b00
NC
26422001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2643
2644 * README: Update for 2.11. Change bug reporting email address.
2645 * MAINTAINERS: Tidy up. Change bug reporting email address.
2646
95fd336c
DD
26472001-07-16 DJ Delorie <dj@redhat.com>
2648
5f16d855
DD
2649 * resres.c (write_res_header): Align header size.
2650 (res_align_file): Calculate alignment correctly.
2651
95fd336c
DD
2652 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2653 correct 10).
2654 * resrc.c (write_rc_resource): Likewise.
2655 * windres.h (SUBLANG_SHIFT): Define - as 10.
2656
ed8fee27
NC
26572001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2658
2659 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2660
90ab7e9a
NC
26612001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2662
2663 * MAINTAINERS: Add notes about branch checkins.
2664
e0c60db2
NC
26652001-07-05 Daniel Berlin <dan@cgsoftware.com>
2666
2667 * readelf.c (display_debug_macinfo): New function, display
2668 .debug_macinfo section.
2669 (do_debug_macinfo): New variable.
2670 (parse_args): Handle "-w[mM]" to mean display macro info.
2671 (process_section_headers): Handle debug_macinfo.
2672 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2673 function for .debug_macinfo display.
e0c60db2
NC
2674 * doc/binutils.texi: Document new command line switch.
2675 * NEWS: Document new feature of readelf.
0218d1e4 2676
24e01a36
L
26772001-07-05 H.J. Lu <hjl@gnu.org>
2678
2679 * objcopy.c (filter_symbols): Don't turn undefined symbols
2680 into local.
2681
4258bf4d
L
26822001-07-03 H.J. Lu <hjl@gnu.org>
2683
2684 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2685 $@.pod.
2686 (ar.1): Likewise.
2687 (dlltool.1): Likewise.
2688 (nlmconv.1): Likewise.
2689 (nm.1): Likewise.
2690 (objcopy.1): Likewise.
2691 (objdump.1): Likewise.
2692 (ranlib.1): Likewise.
2693 (readelf.1): Likewise.
2694 (size.1): Likewise.
2695 (strings.1): Likewise.
2696 (strip.1): Likewise.
2697 (windres.1): Likewise.
2698 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2699 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2700 $(DEMANGLER_NAME).
2701 (as.1): Removed.
2702 * doc/Makefile.in: Regenerated.
2703
7014bc31
NC
27042001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2705
2706 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2707
b811889f
NC
27082001-07-01 Daniel Berlin <dan@cgsoftware.com>
2709
2710 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2711
12ab83a9
NC
27122001-06-29 James Cownie <jcownie@etnus.com>
2713
2714 * readelf.c: Support DWARF 2.1 attributes.
2715
a6e9f9df
AM
27162001-06-28 Alan Modra <amodra@bigpond.net.au>
2717
2718 * readelf.c (GET_DATA_ALLOC): Remove.
2719 (GET_DATA): Remove.
2720 (get_data): New function combining above macros, with an extra
2721 test for zero size.
2722 (slurp_rela_relocs): Use get_data, and catch error return.
2723 (slurp_rel_relocs): Likewise.
2724 (get_32bit_program_headers): Likewise.
2725 (get_64bit_program_headers): Likewise.
2726 (get_32bit_section_headers): Likewise.
2727 (get_64bit_section_headers): Likewise.
2728 (get_32bit_elf_symbols): Likewise.
2729 (get_64bit_elf_symbols): Likewise.
2730 (process_section_headers): Likewise.
2731 (process_relocs): Likewise.
2732 (slurp_ia64_unwind_table): Likewise.
2733 (process_unwind): Likewise.
2734 (get_32bit_dynamic_segment): Likewise.
2735 (get_64bit_dynamic_segment): Likewise.
2736 (process_dynamic_segment): Likewise.
2737 (process_version_sections): Likewise.
2738 (process_symbol_table): Likewise.
2739 (dump_section): Likewise.
2740 (display_debug_info): Likewise.
2741 (display_debug_section): Likewise.
2742 (process_section_contents): Likewise.
2743 (process_corefile_note_segment): Likewise.
2744 (process_mips_specific): Likewise. Also free econf32, econf64.
2745
af3fc3bc
AM
27462001-06-25 Alan Modra <amodra@bigpond.net.au>
2747
2748 * readelf.c (dump_relocations): Print "bad symbol index" if
2749 symtab == NULL with non-zero symtab_index.
2750 (process_relocs): Don't bomb if reloc section has no symsec.
2751
6d900bf6
L
27522001-06-24 H.J. Lu <hjl@gnu.org>
2753
2754 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2755 by accident.
2756 (copy_main): Apply the the change made to strip_main on
2757 2001-05-30 by accident.
2758
49b4e386
AJ
27592001-06-23 Andreas Jaeger <aj@suse.de>
2760
2761 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2762 parameter 'code'.
2763 (unw_decode_x2): Likewise.
2764 (unw_decode_x3): Likewise.
2765 (unw_decode_x4): Likewise.
2766
d8dc71e3
BE
27672001-06-23 Ben Elliston <bje@redhat.com>
2768
2769 * MAINTAINERS: Add myself as M88k maintainer.
2770
af3bdff7
NC
27712001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2772
2773 * objcopy.c (strip_main): Support -o or --output-file command lien
2774 switch.
2775
105e7211
L
27762001-06-19 H.J. Lu <hjl@gnu.org>
2777
2778 * doc/Makefile.in: Regenerated.
2779
c45021f2
NC
27802001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2781
2782 * readelf.c: Restore formatting.
2783
27842001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2785
bb279dc0
ZW
2786 * Makefile.am: Move documentation into doc subdirectory.
2787 * Makefile.in: Regenerated.
c45021f2 2788 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2789 * addr2line.1: Removed.
2790 * ar.1: Likewise.
2791 * dlltool.1: Likewise.
2792 * nlmconv.1: Likewise.
2793 * nm.1: Likewise.
2794 * objcopy.1: Likewise.
2795 * objdump.1: Likewise.
2796 * ranlib.1: Likewise.
2797 * readelf.1: Likewise.
2798 * size.1: Likewise.
2799 * strings.1: Likewise.
2800 * strip.1: Likewise.
2801 * windres.1: Likewise.
2802 * cxxfilt.man: Likewise.
c45021f2
NC
2803 * doc: New Directory.
2804 * doc/Makefile.am: New file.
2805 * doc/Makefile.in: Generate.
2806
09ad7db3
AM
28072001-06-09 Alan Modra <amodra@bigpond.net.au>
2808
2809 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2810
936260fe
AM
28112001-06-01 Alan Modra <amodra@bigpond.net.au>
2812
2813 * MAINTAINERS: Update my email address.
2814
16b2b71c
NC
28152001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2816
2817 * objcopy.c: Add new switches: --keep-global-symbol,
2818 --keep-symbols, --localize-symbols, --keep-global-symbols and
2819 --weaken-symbols.
2820 * binutils.texi: Document new switches.
2821 * objcopy.1: Regenerate.
2822 * NEWS: Announce new feature.
2823
7036c0e1
AJ
28242001-05-28 Andreas Jaeger <aj@suse.de>
2825
2826 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2827 variables, fix format strings.
2828
76a406e5
NC
28292001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2830
2831 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2832 when computing the address of the line to show.
2833
31b6fca6
RH
28342001-05-16 Richard Henderson <rth@redhat.com>
2835
2836 * readelf.c (do_debug_frames_interp): New.
2837 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2838 (byte_get_big_endian): Likewise.
2839 (parse_args) ['F']: Set do_debug_frames_interp.
2840 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2841 (frame_display_row): Don't trunc pc_begin to int.
2842 (size_of_encoded_value): New.
2843 (display_debug_frames): Handle 64-bit targets. Print raw data
2844 unless do_debug_frames_interp.
2845 (debug_displays): Remove duplicate .debug_frame.
2846
4fe85591
NC
28472001-05-15 Ralf Baechle <ralf@gnu.org>
2848
2849 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2850 The former constant was never in active use and is used otherwise
2851 by the ABI.
2852
579f31ac
JJ
28532001-05-11 Jakub Jelinek <jakub@redhat.com>
2854
2855 * readelf.c (process_unwind): Print all unwind sections, not just
2856 one.
2857
78f4a3f7
AM
28582001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2859
2860 * readelf.c (process_unwind): Remove const specifier.
2861
1c529ca6
NC
28622001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2863
2864 * strings.c (isgraphic): Do not use isascii() unless it is needed
2865 for isprint() to work.
2866 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2867
87e6d782
NC
28682001-04-27 Johan Rydberg <jrydberg@opencores.org>
2869
bb279dc0 2870 * NEWS: Announce support for OpenRISC.
87e6d782 2871
4bd3d870 28722001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2873
2874 * dlltool.c (do_default_excludes): Initialise to true.
2875
21211521
AM
28762001-04-10 Alan Modra <amodra@one.net.au>
2877
2878 * MAINTAINERS: Update my email address
2879 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2880
0c66b61e 28812001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2882
2883 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2884
e58d53af
L
28852001-03-30 H.J. Lu <hjl@gnu.org>
2886
2887 * readelf.c (process_unwind): Just return if do_unwind is 0.
2888
bee72332
DD
28892001-03-28 Roger Sayle <roger@metaphorics.com>
2890
2891 * dlltool.c (make_one_lib_file): Fix section flags for
2892 .text, .data and .bss in stub ds*.o files to match those
2893 generated by gas.
2894
f1467e33
L
28952001-03-29 H.J. Lu <hjl@gnu.org>
2896
2897 * readelf.c (process_unwind): Only do unwind sections for
2898 IA64.
2899
1c6fb4fe
L
29002001-03-28 H.J. Lu <hjl@gnu.org>
2901
2902 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2903 * Makefile.in: Regenerate.
2904
0879a67a
AJ
29052001-03-26 Andreas Jaeger <aj@suse.de>
2906
2907 * binutils.texi (nm): Fix texi syntax.
2908
0285c67d
NC
29092001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2910
2911 * binutils.texi: Put @c man begin and @c man end indications
2912 to generate man pages using texi2pod and pod2man. Put @c man title
2913 to identify each man. Add SEEALSO entries.
2914 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2915 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2916 sort the list.
2917 (*.1): Build the man pages from binutils.texi.
2918 * Makefile.in: Regenerate.
2919
04847a4d
CF
29202001-03-13 Eric Kohl <ekohl@rz-online.de>
2921
2922 * defparse.y (opt_equal_name): allow "." in name.
2923 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2924 (gen_exp_file): Likewise.
2925
43a0748c
NC
29262001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2927
2928 * NEWS: Document addition of -B switch to objcopy.
2929 * binutils.texi: Document addition of -B switch to objcopy.
2930 * objcopy.c: (copy_options): Add --binary-architecture.
2931 (copy_usage): Document -B/--binary-architecture.
2932 (copy_main): Support -B/--binary-architecture. Set
2933 bfd_external_binary_architecture.
0879a67a 2934
b7498e0e
NC
29352001-03-11 Andreas Jaeger <aj@suse.de>
2936
2937 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2938 (dump_relocations): Likewise.
2939 (get_machine_name): Likewise.
2940
a59e3bd7
NC
29412001-02-28 Nick Clifton <nickc@redhat.com>
2942
2943 * readelf.c: (struct unw_aux_info): Remove const modifier for
2944 'strtab' field.
2945 (process_unwind): Remove non-K&R compliant LHS type cast in call
2946 to GET_DATA_ALLOC macro.
2947
a5bcd848
PB
29482001-02-28 Philip Blundell <pb@futuretv.com>
2949
2950 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2951 ABI is in use; remove ambiguity between the "unknown" EABI and
2952 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2953 renamed EF_xx constants.
2954
27b7e12d
AM
29552001-02-27 Alan Modra <alan@linuxcare.com.au>
2956
2957 * configure.in (BFD_VERSION): New.
2958 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2959 * configure: Regenerate.
2960 * Makefile.am: Run "make dep-am"
2961 * Makefile.in: Regenerate.
2962
a9f10786
NC
29632001-02-14 Nick Clifton <nickc@redhat.com>
2964
2965 * MAINTAINERS: Add "Obvious Fix" rule.
2966
3c44da9a
MS
29672001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2968
2969 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2970 literal concatenation.
2971
ecd03389
MS
29722001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2973
2974 * readelf.c (struct unw_aux_info): Remove const from the info member.
2975 (process_unwind): Don't type-cast the third argument to the
2976 GET_DATA_ALLOC macro.
2977
88ec60c7
NC
29782001-02-11 Nick Clifton <nickc@redhat.com>
2979
2980 * readelf.c (dump_relocations): Free corrected allocated
2981 array.
2982 (process_unwind): Fix compile time warning.
2983
f5e21966
NC
29842001-02-10 Nick Clifton <nickc@redhat.com>
2985
2986 * binutils.texi: Document new --unwind option to readelf.
2987
a85d7ed0
NC
29882001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2989
2990 * readelf.c: Add linux target for S/390.
2991
7bb10502
AM
29922001-02-10 Alan Modra <alan@linuxcare.com.au>
2993
2994 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2995 printf is a macro.
2996
8ca8f343
HPN
29972001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2998
2999 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3000 * aclocal.m4: Regenerate.
3001 * configure: Regenerate.
3002
7340082d
NC
30032001-02-07 Todd Vierling <tv@wasabisystems.com>
3004
3005 * bucomm.c (bfd_target_vector): Change extern array to pointer.
3006 * objdump.c (bfd_target_vector): Likewise.
3007
4d6ed7c8
NC
30082001-02-07 David Mosberger <davidm@hpl.hp.com>
3009
3010 * readelf.c (process_unwind): New function.
3011 (slurp_ia64_unwind_table): Ditto.
3012 (dump_ia64_unwind): Ditto.
3013 (find_symbol_for_address): Ditto.
3014 (slurp_rela_relocs): New function (split off from dump_relocations()).
3015 (slurp_rel_relocs): Ditto.
3016 (parse_args): Handle '-u' option.
3017
3018 * unwind-ia64.c: New file.
3019 * unwind-ia64.h: New file.
3020 * Makefile.am: Include unwind-ia64.c in readelf build.
3021 * Makefile.in: Regenerate.
7340082d 3022 * po/binutils.pot: Regenerate.
4d6ed7c8 3023
c7217458
PB
30242001-02-04 Philip Blundell <philb@gnu.org>
3025
3026 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3027 * configure: Regenerate.
3028
956eedd4
AM
30292001-01-31 Steve deRosier <sderosier@vari-lite.com>
3030
3031 * ieee.c (ieee_add_bb11): Don't check for backslashes
3032 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3033
8855cbca
AM
30342001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
3035
c7f2731e
AM
3036 * ieee.c: Update copyright.
3037 (ieee_start_compilation_unit): Don't check for backslashes
3038 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3039
8855cbca
AM
3040 * stabs.c: Update copyright. Include "filenames.h".
3041 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3042
329de803 30432001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
3044
3045 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3046 sections are present before using them. Remove code duplication.
3047 (process_symbol_table): Check if VERDEF or VERNEED sections are
3048 present before using them.
3049
23719f39
NC
30502001-01-17 Nick Clifton <nickc@redhat.com>
3051
3052 * objcopy.c (copy_object): Fail if attempting to convert the
3053 endianness of the input object file.
3054
3055 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 3056
f726e849
NC
30572001-01-16 Nick Clifton <nickc@redhat.com>
3058
3059 * readelf.c (string_table_length): New variable.
3060 (SECTION_NAME): Catch out of range indices and missing section
3061 pointers.
3062 (process_section_headers): Delete useless local variable
3063 string_table_offset. Set the value of string_table_length
3064 after loading the string table.
3065 (process_mips_specific): Use SECTION_NAME macro.
3066 (process_file): Set string_table_length to 0 when it is freed.
3067
d0398d6a
NC
30682001-01-12 Nick Clifton <nickc@redhat.com>
3069
3070 * version.c (print_version): Update copyright date.
3071
0d2bcfaf
NC
30722001-01-11 Peter Targett <peter.targett@arccores.com>
3073
3074 * readelf.c (dump_relocations): Include selection with EM_ARC.
3075 (get_machine_name) Update name to "ARC".
3076
8b1e6df3
NC
30772001-01-09 Nick Clifton <nickc@redhat.com>
3078
3079 * Makefile.am: Add rule to build objdump.o from objdump.c and
3080 using OBJDUMP_DEFS.
3081 * Makefile.in: Regenerate.
3082
3083 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3084 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3085 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 3086 * configure: Regenerate.
8b1e6df3
NC
3087
3088 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3089 is defined read in the relocs even if dump_reloc_info is
3090 false.
3091
2f952d20
PB
30922001-01-07 Philip Blundell <philb@gnu.org>
3093
3094 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3095 `bug-binutils'.
3096 * README: Likewise.
3097
a8c548cb
NC
30982000-12-19 Nick Clifton <nickc@redhat.com>
3099
3100 * dlltool.c: Add missing support for arm-epoc-pe.
3101 * configure.in: Add missing support for arm-epoc-pe.
3102 * configure: Regenerate.
3103
cc5fda35
NC
31042000-12-15 Nick Clifton <nickc@redhat.com>
3105
3106 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3107 Mode parts of the x86 port.
3108
bcedfee6
NC
31092000-12-04 Andreas Jaeger <aj@suse.de>
3110
3111 * readelf.c (guess_is_rela): Add EM_X86_64.
3112 (dump_relocations): Add EM_X86_64.
3113 (get_machine_name): Add EM_X86_64.
3114 Include "elf/x86-64.h".
3115
584da044
NC
31162000-12-12 Nick Clifton <nickc@redhat.com>
3117
3118 * readelf.c: Fix formatting.
3119
7559e86e 31202000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3121
3122 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3123
a98cc2b2
AH
31242000-12-07 Andrew Haley <aph@redhat.com>
3125
3126 * readelf.c (display_debug_frames): Only display columns that are
3127 referenced by the frame debug info.
3128
c7987a69
NC
31292000-12-05 Nick Clifton <nickc@redhat.com>
3130
3131 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3132
09fd7e38
JM
31332000-12-04 Jason Merrill <jason@redhat.com>
3134
3135 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3136 (display_debug_section): Likewise.
3137 (display_debug_info): Display CU header before bailing.
3138
e7af610e
NC
31392000-12-01 Chris Demetriou <cgd@sibyte.com>
3140
09fd7e38
JM
3141 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3142 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3143 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 3144
09fd7e38
JM
3145 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3146 and E_MIPS_ARCH_64.
84ea6cf2 3147
09fd7e38
JM
3148 * readelf.c (get_machine_flags): Add case for
3149 E_MIPS_MACH_SB1.
c6c98b38 3150
75066968
DD
31512000-11-30 Richard Earnshaw <rearnsha@arm.com>
3152
3153 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3154
5c4666ea
HPN
31552000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3156