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