2003-06-03 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
29ca8dc5
NS
12003-10-07 Nathan Sidwell <nathan@codesourcery.com>
2
3 * objdump.c (read_section_stabs): Just read one section, return
4 pointer to it. Add size parameter.
5 (print_section_stabs): Add string offset parameter. Adjust.
6 (struct stab_section_names): Add string offset member.
7 (find_stabs_sections): Correct check for split section suffix,
8 adjust read_section_stabs and print_section_stabs calls.
9 (dump_stabs_section): Clear string_offset, free string table.
10
b95f6b0c
CF
112003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
12
13 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
14 'bit count' in icon groups.
15
43c58ae6
CD
162003-09-30 Chris Demetriou <cgd@broadcom.com>
17
18 * NEWS: Add an indication of the cutoff for 2.14.
19
5f74bc13
CD
202003-09-30 Chris Demetriou <cgd@broadcom.com>
21
22 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
23
9ce701e2
L
242003-09-29 H.J. Lu <hongjiu.lu@intel.com>
25
26 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
27 (get_symbol_index_type): Likewise.
28
ecc2063b
L
292003-09-25 H.J. Lu <hongjiu.lu@intel.com>
30
31 * readelf.c (process_version_sections): Indent version names.
32
739fea7b
AG
332003-09-15 Anthony Green <green@redhat.com>
34
35 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
36 (dlltmp): Ditto.
37 (dtab): Ditto.
38
2da42df6
AJ
392003-09-14 Andreas Jaeger <aj@suse.de>
40
41 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
42 unneeded (void *) casts.
43 * ar.c: Likewise.
44 * arlex.l: Likewise.
45 * arparse.y: Likewise.
46 * arsup.c: Likewise.
47 * binemul.c: Likewise.
48 * binemul.h: Likewise.
49 * bucomm.c: Likewise.
50 * bucomm.h: Likewise.
51 * budbg.h: Likewise.
52 * budemang.c: Likewise.
53 * budemang.h: Likewise.
54 * coffdump.c: Likewise.
55 * coffgrok.c: Likewise.
56 * cxxfilt.c: Likewise.
57 * debug.c: Likewise.
58 * debug.h: Likewise.
59 * deflex.l: Likewise.
60 * dlltool.c: Likewise.
61 * dlltool.h: Likewise.
62 * dllwrap.c: Likewise.
63 * emul_aix.c: Likewise.
64 * filemode.c: Likewise.
65 * ieee.c: Likewise.
66 * nlmconv.c: Likewise.
67 * nlmconv.h: Likewise.
68 * nlmheader.y: Likewise.
69 * nm.c: Likewise.
70 * prdbg.c: Likewise.
71 * rclex.l: Likewise.
72 * rcparse.y: Likewise.
73 * rdcoff.c: Likewise.
74 * rddbg.c: Likewise.
75 * rename.c: Likewise.
76 * resbin.c: Likewise.
77 * rescoff.c: Likewise.
78 * resrc.c: Likewise.
79 * size.c: Likewise.
80 * srconv.c: Likewise.
81 * stabs.c: Likewise.
82 * strings.c: Likewise.
83 * sysdump.c: Likewise.
84 * sysinfo.y: Likewise.
85 * syslex.l: Likewise.
86 * unwind-ia64.c: Likewise.
87 * unwind-ia64.h: Likewise.
88 * version.c: Likewise.
89 * windres.c: Likewise.
90 * windres.h: Likewise.
91 * winduni.c: Likewise.
92 * wrstabs.c: Likewise.
93
e831786b
JW
942003-09-10 James E Wilson <wilson@specifixinc.com>
95
96 * MAINTAINERS: Update my e-mail address.
97
afa7d0b2
ILT
982003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
99
100 * MAINTAINERS: Update my e-mail address.
101
04fbe429
NC
1022003-09-04 Nick Clifton <nickc@redhat.com>
103
104 * MAINTAINERS: Make it clear what should be done with patches to
105 the top level configure files (other than config.guess and
106 config.sub). Add binutils@sources.redhat.com as an address to
107 which patches can be sent.
108
8ad30312
NC
1092003-09-04 Nick Clifton <nickc@redhat.com>
110
111 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
112
92c2346c
AC
1132003-09-03 Andrew Cagney <cagney@redhat.com>
114
115 * objdump.c: Refer to init_disassemble_info in comments.
116 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
117 init_disassemble_info.
118
155e0d23
NC
1192003-09-03 Nick Clifton <nickc@redhat.com>
120
121 * objdump.c (struct objdump_disasm_info): Add new fields
122 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
123 (process_section_p): New function: Returns TRUE if a section
124 can be dumped.
125 (disassemble_section): New function: Contains the body of
126 disassemble_data(), but just for one section.
127 (disassemble_data): Use bfd_map_over_sections to walk section
128 chain.
129 (find_stabs_section): New function: Find a stabs containing
130 section and then dump it.
131 (dump_stabs_section): New function: Use bfd_map_over_sections
132 to find the section to dump.
133 (dump_stabs): Use dump_stabs_section.
134 (dump_section): New function: Display the contents of a
135 section.
136 (dump_data): Use bfd_map_over_sections to display section
137 contents.
138 (dump_relocs_in_section): Display the relocs in a given section.
139 (dump_relocs): Use bfd_map_over_sections to display relocs.
140 (adjust_addresses): New function: Adjust the vma and lma of
141 sections.
142 (dump_bfd): Use bfd_map_over_sections.
143 * doc/binutils.texi: Document the "objdump -s" (no longer)
144 dumps empty sections.
145
1462003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
147
148 * objdump.c: Improve comments/documentation.
149 dump_data: Eliminate duplicate function calls to bfd_section_size.
150
6b10f68d
AM
1512003-09-02 Alan Modra <amodra@bigpond.net.au>
152
153 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
154
3673a93e
NC
1552003-08-21 Nick Clifton <nickc@redhat.com>
156
157 * po/tr.po: Updated Turkish translation.
158
51f7282a
AM
1592003-08-14 Alan Modra <amodra@bigpond.net.au>
160
55bb4be3 161 * dep-in.sed: Remove libintl.h.
51f7282a 162 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 163 Run "make dep-am".
51f7282a
AM
164 * Makefile.in: Regenerate.
165
d989285c
ILT
1662003-08-11 Ian Lance Taylor <ian@airs.com>
167
168 * readelf.c (process_archive): Fix error handling. Remove memory
169 leak.
fb52b2f4
NC
170
171 * readelf.c: Add ability to read archives.
172 (archive_file_offset): New variable.
173 (archive_file_size): New variable.
174 (get_data): Include archive_file_offset in file offset
175 calculation when fseeking.
176 (process_program_headers): Likewise.
177 (process_symbol_table): Likewise.
178 (process_dynamic_segment): Handle computation of end of file
179 position when the file is in an archive.
180 (process_object): New function. Contains the body of
181 process_file().
182 (process_archive): New function. Call process_object on each
183 member of an archive.
184 (process_file): Detect archives and handle appropriately.
185 * Makefile.am: Add dependency on aout/ar.h for readelf.c
186 * Makefile.in: Regenerate.
187 * NEWS: Document readelf's new ability.
188 * doc/binutils: Alter text to say that readelf supports archives
189 and 64-bit ELF files.
190
ff85ab24
NC
1912003-08-08 Nick Clifton <nickc@redhat.com>
192
193 * po/fr.po: Updated French translation.
194
d3ba0551
AM
1952003-08-05 Alan Modra <amodra@bigpond.net.au>
196
197 * objcopy.c: Remove unnecessary prototypes and casts.
198 * objdump.c: Remove unnecessary casts.
199 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
200 (get_osabi_name): Move so we don't need a forward declaration.
201
43ac9881
AM
2022003-08-04 Bradley Harrington <bharring@us.ibm.com>
203 Alan Modra <amodra@bigpond.net.au>
204
205 * objdump.c (include_paths, include_path_count): New vars.
206 (usage): Describe --include.
207 (long_options): Add "include".
208 (add_include_path): New function.
209 (struct print_file_list): Make filename const. Add modname.
210 (try_print_file_open, update_source_path): New functions.
211 (show_line): Use them.
212 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
213
fd7bb956
AM
2142003-07-30 Alan Modra <amodra@bigpond.net.au>
215
216 * objdump.c: Remove unnecessary prototypes.
217 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
218 code, and print relocs when dump_dynamic_reloc_info.
219 (disassemble_data): Read and handle dynamic relocs. Correct reloc
220 skip code. Formatting.
221 (dump_bfd): Don't dump dynamic relocs when disassembling.
222
1e7e751f
BE
2232003-07-29 Ben Elliston <bje@wasabisystems.com>
224
225 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
226 maintenance defaults to the blanket write privilege maintainers.
227
2445335e
MM
2282003-07-29 Michael Meissner <gnu@the-meissners.org>
229
230 * MAINTAINERS: Updated my email address.
231
46dca2e0
NC
2322003-07-29 Nick Clifton <nickc@redhat.com>
233
1e7e751f 234 * objdump.c: Update to ISO C.
46dca2e0 235
834d807b
NC
2362003-07-24 Nick Clifton <nickc@redhat.com>
237
f1e2bc62
NC
238 * objdump.c (disassemble_data): Do not ignore sections without the
239 LOAD flag when disassemble_all is true. Only print a message
240 about disassembling a section if it contains some data.
241
834d807b
NC
242 * po/fr.po: Updated French translation.
243
84e2f313
NC
2442003-07-23 Nick Clifton <nickc@redhat.com>
245
246 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
247 left in. Some formatting tidy ups.
248
51cdc6e0
NC
2492003-07-22 Salvador Eduardo Tropea <set@computer.org>
250
251 * objdump.c: New command line option --debugging-tags.
252 * doc/binutils.texi: Document new command line option.
253 * prdbg.c: Code to print the debug info as tags compatible
254 with ctags.
255 * budbg.h: Adjust prototype.
256 * NEWS: Mention new switch
257
31e0f3cd
NC
2582003-07-18 Nick Clifton <nickc@redhat.com>
259
260 * objdump.c (main) :Accept multiple -M switch.
261 * doc/binutils.texi: Document that multiple -M switches are
262 accepted and that a single -M switch can contain comma
263 separated options.
264
073fbac6
NC
2652003-07-17 Nick Clifton <nickc@redhat.com>
266
267 * objdump.c (main): Issue a warning message if multiple -M
268 switches are used.
269
270 * doc/binutils.texi (objdump): Update documentation about -M
271 option.
272
6c37ac4d
NC
2732003-07-17 Nick Clifton <nickc@redhat.com>
274
275 * po/es.po: New Spanish translation.
276
fce00800
AM
2772003-07-11 Alan Modra <amodra@bigpond.net.au>
278
279 * po/binutils.pot: Regenerate.
280
ff6b6222
CF
2812003-07-05 Christopher Faylor <cgf@redhat.com>
282
283 * dlltool.c (prefix_encode): Use a fixed length for alpha.
284
bf7a6389
CF
2852003-07-04 Christopher Faylor <cgf@redhat.com>
286
287 * dlltool.c (prefix_encode): New function. Encode temp file prefix
288 from pid.
289 (dlltmp): Pass address of pointer being alloced or suffer neverending
290 mallocs.
291 (make_one_lib_file): Allocate enough space for new longer stub names.
292 (gen_lib_file): Ditto.
293 (main): Generate the temp file prefix from the pid if prefix was not
294 specified on the command line.
295
96c223ce
NC
2962003-07-04 Nick Clifton <nickc@redhat.com>
297
298 * readelf.c (get_data): Print (unsigned) hex values for size and
299 offset in error messages.
300 (process_section_headers): If the string table could not be
301 allocated, do not continue.
302
bdf4d63a
JJ
3032003-07-01 Jakub Jelinek <jakub@redhat.com>
304
305 * readelf.c (dynamic_segment_ia64_val): Print address and newline
306 for sections by default. Comment fix.
307
b9ae0492
DS
3082003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
309
310 * rcparse.y (res_text_field): New res_id variable.
311 (res_null_text): New static const struct res_id object,
312 with empty unicode name field.
313 (control): Pop parsing of optresidc up one level. Set
314 res_text_field to $2 except for controls which do not accept
315 a text field. Set res_text_field to res_null_text for the
316 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
317 (control_params): Adjust to use res_text_field rather
318 than optresidc.
319 (COMBOBOX): Add comment about discrepency between documented
320 vs. observed default style.
321 * resrc.c (define_control): Make first param const.
322 * windres.h (define_control): Adjust prototype.
323
e7c81c25
NC
3242003-06-27 Nick Clifton <nickc@redhat.com>
325
326 * objcopy.c (copy_object): Replace call to
327 bfd_create_gnu_debuglink_section with seperate calls to
328 bfd_add_gnu_debuglink_section and
329 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
330 symbol tables.
331
d93f0186
NC
3322003-06-26 Roland McGrath <roland@redhat.com>
333
334 * readelf.c (loadaddr): Variable removed.
335 (dynamic_info, version_info): Fix type long -> bfd_vma.
336 (program_headers): New variable.
337 (get_program_headers): New function, broken out of
338 process_program_headers.
339 (process_program_headers): Call it. Don't set `loadaddr'.
340 (slurp_ia64_unwind_table): Use get_program_headers.
341 (process_corefile_note_segments): Likewise.
342 (offset_from_vma): New function.
343 (process_relocs, process_dynamic_segment): Call that instead of
344 subtracting `loadaddr'.
345 (process_version_sections, process_symbol_table): Likewise.
346 (process_mips_specific): Likewise.
347
ed1653a7
NC
3482003-06-26 Nick Clifton <nickc@redhat.com>
349
350 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
351 (OPTION_ONLY_KEEP_DEBUG): New.
352 (strip_options): Add --only-keep-debug.
353 (copy_options): Likewise.
354 (is_strip_section): Invert return value if STRIP_NONDEBUG is
355 active.
356 (copy_object): Do not copy private data when STRIP_NONDEBUG is
357 active.
358 (setup_section): Likewise.
359 (strip_main): Handle --only-keep-debug.
360 (copy_main): Likewise.
361 * NEWS: Mention new switch
362 * doc/binutils.texi: Document new switch.
363
1049f94e
AM
3642003-06-25 Alan Modra <amodra@bigpond.net.au>
365
366 * NEWS: Correct spelling of "relocatable".
367 * objdump.c: Likewise.
368 * sysroff.info: Likewise.
369
b19aac67
NC
3702003-06-19 Nick Clifton <nickc@redhat.com>
371
372 * readelf.c (print_vma): When printing DEC_5 values, if the
373 number is bigger than 99999 switch to using hexadecimal
374 notation.
375
2593f09a
NC
3762003-06-11 Nick Clifton <nickc@redhat.com>
377
378 * objcopy.c (gnu_debuglink_filename): New variable.
379 (OPTION_ADD_GNU_DEBUGLINK): New switch
380 (copy_options): Describe --add-gnu-debuglink switch.
381 Mention that --strip-debug removes sections as well.
382 (is_strip_section): Process the sections removed and kept
383 lists before checking for debugging sections.
384 (add_redefine_syms_file): Make function static.
385 (copy_object): Use is_strip_section.
386 Check to see if a .gnu_debuglink section should be added. If
387 so, call bfd_add_gnu_debuglink.
388 (setup_section): Use is_strip_section.
389 (copy_section): Use is_strip_section.
390 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
391 * NEWS: Mention new objcopy switch.
392 * doc/binutils.texi: Document new switch.
393
3b443373
L
3942003-06-11 H.J. Lu <hongjiu.lu@intel.com>
395
396 * po/Make-in (DESTDIR): New.
397 (install-data-yes): Support $(DESTDIR).
398 (uninstall): Likewise.
399
795bb480
AM
4002003-06-11 Alan Modra <amodra@bigpond.net.au>
401
402 * Makefile.in: Regenerate.
403
9ee5e499
JJ
4042003-05-23 Jakub Jelinek <jakub@redhat.com>
405
406 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
407
a3b6428f
NC
4082003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
409
410 * NEWS: Document the new BSD/POSIX single-character mapping for
411 .comment/.note sections.
412
92991082
JT
4132003-06-02 Chris Demetriou <cgd@broadcom.com>
414 Jason Thorpe <thorpej@wasabisystems.com>
415
416 * objcopy.c (redefine_list_append): Add an argument that
417 indicates the context from which this function is being
418 called. Change all callers.
419 (copy_options): Add a new option, --redefine-syms.
420 (copy_usage): Document new option.
421 (copy_main): Handle the --redefine-syms option.
422 * doc/binutils.text (objcopy): Document new option.
423
38fafa6d
RH
4242003-05-31 Richard Henderson <rth@redhat.com>
425
426 * readelf.c (byte_get_signed): New.
427 (get_encoded_value): New.
428 (display_debug_frames): Use it. Always pre-process opcodes.
429
636fc387
ML
4302003-05-20 Michal Ludvig <mludvig@suse.cz>
431
432 * readelf.c (display_debug_frames): Print both registers
433 for DW_CFA_register.
434
80c7c40a
NC
4352003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
436
437 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
438 i[3-7]86-*-interix.
439 * configure.in: Regenerate.
440
0fcdcb91
NC
4412003-05-13 Michael Eager <eager@mvista.com>
442
443 * objcopy.c: Treat identical src/dst file names as if only one
444 entered. One Windows creating an output file of the same name as
445 the input file will delete the input file before it is read.
446
7ab5f2ed
NC
4472003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
448
449 * debug.c (debug_get_real_type): Extend test for circular debug
450 references.
451
3c92310f
NC
4522003-05-12 Nick Clifton <nickc@redhat.com>
453
454 * configure.in (ALL_LINGUAS): Add zh_CN.
455 * configure: Regenerate.
456 * po/zh_CN.po: New file: Chinese (simplified) translation.
457
d68c07bb
JE
4582003-05-11 Jason Eckhardt <jle@rice.edu>
459
460 * MAINTAINERS: Update my mail address.
461
8beeaeb7
L
4622003-05-07 H.J. Lu <hongjiu.lu@intel.com>
463
464 * readelf.c (dump_relocations): Enlarge the type field in wide
465 mode by one character.
466
63044634
RH
4672003-05-03 Richard Henderson <rth@redhat.com>
468
469 * readelf.c (struct Frame_Chunk): Add cfa_exp.
470 (frame_display_row): Just print "exp" for cfa or register
471 defined by a location expression.
472 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
473 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
474
6e50c90c
L
4752003-04-30 H.J. Lu <hjl@gnu.org>
476
477 * objdump.c (only): Change it to char **.
478 (only_size): New.
479 (only_used): New.
480 (disassemble_data): Check only as an array.
481 (dump_data): Likewise.
482 (dump_relocs): Likewise.
483 (main): Treat only as an array.
484
edbedb71
NC
4852003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
486
487 * doc/binutils.texi: Fix the documentation for the -fo option.
488
3f7de0e7
NC
4892003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
490
ef230218
JR
491 * readelf.c (get_machine_name) <EM_SH>: Amend return value
492 to refer to SuperH.
493
3f7de0e7
NC
494 * readelf.c (decode_location_expression): Don't add a trailing ';'.
495
32df8966
NC
4962003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
497 Nick Clifton <nickc@redhat.com>
498
499 * windres.c (long_options): Move close to main, where it is used.
500 Add 'input' and 'output' long options.
501 (main): Accept "-fo" as an alias for "-o". This is for rc
502 comptibility.
503 * doc/binutils.texi: Mention that -fo is accepted as an alias for
504 -o, but discourage its use.
505
85eb5110
NC
5062003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
507
508 * windres.c (format_from_name): Make the exit on error
509 behaviour optional.
510 (main): Rename the -I option to -J. Introduce -I as a synonym
511 for --include-dir. For backwards compatibility also support the
512 old -I behaviour, but issue a deprecation warning.
513 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
514 of the -I option.
515
26597c86
NC
5162003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
517
518 * readelf.c: Replace references to Mitsubishi M32R with
519 references to Renesas M32R.
520
c2dcd04e
NC
5212003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
522
523 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
524
c1124b23
AO
5252003-04-09 Alexandre Oliva <aoliva@redhat.com>
526
527 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
528 for debugging information types not supported by objdump.
529
e5076347
AM
5302003-04-09 Bernd Jendrissek <berndj@prism.co.za>
531
532 * configure.in: Recognize canonical form of i[3-6]86-pe*.
533 * configure: Regenerate.
534
adab8cdc
AO
5352003-04-09 Alexandre Oliva <aoliva@redhat.com>
536
537 * readelf.c (display_debug_info): Apply RELA relocations on the
538 entire section.
539 (byte_put_little_endian, byte_put_big_endian): New functions.
540 (byte_put): New variable.
541 (get_file_header): Initialize it.
542
3077f5d8
NC
5432003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
544
545 * windres.c: Add -l for compatibility with wrc, and rc.
546 Use the short option as a key for long options that have
547 a synonymous short option.
548 * doc/binutils.texi: Added -l to the list of options.
549
29b058f1
NC
5502003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
551
3077f5d8
NC
552 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
553 (main): Just pass the -U option down to the preprocessor.
554 * doc/binutils.texi: Added -U to the list of options.
29b058f1 555
3126d709
CF
5562003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
557
558 * windres.c (usage): Report -r option.
559 (main): Ignore the -r option.
560 * doc/binutils.texi: Add -r to the list of options.
561
c46ac711
BW
5622003-04-01 Bob Wilson <bob.wilson@acm.org>
563
564 * MAINTAINERS: Add myself as Xtensa maintainer.
565
88da6820
NC
5662003-04-01 Bob Wilson <bob.wilson@acm.org>
567
3077f5d8
NC
568 * readelf.c: Include "elf/xtensa.h".
569 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
570 targets that use RELA relocations.
571 (dump_relocations): Call elf_xtensa_reloc_type for
572 EM_XTENSA and EM_XTENSA_OLD.
573 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 574
27a710e5
NC
5752003-04-01 Nick Clifton <nickc@redhat.com>
576
577 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
578 thumb-pe*, mcore-pe and mcore-*elf.
579 * configure: Regenerate.
580
335a1869
AO
5812003-03-31 Alexandre Oliva <aoliva@redhat.com>
582
583 * objdump.c (dump_data): Don't truncate the address to long; make
584 the width large enough, and uniform for all entries in a section.
585
566b0d53
L
5862003-03-31 H.J. Lu <hjl@gnu.org>
587
588 * readelf.c: Include "libiberty.h".
589 (dynamic_relocations): New.
590 (process_relocs): Properly handle dynamic relocation.
591 (process_dynamic_segment): Fill relocation elements in
592 dynamic_info.
593
ee42cf8c
NC
5942003-03-31 Kevin Buettner <kevinb@redhat.com>
595
596 * readelf.c (read_and_display_attr, read_and_display_attr_value):
597 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
598 all callers.
599 (display_debug_lines, display_debug_pubnames, display_debug_info)
600 (display_debug_aranges, display_debug_frames, read_and_display_attr)
601 (read_and_display_attr_value): Add 64-bit DWARF support.
602
7adbf450
NC
6032003-03-31 Ian Lance Taylor <ian@airs.com>
604
605 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
606 (optresid): Handle a resource id that can be a string or a number.
607 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
608 struct res_id.
609 (define_icon_control): Pass a struct res_id to define_control.
610 * windres.h (define_control): Change prototype.
611
06d86cf7
NC
6122003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
613
7c29036b
NC
614 * objcopy (OPTION_FORMATS_INFO): Define.
615 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
616 (copy_options): Likewise.
617 (strip_usage): Add "--info" to usage.
618 (copy_usage): Likewise.
619 (strip_main): Declare formats_info. Iniatilize it to FALSE.
620 Handle "info".
621 (copy_main). Likewise.
622 * doc/binutils.texi. Document the "--info" option for
623 objcopy/strip.
624 * NEWS: Mention the new command line switch.
625
06d86cf7
NC
626 * objdump.c (endian_string): Move to bucomm.c.
627 (display_info): Likewise.
628 (display_target_list): Likewise.
629 (display_info_table): Likewise.
630 (display_target_tables): Likewise.
631 (main): Assign the return value of display_info to exit_status.
632 * bucomm.c: Include bfdver.h and libbfd.h
633 (display_target_list): Call bfd_nonfatal instead of nonfatal and
634 return 0 on a non-fatal error, 1 on success.
635 (display_info_table): Likewise.
636 * bucomm.h (display_info): Provide a prototype.
637 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
638 libbfd.h.
639 * Makefile.in: Regenerate.
640
7adbf450 6412003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
642
643 * dlltool.c (gen_def_file): Put demangled name comments on
644 own line preceding export name.
645
98a91d6a
NC
6462003-03-17 Nick Clifton <nickc@redhat.com>
647
648 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
649 printf for emitting new lines.
650
06a30c77
NC
6512003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
652
653 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
654 the symbol's value when --size-sort is used, unless -S is used.
655 doc/binutils.texi (--size-sort): For non-bsd formats both the
656 value and size of the symbols are displayed.
657
ab829d36
NC
6582003-03-13 Nick Clifton <nickc@redhat.com>
659
660 * po/da.po: Update.
661
634847c9
NC
6622003-03-12 Nick Clifton <nickc@redhat.com>
663
664 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
665
3889f9eb
BE
6662003-03-10 Ben Elliston <bje@wasabisystems.com>
667
668 * MAINTAINERS: Update my mail address.
669
7eb5191a
NC
6702003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
671
672 * stabs.c (BYTES_IN_WORD): Remove definition.
673 * wrstabs.c (BYTES_IN_WORD): Likewise.
674
e3b83c8f
NC
6752003-03-04 Nick Clifton <nickc@redhat.com>
676
677 * nm.c (main): Print a warning message if --size-sort and
678 --undefined-only are used together.
679
6802003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
681
682 * nm.c (print_symbol): Remove check for undefined_only.
683
a9d68a1e
NC
6842003-03-03 Nick Clifton <nickc@redhat.com>
685
686 * po/da.po: Installed latest translation.
687
a99996bb
NC
6882003-02-24 Nick Clifton <nickc@redhat.com>
689
690 * README: Update binutils references to 2.13.
691 Add paragraph about using --disable-nls.
692
76ed1927
NC
6932003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
694
695 * doc/binutils.texi (nm --size-sort): Update.
696
0100f33b
JW
6972003-02-21 James E Wilson <wilson@tuliptree.org>
698
699 * MAINTAINERS: Update email address.
700
ecc51f48
NC
7012003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
702
703 * readelf.c (get_ia64_dynamic_type): New function.
704 (dynamic_segment_ia64_val): New function.
705 (get_dynamic_type): If machine type is EM_IA_64 call
706 get_ia64_dynamic_val.
707 (get_ia64_section_type_name): Handle sections with types in the
708 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
709 (get_dynamic_flags): If machine type is EM_IA_64 call
710 dynamic_segment_ia64_val.
711
947ed062
NC
7122003-02-21 Bob Wilson <bob.wilson@acm.org>
713
714 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
715 section title capitalization more consistent. Update descriptions
716 of various options to be consistent with the code. Fix errors and
717 incomplete list in the description of c++filt format options. Remove
718 information about the linker. Change to be more polite about poor
719 bug reports. Replace FDL appendix with include of fdl.texi.
720 * doc/fdl.texi: New file.
721
66491ebc
AM
7222003-02-21 Roger Sayle <roger@eyesopen.com>
723
724 * objcopy.c (filter_symbols): Fix compilation problems with
725 HP-UX's C compiler.
726
0e11a9e9
CF
7272003-02-19 Christopher Faylor <cgf@redhat.com>
728
729 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
730 previous change.
731
6e5f5201
CF
7322003-02-19 Mark Blackburn <marklist@fangorn.ca>
733
0e11a9e9 734 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 735
f0c8c24a
NC
7362003-02-12 Bob Wilson <bob.wilson@acm.org>
737
738 * nm.c (usage): Add `java' and `gnat' demangle styles and make
739 quotes consistent.
740 * objdump.c (usage): Ditto. Also fix some typos.
741
d3c543fd
NC
742 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
743
fe2c4142
NC
744 * debug.c (debug_record_variable): Handle global register variables.
745
6de15b9e
NC
746 * stabs.c (parse_stab): For N_SLINE only include
747 function_start_offset if the symbol is within a function;
748 otherwise, the value is absolute.
749
fde78edd
NC
7502003-02-10 Nick Clifton <nickc@redhat.com>
751
752 * readelf.c (decode_ARM_machine_flags): Handle the
753 EF_ARM_MAVERICK_FLOAT flag.
754
22d82235
AS
7552003-02-04 Andreas Schwab <schwab@suse.de>
756
757 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
758 long and use %ld in printf format.
759
1a677ea8
RS
7602003-01-28 Richard Sandiford <rsandifo@redhat.com>
761
762 * readelf.c (dump_relocations): Reorder the r_info field for
763 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
764
8dde85fc
NC
7652003-01-21 Daniel Berlin <dan@dberlin.org>
766
767 * readelf.c (display_debug_loc): Skip address base changes.
768
c6f8bb1e
AM
7692003-01-17 Fabio Alemagna <falemagn@aros.org>
770
771 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
772 and ELFOSABI_NSK.
773
c833c019
AM
7742003-01-16 Alan Modra <amodra@bigpond.net.au>
775
776 * readelf.c: Include elf/ppc64.h.
777 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
778 * Makefile.am: Run "make dep-am".
779 * Makefile.in: Regenerate.
780
3b36097d
SC
7812003-01-02 Ben Elliston <bje@redhat.com>
782
783 * readelf.c (guess_is_rela): Handle EM_IQ2000.
784 (get_machine_name): Likewise.
785 (dump_relocations): Likewise.
786 * NEWS: Mention IQ2000 support.
787
cb44e358
RS
7882003-01-02 Richard Sandiford <rsandifo@redhat.com>
789
790 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
791
af7ee8bf
CD
7922002-12-30 Chris Demetriou <cgd@broadcom.com>
793
794 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
795 changes in MIPS -M options.
796
2469cfa2
NC
7972002-12-30 Dmitry Diky <diwil@mail.ru>
798
799 * Makefile.am: Add msp430 target.
800 * Makefile.in: Regenerate.
801 * readelf.c: Add support for msp430 target.
802
640c0ccd
CD
8032002-12-27 Chris Demetriou <cgd@broadcom.com>
804
805 * doc/binutils.texi (objdump): Document MIPS -M options.
806
59f14fc0
AS
8072002-12-23 Andreas Schwab <schwab@suse.de>
808
809 * readelf.c (main): Reset dump request after each file.
810
312b768e
NC
8112002-12-23 Nick Clifton <nickc@redhat.com>
812
813 * nlmconv.c (main): Pass TRUE as third argument to
814 bfd_arch_get_compatible.
815
8745eafa
NC
8162002-12-23 Nick Clifton <nickc@redhat.com>
817
818 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
819 macro. Handle 'S' encoding, accepting 8-bit characters.
820 (main): Parse 'S' encoding.
821 (get_char): Accept 'S' encoding.
822 (print_strings): Use STRING_ISGRAPHIC.
823 (usage): Document support of 'S' encoding.
824 * doc/binutils.texi: Document support of 'S' encoding/
825 * NEWS: Mention new feature.
826
08213ebb
AM
8272002-12-20 Alan Modra <amodra@bigpond.net.au>
828
829 * README <building ar>: Don't use libibery's needed_list or
830 required_list, instead link libiberty/*.o.
831
b9e5d8e5
KH
8322002-12-19 Kazu Hirata <kazu@cs.umass.edu>
833
834 * doc/binutils.texi: Fix typos.
835
c51238bc
DA
8362002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
837
838 * doc/binutils.texi: Add missing parenthesis.
839
d7fb0dd2
NC
8402002-12-15 Nick Kelsey <nickk@ubicom.com>
841
842 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
843 symbols by adding the given prefix to the begining of the symbol
844 name. This is useful to provide name space seperation regardless
845 of how the object file was created. Added --prefix-sections=
846 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
847 sections (or all sections with the alloc flag set) by adding the given
848 prefix to the begining of the symbol name.
849 * NEWS: Mention this new feature.
850 * doc/binutils.texi: Document this new feature.
851
55b9cdf1
AM
8522002-12-13 Alan Modra <amodra@bigpond.net.au>
853
854 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
855 dyn_string_append with dyn_string_append_cstr.
856
857 * emul_aix.c (ar_emul_aix_create): Remove unused function.
858
84ad6ede
NC
8592002-12-10 James Cownie <jcownie@etnus.com>
860
861 * readelf.h (get_TAG_name, get_AT_name,
704afb58 862 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
863 DWARF2 spec.
864 * NEWS: Mention this new support.
865
7d036af2
AM
8662002-12-08 Alan Modra <amodra@bigpond.net.au>
867
868 * NEWS: Mention that bfd no longer declares a "boolean" type.
869
3e8bba36
AM
8702002-12-07 Alan Modra <amodra@bigpond.net.au>
871
872 * readelf.c (process_program_headers): When setting loadaddr, don't
873 assume segment size is 4k. Use p_align instead.
874 (loadaddr): Change from int to long.
875 (dynamic_addr, dynamic_info, version_info): Likewise.
876 (process_dynamic_segment <syminsz>): Likewise.
877 (process_dynamic_segment): Adjust print format string.
878 (rela_addr, rela_size): Delete.
879 (process_relocs): Formatting.
880
d070dab9
JW
8812002-12-05 Jim Wilson <wilson@redhat.com>
882
883 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
884 * configure: Regenerate.
885
45bcbdb1
ILT
8862002-12-04 Ian Lance Taylor <ian@airs.com>
887
888 * MAINTAINERS: Change e-mail address back to airs.com.
889
42ea8716
AH
8902002-12-04 Aldy Hernandez <aldyh@redhat.com>
891
892 * MAINTAINERS: Add self.
893
b34976b6
AM
8942002-11-30 Alan Modra <amodra@bigpond.net.au>
895
896 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
897 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
898 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
899 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
900 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
901 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
902 with TRUE/FALSE. Formatting.
903
c8286bd1
JJ
9042002-11-29 Jakub Jelinek <jakub@redhat.com>
905
906 * readelf.c Replace occurrences of Elf32_Internal_* and
907 Elf64_Internal_* with Elf_Internal_*.
908 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
909 Zero r_addend fields.
910 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
911 Elf_Internal_Rela.
912
92acdfaf
NC
9132002-11-23 Nick Clifton <nickc@redhat.com>
914
915 * size.c (usage): Fix typo describing switch for hex format.
916
48c5eb8a
SS
9172002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
918
919 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
920 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
921 testcase
922
2f62977e
NC
9232002-11-14 Nick Clifton <nickc@redhat.com>
924
925 * readelf.c (process_program_headers): Add comment about return
926 value. Ensure that 0 is returned if the headers are not loaded.
927 (process_file): If process_section_headers failed to load the
928 headers disable any tests that rely upon them. Similarly for
929 process_program_headers.
930
cd24c222
NC
9312002-11-12 Nick Clifton <nickc@redhat.com>
932
933 * po/da.po: Updated Danish translation.
934
f3931575
AM
9352002-11-12 Klee Dienes <kdienes@apple.com>
936
937 * rddbg.c (read_section_stabs_debugging_info): Also recognize
938 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
939
b54e7460
CF
9402002-11-11 Christopher Faylor <cgf@redhat.com>
941
942 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
943 cgf maintainership.
944
4f17cc13
CF
9452002-11-11 Christopher Faylor <cgf@redhat.com>
946
947 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
948
232e7cb8
NC
9492002-11-07 Nick Clifton <nickc@redhat.com>
950
cd24c222 951 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
952 * configure: Regenerate.
953 * po/da.po: New Danish translation.
954
232e7cb8
NC
955 * readelf.c (get_symbol_index_type): Revert part of previous
956 patch: Display unknown symbol types in decimal, not hex.
957
c9e38879
NC
9582002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
959
960 * dlltool.c (add_excludes): Don't prefix excluded fastcall
961 symbols with underscore.
962 (xlate): Ignore add_underscore for decorated fastcall symbols.
963
9642002-11-07 Eric Kohl <ekohl@rz-online.de>
965
966 * deflex.l: Accept '@' as first character of an ID.
967 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
968 ASM_PREFIX for fastcall symbols.
969 (scan_drectve_symbols): Handle fastcall symbols when generating
970 undecorated aliases for symbols in drectve section.
971 (scan_filtered_symbols): Likewise, with export-all.
972 (xlate): Likewise, with --kill-at.
973 (make_imp_label): New function to handle fastcall symbols
974 correctly.
975 (make_one_lib_file): Use make_imp_label instead of make_label
976 for imp symbols.
977
a700dc3b
SS
9782002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
979
980 * MAINTAINERS: Add self as TIC4X maintainer.
981
5cf1065c
NC
9822002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
983
984 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
985 PROCESSOR-specific, OS-specific, reserved and unknown symbol
986 types.
5cf1065c 987
f1ef08cb
AM
9882002-11-04 Alan Modra <amodra@bigpond.net.au>
989
990 * readelf.c (byte_get_little_endian): Comment typo fix.
991 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
992 as the format string.
993 (dump_relocations): Correct section sym names.
994 (process_section_headers): Clear symtab_shndx_hdr.
995 (read_and_display_attr_value): Don't pass indirect string to printf
996 as the format string.
997 (display_debug_frames): Indicate when zero terminator found. Decode
998 DW_EH_PE_pcrel addresses.
999
1a09a22c
NC
10002002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1001
1002 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1003 order to ensure proper disassembly of the valid 0-value opcode.
1004 * configure: Regenerate.
1005 * aclocal.m4: Regenerate.
1006 * config.in: Regenerate.
1007 * configure.in: Regenerate.
1008 * doc/Makefile.in: Regenerate.
1009 * po/binutils.pot: Regenerate.
1010
c254c557
KK
10112002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1012
1013 * MAINTAINERS: Add self as SH maintainer.
1014
aefbdd67
BE
10152002-10-23 Ben Elliston <bje@redhat.com>
1016
1017 * doc/binutils.texi (objdump): Document -z and move the entry for
1018 --disassemble-zeroes to the end of the options section (for `z').
1019
ab9bcc01
NC
10202002-10-21 Nick Clifton <nickc@redhat.com>
1021
1022 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1023
8ab56b6f
AM
10242002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1025
1026 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1027
49c12576
AM
10282002-10-15 Alan Modra <amodra@bigpond.net.au>
1029
48417c1a
AM
1030 * bucomm.c (list_supported_targets): Use bfd_target_list.
1031
49c12576
AM
1032 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1033 other object errors in preference to bfd_core errors.
1034
6e1a7e9a
AM
10352002-10-14 Alan Modra <amodra@bigpond.net.au>
1036
1037 * Makefile.am: Run "make dep-am".
1038 * objdump.c: #include "bfdver.h".
1039 * version.c: Likewise.
1040 * Makefile.in: Regenerate.
1041 * config.in: Regenerate.
1042 * configure: Regenerate.
1043 * po/POTFILES.in: Regenerate.
1044
09fc3b02
DJ
10452002-10-09 Daniel Jacobowitz <drow@mvista.com>
1046
1047 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1048 sections. Allow relocations against the absolute symbol. Don't
1049 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 1050 relocation.
09fc3b02 1051
f309035a
NC
10522002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1053
1054 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1055 ordinary ones are available.
1056
810dfa6e
L
10572002-09-30 H.J. Lu <hjl@gnu.org>
1058
1059 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1060 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1061
bb279dc0
ZW
10622002-09-17 Zack Weinberg <zack@codesourcery.com>
1063
1064 * Makefile.am (CFILES): Add cxxfilt.c.
1065 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1066 (cxxfilt_LDADD): Delete.
1067 Remove all references to underscore.c.
1068 Regen dependencies.
1069 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1070 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1071 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1072 adjustments to fit into binutils framework.
1073 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1074
065c959b
NC
10752002-09-12 Roland McGrath <roland@redhat.com>
1076
1077 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1078 Handle DW_OP_GNU_push_tls_address.
1079
e09f4395
NC
10802002-09-11 Nick Clifton <nickc@redhat.com>
1081
1082 * po/tr.po: Updated Turkish translation.
1083
873e0588
NC
10842002-09-10 Nick Clifton <nickc@redhat.com>
1085
1086 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1087 testsuite changes. Add paragraphs about testsuite and config
1088 patches.
1089
069fe61f
NC
10902002-08-29 Nick Clifton <nickc@redhat.com>
1091
1092 * readelf.c (get_machine_flags): Remove redundant reference to
1093 E_V850EA_ARCH.
1094
fe0507eb
AM
10952002-08-28 Alan Modra <amodra@bigpond.net.au>
1096
1097 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1098 last commit.
1099
026df7c5
NC
11002002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1101
bb279dc0 1102 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
1103 (dump_bfd_header): Likewise.
1104
68a4c073
AM
11052002-08-27 Alan Modra <amodra@bigpond.net.au>
1106
1107 * nm.c: Revert last change.
1108
a1df01d1
AM
11092002-08-26 Alan Modra <amodra@bigpond.net.au>
1110
1111 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1112 * objdump.c (slurp_symtab): Likewise.
1113 (slurp_dynamic_symtab): Likewise.
1114 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1115
a926ab2f
GK
11162002-08-24 Geoffrey Keating <geoffk@redhat.com>
1117
1118 * MAINTAINERS: Change my mailing address.
1119
fcf62380
DA
11202002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1121
1122 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1123
51e28791
NC
11242002-08-22 Nick Clifton <nickc@redhat.com>
1125
1126 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1127 HPPA.
1128
c5b060ad
AM
11292002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1130
1131 * readelf.c (parse_args): Change debug_dump_opt to static.
1132
4b73ca92
NC
11332002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1134
1135 * stabs.c (parse_stab_argtype): Pass length of physname to
1136 stab_demangle_argtypes.
1137 (stab_demangle_argtypes): Add new parameter - length of physname.
1138 Pass length of physname on to stab_demangle_prefix.
1139 (stab_demangle_prefix): Add new parameter - length of physname.
1140 Use length of physname (if supplied) to compute end of function
1141 name.
1142
35b1837e
AM
11432002-08-15 Alan Modra <amodra@bigpond.net.au>
1144
1145 * readelf.c: Include elf/i370.h.
1146 (dump_relocations): Handle EM_S370.
1147 (dynamic_segment_parisc_val): Print \n.
1148 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1149
762baac5
NC
11502002-08-14 Nick Clifton <nickc@redhat.com>
1151
1152 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1153 * objdump.c (usage): Likewise.
1154 * doc/binutils.texi: Likewise.
1155
85c09e8a
NC
11562002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1157
1158 * rcparse.y (acc_entry): Don't warn about ALT use with
1159 non-VIRTKEY.
1160
212a3c4d
L
11612002-08-13 H.J. Lu <hjl@gnu.org>
1162
1163 * objcopy.c (copy_object): Don't warn about the unsupported
1164 architecture unless the input target is defaulted or the
1165 output architecture is different from the input.
1166
2b692c59
NC
11672002-08-09 Nick Clifton <nickc@redhat.com>
1168
1169 * po/sv.po: Updated Swedish translation.
1170
09de7a73
AM
11712002-08-05 Alan Modra <amodra@bigpond.net.au>
1172
1173 * prdbg.c (pr_fix_visibility): Remove assert.
1174
47badb7b
NC
11752002-07-31 Nick Clifton <nickc@redhat.com>
1176
1177 * addr2line.c (process_file): Rename parameter 'filename' to
1178 'file_name' in order to avoid shadowing global symbol of the
1179 same name.
1180 (main): Likewise.
1181
2979dc34
JJ
11822002-07-30 Jakub Jelinek <jakub@redhat.com>
1183
1184 * readelf.c (OPTION_DEBUG_DUMP): Define.
1185 (options): Use it.
1186 (usage): Update help.
1187 (parse_args): Handle --debug-dump separately from -w.
1188 * doc/binutils.texi (readelf): Update documentation.
1189
219576a4
NC
11902002-07-25 Nick Clifton <nickc@redhat.com>
1191
1192 * po/es.po: Updated Spanish translation.
1193 * po/fr.po: Updated French translation.
1194
bf4f22e6 11952002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1196
bf4f22e6
NC
1197 * po/es.po: Updated Spanish translation.
1198
c5b3a82a
AM
11992002-07-23 Alan Modra <amodra@bigpond.net.au>
1200
1201 * Makefile.am: Run "make dep-am".
1202 * Makefile.in: Regenerate.
1203
0461a601
NC
12042002-07-23 Nick Clifton <nickc@redhat.com>
1205
bf4f22e6 1206 * po/fr.po: Updated French translation.
0461a601 1207
bf44dd74
AM
12082002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1209
1210 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1211
2c205ff2
AM
12122002-07-20 Alan Modra <amodra@bigpond.net.au>
1213
63eb0809 1214 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1215
1e4cf259
NC
12162002-07-18 Denis Chertykov <denisc@overta.ru>
1217 Frank Ch. Eigler <fche@redhat.com>
1218
1219 * readelf.c: Include "elf/ip2k.h".
1220 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1221 (dump_relocations): Likewise.
1222 (get_machine_name): Likewise.
1223 * NEWS: Mention IP2K support.
1224
2cbb2eef
NC
12252002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1226
1227 * NEWS: Add 'Changes in 2.13'.
1228
047b2264
JJ
12292002-07-10 Jakub Jelinek <jakub@redhat.com>
1230
1231 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1232 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1233 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1234 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1235 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1236 (process_gnu_liblist): New.
1237 (process_file): Call it.
1238
97230b15
AM
12392002-07-03 Alan Modra <amodra@bigpond.net.au>
1240
1241 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1242 * Makefile.in: Regenerate.
1243
a6637ec0
AM
12442002-07-02 Alan Modra <amodra@bigpond.net.au>
1245
1246 * budemang.c: New file, "demangle" function.
1247 * budemang.h: New file.
1248 * addr2line.c (translate_addresses): Use "demangle".
1249 * nm.c (print_symname): Likewise.
1250 * objdump.c (objdump_print_symname): Likewise.
1251 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1252 here since that obfuscates.
1253 * rdcoff.c: Don't #include demangle.h.
1254 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1255 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1256 (HFILES): Add budemang.h. Sort.
1257 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1258 Run "make dep-am".
1259 * Makefile.in: Regenerate.
1260
179d3252
JT
12612002-07-01 Matt Thomas <matt@3am-software.com>
1262
1263 * readelf.c: Include "elf/vax.h".
1264 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1265 (dump_relocations): Handle VAX relocations.
1266 (get_machine_flags): Handle VAX machine flags.
1267
75751cd9
SC
12682002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1269
1270 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1271
e5851ab8
NC
12722002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1273
1274 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1275
eb3f2f5c
AM
12762002-06-26 Alan Modra <amodra@bigpond.net.au>
1277
1278 * nm.c (print_symname): When demangling, strip leading dots from
1279 symbol names to avoid confusing the demangler.
1280
a13a0de8
L
12812002-06-25 H.J. Lu <hjl@gnu.org>
1282
1283 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1284 * Makefile.in: Regenerated.
1285
6db7a086
AM
12862002-06-21 Igor Schein <igor@txc.com>
1287
1288 * configure.in: Quote bu_cv_have_fopen64.
1289 * configure: Regenerate.
1290
9710509e
AM
12912002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1292
1293 * configure.in: Check for strcoll.
1294 * configure: Regenerate.
1295 * config.in: Regenerate.
1296 * nm.c (main): Set locale for LC_COLLATE category.
1297 (non_numeric_forward): Use strcoll if available.
1298
a9f0b5e7
DB
12992002-06-20 Dave Brolley <brolley@redhat.com>
1300
1301 * MAINTAINERS: Add self as fr30 and frv maintainer.
1302
33f5f537
L
13032002-06-18 H.J. Lu (hjl@gnu.org)
1304
1305 * nm.c: Include "elf/common.h".
1306 (extended_symbol_info): Add elfinfo, a pointer to
1307 elf_symbol_type.
1308 (SYM_SIZE): Use elfinfo if it is not NULL.
1309 (get_symbol_type): New function.
1310 (display_archive): Set print_width for each archive member.
1311 (display_file): Likewise.
1312 (display_rel_file): Don't set print_width here.
1313 (print_object_filename_sysv): Handle print_width.
1314 (print_archive_member_sysv): Likewise.
1315 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1316 (print_symbol): Set the elfinfo field in extended_symbol_info
1317 for ELF.
1318 (print_object_filename_sysv): Fix the output format.
1319 (print_symbol_info_sysv): Print type and section for ELF.
1320
13212002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1322
1323 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1324 the symbol's size equal to its value when --size-sort is
33f5f537
L
1325 used.
1326
5c70f934
DB
13272002-06-18 Dave Brolley <brolley@redhat.com>
1328
1329 From Catherine Moore:
1330 * readelf.c (elf/frv.h): #include it.
1331 (guess_is_rela): Support EM_CYGNUS_FRV.
1332 (dump_relocations): Ditto.
1333 (get_machine_name): Ditto.
1334 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1335
7ece0d85
JJ
13362002-06-18 Jakub Jelinek <jakub@redhat.com>
1337
1338 * readelf.c (get_file_header): Only read the first section header if
1339 e_shoff is non-zero.
1340
72797995
L
13412002-06-15 H.J. Lu (hjl@gnu.org)
1342
1343 * nm.c (print_size): New variable. Initialize to 0.
1344 (long_options): Add 'S'/"print-size".
1345 (main): Handle 'S'.
1346 (print_symbol_info_bsd): Print size only if print_size is not
1347 0.
1348
1349 * doc/binutils.texi: Document -S/--print-size.
1350
977f7911
NC
13512002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1352
1353 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1354 of the symbols to the information provided by the symbol_info
1355 structure.
1356 (print_symbols): Pass the symbol size to print_symbol.
1357 (print_size_symbols): Pass the symbol size to print_symbol.
1358 (print_symbol): Extra argument: The size of the symbol. Store
1359 this in the extended_symbol_info structure.
1360 (print_symbol_info): Change type of info parameter to
1361 extended_symbol_info. Display the size, if known.
1362 (print_symbol_info_posix): Likewise.
1363 (print_symbol_info_sysv): Likewise.
1364
b1f88ebe
AM
13652002-06-08 Alan Modra <amodra@bigpond.net.au>
1366
fa449227
AM
1367 * Makefile.am: Run "make dep-am".
1368 * Makefile.in: Regenerate.
1369 * doc/Makefile.in: Regnerate.
1370
b1f88ebe
AM
1371 * bucomm.c: Replace CONST with const.
1372 * nm.c: Likewise.
1373 * objdump.c: Likewise.
1374
91a106e6
L
13752002-06-07 H.J. Lu <hjl@gnu.org>
1376
1377 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1378 (DW_CFA_GNU_negative_offset_extended): Likewise.
1379 (DW_CFA_GNU_window_save): Likewise.
1380 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1381 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1382
6ab6b380 13832002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1384
6ab6b380
NC
1385 * nm.c: When computing size of symbols for an ELF target use the
1386 internal size field.
1387
e28e05a3
JL
13882002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1389
1390 * testsuite/binutils-all/objcopy.exp: clear xfail for
1391 "hppa*64*-*-hpux*".
1392 * testsuite/binutils-all/hppa/objdump.exp: Return if
1393 "*64*-*-*".
1394
dc156bc0
AM
13952002-06-05 Alan Modra <amodra@bigpond.net.au>
1396
1397 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1398
13992002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1400
1401 * objdump.c: Fix formatting.
1402
d79e4ea3
BE
14032002-05-29 Ben Elliston <bje@redhat.com>
1404
1405 * MAINTAINERS: Add self as M68k maintainer.
1406
d172d4ba
NC
14072002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1408
1409 * readelf.c: Modified/Added DLX elf support.
1410
7edb8f29
NC
14112002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1412
3a1a2036
NC
1413 * arsup.c: Fix formatting.
1414 * debug.c (debug_record_label): Add missing colon to error
1415 message.
1416 * ieee.c (parse_ieee_ty): Fix spelling typo.
1417 * readelf.c (process_program_headers): Remove English assumption
1418 about making a plural word.
1419 (process_section_headers): Likewise.
1420 (process_relocs): Allow quotes to be translated.
1421 (process_unwind): Likewise,
1422 (process_mips_specific): Improve error message.
1423 (get_note_type): Fix spelling typo.
1424
7edb8f29
NC
1425 * configure.in (ALL_LINGUAS): Add sv
1426 * po/sv.po: New file.
1427
3eee1e9d
AM
14282002-05-27 Alan Modra <amodra@bigpond.net.au>
1429
1430 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1431 (unw_print_grmask): Likewise.
1432 (unw_print_frmask): Likewise.
1433
d43efbe3
KH
14342002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1435
1436 * arsup.c: Remove ARGSUSED.
1437 * debug.c: Likewise.
1438 * ieee.c: Likewise.
1439 * nlmconv.c: Likewise.
1440 * prdbg.c: Likewise.
1441 * stabs.c: Likewise.
1442 * wrstabs.c: Likewise.
1443
e9792343
AM
14442002-05-25 Alan Modra <amodra@bigpond.net.au>
1445
1446 * arlex.l: Use #include "" instead of <> for local header files.
1447 * coffdump.c: Likewise.
1448 * coffgrok.c: Likewise.
1449 * nlmconv.c: Likewise.
1450 * nlmheader.y: Likewise.
1451 * srconv.c: Likewise.
1452 * strings.c: Likewise.
1453 * sysdump.c: Likewise.
1454 * unwind-ia64.h: Likewise.
1455 * windres.h: Likewise.
1456 * winduni.h: Likewise.
1457
d7e53452
TR
14582002-05-24 Tom Rix <trix@redhat.com>
1459
1460 * MAINTAINERS: Add self as the d10v maintainer.
1461
436e8db0
NC
14622002-05-24 TAMURA Kent <kent@netbsd.org>
1463
1464 * configure.in: Builds dlltool for i386-netbsdpe.
1465 * configure: Regenerate.
1466
9f66665a
KH
14672002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1468
1469 * size.c: Fix formatting.
1470 * srconv.c: Likewise.
1471 * stabs.c: Likewise.
1472 * sysdump.c: Likewise.
1473 * unwind-ia64.c: Likewise.
1474 * wrstabs.c: Likewise.
1475
13ae64f3
JJ
14762002-05-23 Jakub Jelinek <jakub@redhat.com>
1477
1478 * readelf.c (get_segment_type): Add PT_TLS.
1479 (get_elf_section_flags): Add SHF_TLS.
1480 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1481 (process_dynamic_segment): Use puts instead of printf.
1482 (get_symbol_type): Support STT_TLS.
1483 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1484 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1485 Add SEC_THREAD_LOCAL.
1486
53c7db4b
KH
14872002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1488
1489 * rdcoff.c: Fix formatting.
1490 * rddbg.c: Likewise.
1491 * readelf.c: Likewise.
1492 * rename.c: Likewise.
1493 * resbin.c: Likewise.
1494 * resrc.c: Likewise.
1495 * resres.c: Likewise.
1496
0af11b59
KH
14972002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1498
1499 * filemode.c: Fix formatting.
1500 * ieee.c: Likewise.
1501 * is-ranlib.c: Likewise.
1502 * is-strip.c: Likewise.
1503 * maybe-ranlib.c: Likewise.
1504 * maybe-strip.c: Likewise.
1505 * nlmconv.c: Likewise.
1506 * nm.c: Likewise.
1507 * not-ranlib.c: Likewise.
1508 * not-strip.c: Likewise.
1509 * objcopy.c: Likewise.
1510 * objdump.c: Likewise.
1511
21611032
TS
15122002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1513
1514 * objdump.c (dump_headers): Fix output formatting for ELF32
1515 architectures in a BFD64 enabled toolchain.
1516
26044998
KH
15172002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1518
1519 * debug.c: Fix formatting.
1520 * debug.h: Likewise.
1521 * dlltool.c: Likewise.
1522 * dllwrap.c: Likewise.
1523 * emul_aix.c: Likewise.
1524 * emul_vanilla.c: Likewise.
1525
f462a9ea
KH
15262002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1527
1528 * addr2line.c: Fix formatting.
1529 * ar.c: Likewise.
1530 * arsup.c: Likewise.
1531 * arsup.h: Likewise.
1532 * binemul.c: Likewise.
1533 * binemul.h: Likewise.
1534 * bucomm.c: Likewise.
1535 * coffdump.c: Likewise.
1536 * coffgrok.c: Likewise.
1537 * coffgrok.h: Likewise.
1538
e0159aa9
MM
15392002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1540
1541 * MAINTAINERS: Add myself as the second AVR port maintainer.
1542
074b403e
SC
15432002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1544
1545 * MAINTAINERS: Update my email address.
1546
2b9c8201
NC
15472002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1548
1549 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1550
e1d5b1e7
AM
15512002-05-09 Alan Modra <amodra@bigpond.net.au>
1552
1553 * configure.in: Replace `*pe' with `pe' throughout.
1554 * configure: Regenerate.
1555
d3d8a9ee
NC
15562002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1557
1558 * Makefile.am: Honour DESTDIR.
1559 * Makefile.in: Regenerate.
1560
405c98a4
AM
15612002-05-06 Alan Modra <amodra@bigpond.net.au>
1562
a02d5965
AM
1563 * dlltool.c (process_def_file): Add missing prototype.
1564 (new_directive, assemble_file, main): Likewise.
1565 (process_def_file, new_directive): Make static.
1566 (inform): Rewrite using VA_FIXEDARG.
1567 * dllwrap.c (mybasename): Add missing prototype.
1568 (strhash, main): Likewise.
1569 (inform): Rewrite using VA_FIXEDARG.
1570 (warn): Likewise.
1571 (cleanup_and_exit): Use old style function definition.
1572 (strhash): Likewise.
1573 * windres.c (define_resource): Use one memset to clear all of
1574 struct res_resource.
1575
405c98a4 1576 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1577 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1578
15792002-05-06 Borut Razem <borut.razem@siol.net>
1580
1581 * rclex.l (get_string): Correct "strings" list handling.
1582 * resrc.c (read_rc_file): Discard strings.
1583
91593c9d
AM
15842002-05-04 Alan Modra <amodra@bigpond.net.au>
1585
e58a75dc
AM
1586 * ar.c (replace_members): Remove unused var. Formatting fix.
1587 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1588
91593c9d
AM
1589 * MAINTAINERS: Sort port maintainers by CPU.
1590
6b52b824
AM
15912002-05-04 Bob Byrnes <byrnes@curl.com>
1592
1593 * size.c (display_archive): Add last_arfile and code to close archives.
1594
dd70071f
AM
15952002-05-01 Alan Modra <amodra@bigpond.net.au>
1596
1597 * nm.c (print_symbol): Check returned filename from
1598 bfd_find_nearest_line is non-NULL.
1599
6c95717a 16002002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1601
1602 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1603
3c25c5f6
NC
16042002-04-24 Christian Groessler <chris@groessler.org>
1605
1606 * MAINTAINERS: Changed my email address.
1607
944cd72c
TS
16082002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1609
1610 * arparse.y: Fix syntax warning.
1611
ea91f8bb
NC
16122002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1613
3e55a963
NC
1614 * readelf.c (fetch_location_list): Remove unused function.
1615
1616 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1617 and display a warning message, then exit the loop.
1618
ea91f8bb
NC
1619 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1620
45b99827
NC
16212002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1622
1623 * resrc.c (write_rc_dialog): If charset is non-default value
1624 display all of the DIALOGEX parameters.
1625
16262002-04-15 Eric Kohl <ekohl@rz-online.de>
1627
bb279dc0 1628 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1629 DIALOGEX resources.
1630 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1631 resource data.
bb279dc0 1632 (res_to_bin_dialog): Likewise.
45b99827
NC
1633 * windres.h: Added misssing charset variable to dialog_ex
1634 structure.
1635
acfbab8a
NC
16362002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1637
1638 * rcparse.y: Set MEMFLAG_PURE by default.
1639
df3baf66
NC
16402002-04-09 Bernd Herd <info@herdsoft.com>
1641
bb279dc0 1642 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1643 are quoted.
4c30641a 1644 Fix typo in BEDIT warning.
91eafb40 1645 Don't add default dialog style when explicit style specified.
b62a12ca 1646 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1647
b24eb5ac
NC
1648 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1649 (handle_quotes) "\a" escape (used for right justified key
1650 definitions in menus) is encodes as binary 8.
df3baf66 1651
b24eb5ac
NC
1652 * resrc.c (write_rc_dialog): Print style even if it is 0.
1653 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1654 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1655
b24eb5ac
NC
1656 * resbin.c (bin_to_res_dialog): Use signature to identify
1657 DIALOGEX.
f7d63484 1658
b24eb5ac 1659 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1660
df3baf66
NC
16612002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1662
1663 * resrc.c: print CLASS names in quotes
1664
16652002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1666
1667 * MAINTAINERS: Update my email address.
1668
8e42bcb6
AM
16692002-04-04 Alan Modra <amodra@bigpond.net.au>
1670
1671 * dep-in.sed: Cope with absolute paths.
1672 * Makefile.am (dep.sed): Subst TOPDIR.
1673 Run "make dep-am".
1674 * Makefile.in: Regenerate.
1675
96f959e5
PT
16762002-03-27 Peter Targett <peter.targett@arc.com>
1677
1678 * MAINTAINERS: Update my email address.
1679
1ea788ee
AM
16802002-03-21 Alan Modra <amodra@bigpond.net.au>
1681
1682 * Makefile.am: Run "make dep-am".
1683 * Makefile.in: Regenerate.
1684 * doc/Makefile.in: Regenerate.
1685 * po/POTFILES.in: Regenerate.
1686 * aclocal.m4: Regenerate.
1687 * config.in: Regenerate.
1688 * configure: Regenerate.
1689
a2f14207
DB
16902002-03-20 Daniel Berlin <dan@dberlin.org>
1691
1692 * readelf.c: Add support for displaying dwarf2 location lists.
1693 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1694 (parse_args): Use 'O' as shorthand for displaying location list
1695 section.
1696 (process_section_headers): Handle debug_loc as well.
1697 (load_debug_loc): New.
1698 (free_debug_loc): New.
1699 (fetch_location_list): New.
1700 (display_debug_loc): New.
1701 (display_debug_info): Call load_debug_loc and free_debug_loc.
1702 (debug_displays): We can display .debug_loc now, too.
1703 (usage): Update usage string.
1704 (read_and_display_attr_value): Note location lists, but don't
1705 display them inline.
1706
eb1e0e80
NC
17072002-03-18 Tom Rix <trix@redhat.com>
1708
1709 * Makefile.am: Add binutils emulation support.
1710 * configure.in: Same.
1711 * configure.tgt: New file. Same.
1712 * ar.c (main): Use ar_emul_parse_arg.
1713 (usage): Use ar_emul_usage.
1714 (replace_members): Use ar_emul_replace, ar_emul_append.
1715 * binemul.c: New file. Define the binutils emulation
1716 layer. Define default methods.
1717 * binemul.h: New file. Binutils emulation layer header file.
1718 * emul_aix.c: New file. AIX binutils emulation.
1719 * emul_vanilla.c: New file. Default binutils emulation.
1720 * Makefile.in: Regenerate.
1721 * configure: Same.
1722
a1c259a1
NC
17232002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1724
1725 * po/fr.po: Updated version.
1726
9ce88e60
NC
17272002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1728
1729 * po/fr.po: Updated version.
1730
effb0601
DJ
17312002-03-07 Daniel Jacobowitz <drow@mvista.com>
1732
1733 * README: Update some version numbers.
1734
a65688ab
DJ
17352002-03-07 Daniel Jacobowitz <drow@mvista.com>
1736
1737 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1738 (Architecture Selection): Likewise.
1739
f3f7fbb2
NC
17402002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1741
1742 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1743 generating .exp file.
1744
25345be5
NC
17452002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1746
1747 * readelf.c (dump_relocations): Fix typo.
1748
9a66911f
NC
17492002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1750
1751 * NEWS: Mark 2.12 branch.
1752
2c71103e
NC
17532002-02-18 Timothy Daly <remote_bob@yahoo.com>
1754
bb279dc0
ZW
1755 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1756 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1757 output.
bb279dc0 1758 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1759 to 'unrecognized'.
1760 (decode_ARM_machine_flags): Likewise.
1761 (parse_args): Likewise.
1762 (read_and_display_attr_value): Likewise.
1763 (display_debug_section): Likewise.
1764
49fda6c8
HPN
17652002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1766
1767 * NEWS: Mention support for MMIX.
1768
76f57f3a
JT
17692002-02-13 Matt Fredette <fredette@netbsd.org>
1770
1771 * readelf.c (get_machine_flags): Recognize EF_M68000.
1772
d36ca9c2
AO
17732002-02-12 Alexandre Oliva <aoliva@redhat.com>
1774
1775 * MAINTAINERS: Added self as MN10300 co-maintainer.
1776
19397422
AM
17772002-02-12 Alan Modra <amodra@bigpond.net.au>
1778
1779 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1780 DT_PPC64_OPDSZ.
1781
d434e574
DJ
17822002-02-11 Daniel Jacobowitz <drow@mvista.com>
1783
1784 * MAINTAINERS: List myself as branch maintainer.
1785
12b87c89
AM
17862002-02-11 Alan Modra <amodra@bigpond.net.au>
1787
1788 * configure: Regenerate.
1789 * objcopy.c: Update copyright date.
1790 * doc/Makefile.in: Regenerate.
1791
8d037c5c
DJ
17922002-02-10 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * nlmconv.c: Back out localtime PARAMS change.
1795
4c168fa3
AM
17962002-02-11 Alan Modra <amodra@bigpond.net.au>
1797
1798 * objcopy.c (MKDIR): Define.
1799 (copy_archive): Make name_list.name const. Use MKDIR.
1800 Handle duplicate files in archives by making more temp dirs.
1801
408f8db1
DJ
18022002-02-10 Daniel Jacobowitz <drow@mvista.com>
1803
1804 * coffdump.c: Include "getopt.h" after "bucomm.h"
1805 so that macros are defined correctly.
1806 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1807 prototype. Prototype main.
1808 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1809
9f77fa06
AO
18102002-02-06 Alexandre Oliva <aoliva@redhat.com>
1811
1812 * MAINTAINERS: Added self as SH co-maintainer.
1813
82f6addb
NC
18142002-02-05 Nick Clifton <nickc@redhat.com>
1815
1816 * po/tr.po: Updated translation.
1817
ba323545
AM
18182002-02-01 Alan Modra <amodra@bigpond.net.au>
1819
1820 * Makefile.am: Run "make dep-am"
1821 * Makefile.in: Regenerate.
1822
3deb89d3
DJ
18232002-01-29 Daniel Jacobowitz <drow@mvista.com>
1824
1825 * nm.c (print_value): Mark abfd unused.
1826
a0e9c55f
DJ
18272002-01-29 Daniel Jacobowitz <drow@mvista.com>
1828
1829 * unwind-ia64.c (unw_decoder): Change second argument
1830 to unsigned int, to match function prototypes.
1831
d7a283d4
DJ
18322002-01-29 Daniel Jacobowitz <drow@mvista.com>
1833
1834 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1835 __GNU_LIBRARY__ will be defined.
1836 * size.c: Likewise.
1837
4867be41
DJ
18382002-01-27 Daniel Jacobowitz <drow@mvista.com>
1839
1840 * configure: Regenerated.
1841
7562a296
HPN
18422002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1843
1844 * doc/Makefile.am (install): Depend on install-info.
1845 * doc/Makefile.in: Regenerate.
1846
15c82623
NC
18472002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1848
1849 * objcopy.c (strip_usage): Document -d as an alias
1850 --strip-debug.
1851
1852 * size.c (usage): Document [-t | --totals] options.
1853 (long_options): Add --totals option.
1854 (main): If the [-t | --totals] option is specified and
1855 the output format is Berkeley-style, print the total
1856 text, data, and bss sizes of all objects listed.
1857 (print_berkeley_format): If the [-t | --totals] option
1858 is specified, track the total text, data, and bss
1859 sizes.
1860 * doc/binutils.texi (size): Document [-t | --totals] options.
1861 (strip): Document -d as an alias for --strip-debug.
1862 * NEWS: Mention new feature of size.
1863
00ea8601 18642002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1865
1ddbd152
NC
1866 * po/fr.po: Updated version.
1867 * po/es.po: Updated version.
b85cedd7 1868
8b53311e
NC
18692002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1870
1871 * addr2line.c (usage): Update text to provide verbose
1872 description of the command line options.
1873 * ar.c (usage): Update text to provide verbose
1874 description of the command line options.
1875 (main): Accept -h and -H when running as ranlib.
1876 * coffdump.c (show_usage): Update text to provide verbose
1877 description of the command line options.
1878 * dlltool.c (main): Accept -H as an alias for --help.
1879 * nlmconv.c (show_usage): Update text to provide verbose
1880 description of the command line options.
1881 * nm.c (usage): Replace OPTIONS with option(s).
1882 (main): Accept -H as an alias for --help.
1883 * objcopy.c (strip_main): Accept -H as an alias for --help.
1884 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1885 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1886 other binutils.
1887 * size.c (usage): Update text to provide verbose description
1888 of the command line options.
1889 (main): Accept -v, -h and -H as command line options.
1890 * srconv.c (show_usage): Update text to provide verbose
1891 description of the command line options.
1892 * strings.c (main): Accept -H and -v as command line options.
1893 (usage): Update text to provide verbose description of the
1894 command line options.
1895 * sysdump.c (show_usage): Update text to provide verbose
1896 description of the command line options.
1897 * windres.c (usage): Adjust format to match style used in
1898 other binutils.
1899
1900 * coffdump.c: Fix formatting.
1901 * nlmconv.c: Fix formatting.
1902 * srconv.c: Fix formatting.
1903 * sysdump.c: Fix formatting.
1904
c46f0c34
AM
19052002-01-22 Alan Modra <amodra@bigpond.net.au>
1906
1907 * Makefile.am: Run "make dep-am".
1908 * Makefile.in: Regenerate.
1909
2a538ba5
AJ
19102002-01-18 Andreas Jaeger <aj@suse.de>
1911
1912 * version.c (print_version): Update year.
1913
285d1771
AM
19142002-01-17 Alan Modra <amodra@bigpond.net.au>
1915
1916 * readelf.c (get_machine_name): Handle EM_PPC64.
1917 (guess_is_rela): Here too.
1918
328577ad
NC
19192002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1920
1921 * po/binutils.pot: Regenerate.
1922 * po/fr.po: Regenerate.
1923 * po/tr.po: Regenerate.
1924
af3ae48d
NC
19252002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1926
1927 * po/tr.po: Import new version.
1928
f1cb7e17
AM
19292002-01-16 Alan Modra <amodra@bigpond.net.au>
1930
1931 * readelf.c (get_ppc64_dynamic_type): New.
1932 (get_dynamic_type): Call it.
1933
6364e0b4
NC
19342002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1935
3ab9460d 1936 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1937 (strip_usage): Use "options" instead of "switches".
3ab9460d 1938 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1939 "switches".
6364e0b4 1940
3a7e524e
RE
19412002-01-14 Richard Earnshaw <rearnsha@arm.com>
1942
1943 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1944
1209e219
NC
19452001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1946
1947 * po/es.po: Import from translation project.
1948 * configure.in (ALL_LINGUAS): Add es.
1949 * configure: Regenerate.
1950
b4db1224
JT
19512002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1952
1953 * readelf.c (get_netbsd_elfcore_note_type): Use
1954 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1955
9437c45b
JT
19562002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1957
1958 * readelf.c: Update copyright years.
1959 (get_note_type): Return a const char *.
1960 (get_netbsd_elfcore_note_type): New function.
1961 (process_note): Use get_netbsd_elfcore_note_type to get
1962 the note type string for NetBSD ELF core files.
1963
00428cca
AM
19642002-01-06 Steve Ellcey <sje@cup.hp.com>
1965
1966 * readelf.c (get_ia64_segment_type): Add support for macros.
1967 (get_segment_type): Add support for IA64 specific macros.
1968
31104126
NC
19692001-12-20 Julian v. Bock <julian@wongr.net>
1970
1971 * readelf.c (print_symbol): New function: Print a formatted symbol
1972 name. If --wide is specified do not truncate it.
1973 (dump_relocations): Use print_symbol() to print symbol names.
1974 (process_symbol_table): Likewise.
1975 (process_syminfo): Likewise.
1976 (process_mips_specific): Likewise.
1977 (usage): Document new feature of --wide switch.
1978 * doc/binutils.texi (objdump): Document additional behaviour of
1979 --wide.
2a538ba5 1980
4dd67f29
MS
19812001-12-18 Michael Snyder <msnyder@redhat.com>
1982
1983 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1984 (copy_object): Don't set the start address or flags of a core file.
1985 (copy_section): Don't relocate a core file. Don't copy contents
1986 if the input section has the contents flag set, but the output
1987 section does not (which happens with the fake 'note' pseudo-
1988 sections that BFD creates for corefiles).
1989
43521d43
TS
19902001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1991
1992 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1993 ASE extensions. More robust code for ISA checking. Ignore empty fields
1994 in header flags for GNU extensions.
1995
b667df2e
AM
19962001-12-18 Alan Modra <amodra@bigpond.net.au>
1997
1998 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1999
17a5a5c3
NC
20002001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2001
2002 * po/ja.po: Import from translation project.
2003 * configure.in (ALL_LINGUAS): Add ja.
2004 * configure: Regenerate.
2005
65de42c0
TS
20062001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2007
2008 * addr2line.c (main): Protoype.
2009 * ar.c (main): Protoype.
2010 * nm.c (main): Protoype.
2011 * objcopy.c (main): Protoype.
2012 * objdump.c (main): Protoype.
2013 * size.c (main): Protoype.
2014 * strings.c (main): Protoype.
2015
9ad5cbcf
AM
20162001-12-17 Alan Modra <amodra@bigpond.net.au>
2017
2018 * readelf.c (symtab_shndx_hdr): New global.
2019 (SECTION_HEADER_INDEX): Define.
2020 (SECTION_HEADER_NUM): Define.
2021 (SECTION_HEADER): Define.
2022 (GET_ELF_SYMBOLS): Pass two params rather than three.
2023 (get_32bit_elf_symbols): Take file and section args. Read and
2024 use SHT_SYMTAB_SHNDX.
2025 (get_64bit_elf_symbols): Likewise.
2026 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2027 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2028 Remember symtab_shdx_hdr.
2029 (process_program_headers): Scan from index 1 for segment map.
2030 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2031 "section_headers".
2032 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2033 (process_unwind): Likewise.
2034 (process_version_sections): Likewise.
2035 (process_symbol_table): Likewise.
2036 (display_debug_info): Likewise.
2037 (process_dynamic_segment): Fake up a symtab section for changed
2038 GET_ELF_SYMBOLS.
2039 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2040 (process_program_headers): Kill signed/unsigned warning.
2041 (load_debug_str): Likewise.
2042 (display_debug_info): Likewise.
2043
65765700
JJ
20442001-12-13 Jakub Jelinek <jakub@redhat.com>
2045
2046 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2047
560f3c1c
AM
20482001-12-11 Alan Modra <amodra@bigpond.net.au>
2049
2050 * readelf.c (process_file_header): Print extended e_shnum and
2051 e_shdtrndx values. Set elf_header values for same.
2052 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2053 (get_64bit_section_headers): Likewise.
2054 (process_section_headers): Update calls.
2055 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2056
bc408b8a
JJ
20572001-12-10 Jakub Jelinek <jakub@redhat.com>
2058
2059 * objcopy.c (setup_section): Copy entsize.
2060
93fbbb04
GK
20612001-12-07 Geoffrey Keating <geoffk@redhat.com>
2062
2063 * readelf.c (guess_is_rela): Add support for stormy16.
2064 (dump_relocations): Likewise.
2065 (get_machine_name): Likewise.
2066
e3c8793a
NC
20672001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2068
2069 * dllwrap.c (main) Replace multiple strings describing a
2070 single error with a single, newline escaped sentence to permit
2071 better translation into foreign languages.
2072
2073 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2074 class names.
2075
956cd1d6
TS
20762001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2077
2078 * strings.c (get_char): Initialize value.
2079
956c53ee
TS
20802001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2081
2082 * arlex.l: Silence compile warnings.
2083 * arsup.h: Likewise. Fix formatting.
2084
cedd9a58
JJ
20852001-12-04 Jakub Jelinek <jakub@redhat.com>
2086
2087 * strings.c: Include config.h before bfd.h.
2088 (file_off): New type.
2089 (file_open): Define.
2090 (print_strings): Use file_off instead of file_ptr. Print addresses
2091 which don't fit into long correctly.
2092 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2093 available.
2094 (strings_file): Use file_off instead of file_ptr. Use file_open.
2095 * configure.in: Check for getc_unlocked.
2096 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2097 be defined for it.
2098 * configure: Rebuilt.
2099 * config.h.in: Rebuilt.
2100
af667503
L
21012001-11-29 H.J. Lu <hjl@gnu.org>
2102
2103 * bucomm.c (make_tempname): Revert the changes made on
2104 2001-11-14 and 2001-11-12. They won't work with directories.
2105
16474668
NC
21062001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2107
2108 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2109 CFLAGS_FOR_TARGET to runtest in environment.
2110 * Makefile.in: Rebuild.
2111 * doc/Makefile.in: Rebuild.
2112
17978339
MS
21132001-11-28 Mike Stump <mrs@wrs.com>
2114
2115 * objcopy.c (setup_section): Preserve SEC_RELOC when
2116 --set-section-flags is used.
2117
261a45ad
NC
21182001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2119
2120 * readelf.c (do_debug_str): New variable.
2121 (display_debug_str): New function: Display the contents of a
2122 .debug_str section.
2123 (load_debug_str): New function: Load in the contents of a
2124 .debug_str section.
2125 (free_debug_str): New function: Free the memory used by
2126 load_debug_str().
2127 (fetch_indirect_string): Retrieve a string from the .debug_str
2128 section.
2129 (usage): Add -ws.
2130 (parse_args): Accept -ws.
2131 (process_section_headers): Allow the display of the .debug_str
2132 section.
2133 (read_and_display_attr_value): Use fetch_indirect_string. Show
2134 offset into .debug_str section.
2135 (display_debug_info): Use load_debug_str and free_debug_str.
2136 (debug_displays): Add .debug_str.
2137 * doc/binutils.texi: Document -ws.
2138
b8908f93
AJ
21392001-11-19 Andreas Jaeger <aj@suse.de>
2140
2141 * testsuite/binutils-all/objdump.exp: Add x86-64.
2142
e5fb9629
AS
21432001-11-15 Andreas Schwab <schwab@suse.de>
2144
2145 * readelf.c: Fix warnings without terminating newline.
2146
802a735e
AM
21472001-11-15 Alan Modra <amodra@bigpond.net.au>
2148
2149 * doc/binutils.texi (objdump): Document ppc -M options.
2150
b89e9eae
AJ
21512001-11-14 Andreas Jaeger <aj@suse.de>
2152
2153 * doc/binutils.texi (objdump): Fix description to use x86-64.
2154
a6a25652
NC
21552001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2156
2157 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2158 not all systems provide mkstemp.
2159
e396998b
AM
21602001-11-14 Alan Modra <amodra@bigpond.net.au>
2161
2162 * doc/binutils.texi (objdump): Document x86 -M options.
2163
81766fca
RH
21642001-11-13 Keith Walker <keith.walker@arm.com>
2165
2166 * readelf.c (read_and_display_attr_value): New function to
2167 handle DW_FORM_indirect.
2168 (read_and_display_attr): Use it.
2169
1a509dcc
GK
21702001-11-13 Geoffrey Keating <geoffk@redhat.com>
2171
2172 * readelf.c (display_debug_lines): Deal with unknown standard
2173 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2174 DW_LNS_set_isa.
2175
6e917903 21762001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2177
6e917903
TW
2178 * MAINTAINERS: Add self as tic54x maintainer. This target
2179 includes the IBM C54XDSP clone.
7559e86e 2180
6e917903 21812001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2182
7559e86e
NC
2183 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2184
21852001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2186
ecdadc4a
JL
2187 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2188 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2189 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2190 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2191 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2192 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2193 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2194
91770270
JL
2195 * readelf.c (get_elf_class): Fix ISO portability glitch.
2196 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2197
ef5cdfc7
JJ
21982001-11-07 Jakub Jelinek <jakub@redhat.com>
2199
2200 * readelf.c (debug_str, debug_str_size): New.
2201 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2202 Call free_abbrevs.
2203 (read_and_display_addr): Handle DW_FORM_strp.
2204 (display_debug_info): Read .debug_str section if present,
2205 so that DW_FORM_strp can be handled.
2206 Fix test for non-existant .debug_abbrev section.
2207
5e9520c8
JJ
22082001-11-05 Jakub Jelinek <jakub@redhat.com>
2209
2210 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2211
2212 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2213
54589086
MS
22142001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2215
2216 * MAINTAINERS: Add self as s390/s390x maintainer.
2217
c05b685b
TR
22182001-11-02 Tom Rix <trix@bluey.cygnus.com>
2219
2220 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2221
3c62831e
NC
22222001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2223
2224 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2225 * configure: Regernate.
2226 * po/fr.po: New file.
2227 * po/tr.po: New file.
2228
3c3bdf30
NC
22292001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2230
9b19141a 2231 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2232 * readelf.c: Include elf/mmix.h.
2233 (guess_is_rela): MMIX is RELA.
2234 (dump_relocations): Handle MMIX relocations.
2235 * Makefile.am: Regenerate dependencies.
2236 * Makefile.in: Regenerate.
2237
f662939a
NC
22382001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2239
2240 * readelf.c (parse_args): Handle multiple options to the -w
2241 switch.
2242
c91d0dfb
JJ
22432001-10-12 Jakub Jelinek <jakub@redhat.com>
2244
2245 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2246 LOPROC, LOOS and LOUSER.
2247
7559e86e 22482001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2249
2250 * MAINTAINERS: Update my email address.
2251
fcd8210c
AM
22522001-10-03 Alan Modra <amodra@bigpond.net.au>
2253
2254 * doc/Makefile.in: Regenerate.
2255 * configure: Regenerate.
2256
428409d5
NC
22572001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2258
2259 * readelf.c (display_debug_line, display_debug_pubnames,
2260 display_debug_info, display_debug_frames): Detect and warn
2261 about 64-bit format entries.
2262 (display_debug_aranges): Reword 64-bit warning.
2263 (debug_displays): Add .debug_pubtypes as a known, but not yet
2264 supported, debug section.
2265
6a8c2b0d
AM
22662001-10-02 Alan Modra <amodra@bigpond.net.au>
2267
2268 * coffdump.c (PROGRAM_VERSION): Delete.
2269 (main <'V'>): Call print_version.
2270 * srconv.c: Likewise.
2271 * sysdump.c: Likewise.
2272 * version.c (program_version): Remove.
2273 (print_version): Use BFD_VERSION_STRING. Just print the current
2274 year in copyright message.
2275 * addr2line.c (program_version): Remove unused declaration.
2276 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2277 place of BFD_VERSION.
2278 * Makefile.am (Makefile): Depend on bfd/configure.in.
2279 (cplus-dem.o): Depend on Makefile.
2280 Run "make dep-am".
2281 * Makefile.in: Regenerate.
2282
e414a165
NC
22832001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2284
2285 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2286 format .debug_arange sections.
2287 (main): Add missing prototype.
b8908f93 2288
efc3ee7f
HPN
22892001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2290
2291 * Makefile.am: Update dependencies with "make dep-am".
2292 * Makefile.in: Regenerate.
2293
9e85c2a0
RH
22942001-09-28 Richard Henderson <rth@redhat.com>
2295
2296 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2297
451dad9c
AM
22982001-09-26 Alan Modra <amodra@bigpond.net.au>
2299
2300 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2301 VA_CLOSE.
2302 (non_fatal): Likewise.
2303 * objdump.c (objdump_sprintf): Likewise.
2304 * readelf.c (error): Likewise.
2305 (warn): Likewise.
2306
d974e256
JJ
23072001-09-25 Jakub Jelinek <jakub@redhat.com>
2308
2309 * readelf.c (do_wide): New.
2310 (options): Add --wide.
2311 (usage, parse_args): Likewise.
2312 (process_program_headers): Put each segment on a single line if
2313 --wide is given.
2314 (process_section_headers): Put each section on a single line if
2315 --wide is given.
2316 * doc/binutils.texi: Document it.
2317 * NEWS: Likewise.
2318
2f11c261
AM
23192001-09-25 Alan Modra <amodra@bigpond.net.au>
2320
2321 * readelf.c (print_vma): Print 8 digits of low hex value.
2322
1d50f91e
AJ
23232001-09-24 Andreas Jaeger <aj@suse.de>
2324
2325 * nlmconv.c: Fix warnings about unused attributes and function
2326 prototypes.
2327
2328 * strings.c: Add prototype for get_char.
2329
38131e67
L
23302000-09-19 H.J. Lu <hjl@gnu.org>
2331
2332 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2333 $(srcdir)/cxxfilt.man.
2334 * doc/Makefile.in: Rebuild.
2335
3bcfb3e4
AM
23362001-09-19 Alan Modra <amodra@bigpond.net.au>
2337
2338 * objcopy.c (copy_main): Correct rename-section string parsing.
2339 Consolidate new_name parsing, and error messages.
2340
3882b010
L
23412001-09-18 Bruno Haible <haible@clisp.cons.org>
2342
2343 * addr2line.c: Don't include <ctype.h>.
2344 (main): For gettext, also set the LC_CTYPE locate facet.
2345 * ar.c (main): Likewise.
2346 * coffdump.c (main): Likewise.
2347 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2348 (main): For gettext, also set the LC_CTYPE locate facet.
2349 Use ISALNUM instead of isalpha/isdigit.
2350 * dllwrap.c: Don't include <ctype.h>.
2351 (main): For gettext, also set the LC_CTYPE locate facet.
2352 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2353 (main): For gettext, also set the LC_CTYPE locate facet.
2354 Use TOUPPER instead of islower/toupper.
2355 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2356 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2357 Use TOUPPER instead of islower/toupper.
2358 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2359 * objcopy.c (main): Likewise.
2360 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2361 (disassemble_bytes): Use ISPRINT instead of isprint.
2362 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2363 (dump_data): Use ISPRINT instead of isprint.
2364 (main): For gettext, also set the LC_CTYPE locate facet.
2365 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2366 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2367 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2368 Use TOUPPER instead of islower/toupper.
2369 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2370 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2371 (write_rc_accelerators): Use ISPRINT instead of isprint.
2372 (write_rc_rcdata): Likewise.
2373 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2374 * srconv.c (main): Likewise.
2375 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2376 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2377 isdigit/isupper/islower.
2378 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2379 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2380 stab_demangle_prefix, stab_demangle_qualified,
2381 stab_demangle_template, stab_demangle_type,
2382 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2383 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2384 (isgraphic): Use ISPRINT instead of isascii/isprint.
2385 (main): Remove HAVE_LC_MESSAGES dependency.
2386 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2387 (pbarray): Use ISPRINT instead of isprint.
2388 (main): For gettext, also set the LC_CTYPE locate facet.
2389 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2390 (format_from_filename): Use ISPRINT instead of isprint.
2391 (main): For gettext, also set the LC_CTYPE locate facet.
2392 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2393 (unicode_print): Use ISPRINT instead of isprint.
2394 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2395 (stab_variable): Use ISDIGIT instead of isdigit.
2396
e59b4dfb
AM
23972001-09-18 Alan Modra <amodra@bigpond.net.au>
2398
2399 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2400 Replace bfd_read call with call to bfd_bread.
2401 (extract_file): Likewise.
2402
2403 * objdump.c (dump_section_header): Cast section->filepos to
2404 unsigned long to suit printf format string.
2405 * readelf.c (process_section_headers): Similarly for sh_offset.
2406 (process_unwind): Likewise.
2407
d132876a
NC
24082001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2409
2410 * strings.c (encoding, encoding_bytes): New variables.
2411 (long_options): Add --encoding.
2412 (main): Accept -e and --encoding.
2413 (get_char): New function. Read a, possibly wide, character from
2414 the input stream.
2415 (print_strings): Use get_char().
2416 (usage): Document new command line option.
2417 * doc/binutils.texi: Document new command line option.
2418 * NEWS: Announce new command line option.
2419
7559e86e 24202001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2421
2422 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2423 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2424 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2425 Removed EM_CYGNUS_ARC.
2426
7559e86e 24272001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2428
2429 * readelf.c: Include elf/h8 for H8 series definitions.
2430 (guess_is_rela): H8 series if RELA.
2431 (dump_relocations): Handle H8 series relocations.
2432
0823fbca
EC
24332001-08-31 Eric Christopher <echristo@redhat.com>
2434
2435 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2436
8db76d70
PT
24372001-08-29 Peter Targett <peter.targett@arccores.com>
2438
2439 * MAINTAINERS: Include ARC Maintainer.
2440
d81d6584
BE
24412001-08-29 Ben Elliston <bje@redhat.com>
2442
2443 * stabs.c (stab_demangle_template): Initialise s4.
2444
25a1ff5b
AM
24452001-08-27 Alan Modra <amodra@bigpond.net.au>
2446
2447 * readelf.c (dump_relocations): Recognise EM_PPC64.
2448
a5d22d2a
TS
24492001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2450
2451 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2452
62a5a82d
L
24532001-08-25 H.J. Lu <hjl@gnu.org>
2454
2455 * nm.c (print_width): New.
2456 (display_rel_file): Set `print_width' according to
2457 bfd_sprintf_vma.
2458 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2459
1ae8b3d2
AO
24602001-08-24 Alexandre Oliva <aoliva@redhat.com>
2461
2462 * objcopy.c (use_alt_mach_code): New variable.
2463 (OPTION_ALT_MACH_CODE): Define.
2464 (copy_options): Added --alt-machine-code.
2465 (copy_main): Handle it.
2466 (copy_object): Switch to alternate machine code if requested.
2467 * doc/binutils.texi: Document new option.
2468 * NEWS: Likewise.
2469
d1bdd336
TS
24702001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2471
2472 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2473
410f7a12
L
24742001-08-21 H.J. Lu <hjl@gnu.org>
2475
2476 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2477 (display_debug_info): Cast for 64bit hosts.
2478 (display_debug_frames): Likewise.
2479 (process_mips_specific): Likewise.
2480
c32144ff
AJ
24812001-08-21 Andreas Jaeger <aj@suse.de>
2482
2483 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2484
2485 * sysdump.c: Add missing prototypes.
2486 * srconv.c: Likewise.
2487 * unwind-ia64.c: Likewise.
2488 * coffdump.c: Likewise.
2489
2490 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2491
2492 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2493 of declaring xcalloc.
2494
d8180c76
L
24952001-08-10 H.J. Lu <hjl@gnu.org>
2496
2497 * nm.c (print_value): Add one arg, bfd *.
2498 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2499 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2500 (print_symbol_info_sysv): Likewise.
2501 (print_symbol_info_posix): Likewise.
2502
2503 * objdump.c (dump_section_header): Replace printf_vma with
2504 bfd_printf_vma.
2505 (print_section_stabs): Likewise.
2506 (dump_bfd_header): Likewise.
2507 (objdump_print_value): Replace sprintf_vma with
2508 bfd_sprintf_vma.
2509 (disassemble_bytes): Likewise.
2510 (dump_reloc_set): Likewise.
2511
0218d1e4
AJ
25122001-08-10 Andreas Jaeger <aj@suse.de>
2513
2514 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2515 to build warnings.
2516 * configure: Regenerate.
2517
2863d58a
AM
25182001-08-09 Alan Modra <amodra@bigpond.net.au>
2519
2520 * readelf.c: Add missing prototypes.
2521 * objdump.c: Likewise. Format existing prototypes.
2522
c0e047e0
AO
25232001-08-08 Alexandre Oliva <aoliva@redhat.com>
2524
2525 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2526 of any RELA relocation for the abbrev_offset memory location that
2527 refers to the .debug_abbrev section symbol.
2528
ff78d6d6
L
25292001-08-07 H.J. Lu <hjl@gnu.org>
2530
2531 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2532 (main): Return process_file ().
2533
c36774d6
PB
25342001-08-05 Philip Blundell <philb@gnu.org>
2535
2536 * doc/binutils.texi: Use "Thumb" not "THUMB".
2537
8f9d9bd9
JH
25382001-08-03 John Healy <jhealy@redhat.com>
2539
bb279dc0
ZW
2540 Patch suggested by Frank Eigler <fche@redhat.com>.
2541 * objdump.c (disassemble_data): Fill in section member of the
2542 disasm_info structure.
8f9d9bd9 2543
c918cb96
DD
25442001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2545
2546 * configure.in: Added --with-windres option.
2547 * configure: Regenerated.
2548
c7c55b78
NC
25492001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2550
2551 * doc/binutils.texi: Use @command{name} for commands;
2552 use @option{-opt} for options; use @table @env for list of options;
2553 remove spaces arround [ | ] in synopsis.
2554
2555 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2556 center title.
2557
594ef5db
NC
25582001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2559
bb279dc0
ZW
2560 * objcopy.c: Fix formatting.
2561 (section_rename): New structure.
2562 (OPTION_RENAME_SECTION): New switch.
2563 (copy_usage): Document new switch.
2564 (add_section_rename): New function: Add a node to the section
2565 rename list.
2566 (find_section_rename): New function: Find the new name and
2567 flags for a section.
2568 (setup_section): Call find_section_name to determine the name
2569 of the output section.
2570 (copy_main): Handle OPTION_RENAME_SECTION.
2571 * binutils.texi: Document new switch.
594ef5db
NC
2572 * NEWS: Mention new switch.
2573
1f554c69
NC
25742001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2575
2576 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2577 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2578 bug-binutils@gcc.org.
2579
2f83960e
AM
25802001-07-28 Matthias Kramm <kramm@quiss.org>
2581
2582 * bucomm.c (list_supported_architectures): New function.
2583 * bucomm.h (list_supported_architectures): Declare.
2584 * objdump.c (usage): Call the above.
2585
20fe0649
DB
25862001-07-25 Dave Brolley <brolley@redhat.com>
2587
2588 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2589 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2590
1b577b00
NC
25912001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2592
2593 * README: Update for 2.11. Change bug reporting email address.
2594 * MAINTAINERS: Tidy up. Change bug reporting email address.
2595
95fd336c
DD
25962001-07-16 DJ Delorie <dj@redhat.com>
2597
5f16d855
DD
2598 * resres.c (write_res_header): Align header size.
2599 (res_align_file): Calculate alignment correctly.
2600
95fd336c
DD
2601 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2602 correct 10).
2603 * resrc.c (write_rc_resource): Likewise.
2604 * windres.h (SUBLANG_SHIFT): Define - as 10.
2605
ed8fee27
NC
26062001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2607
2608 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2609
90ab7e9a
NC
26102001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2611
2612 * MAINTAINERS: Add notes about branch checkins.
2613
e0c60db2
NC
26142001-07-05 Daniel Berlin <dan@cgsoftware.com>
2615
2616 * readelf.c (display_debug_macinfo): New function, display
2617 .debug_macinfo section.
2618 (do_debug_macinfo): New variable.
2619 (parse_args): Handle "-w[mM]" to mean display macro info.
2620 (process_section_headers): Handle debug_macinfo.
2621 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2622 function for .debug_macinfo display.
e0c60db2
NC
2623 * doc/binutils.texi: Document new command line switch.
2624 * NEWS: Document new feature of readelf.
0218d1e4 2625
24e01a36
L
26262001-07-05 H.J. Lu <hjl@gnu.org>
2627
2628 * objcopy.c (filter_symbols): Don't turn undefined symbols
2629 into local.
2630
4258bf4d
L
26312001-07-03 H.J. Lu <hjl@gnu.org>
2632
2633 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2634 $@.pod.
2635 (ar.1): Likewise.
2636 (dlltool.1): Likewise.
2637 (nlmconv.1): Likewise.
2638 (nm.1): Likewise.
2639 (objcopy.1): Likewise.
2640 (objdump.1): Likewise.
2641 (ranlib.1): Likewise.
2642 (readelf.1): Likewise.
2643 (size.1): Likewise.
2644 (strings.1): Likewise.
2645 (strip.1): Likewise.
2646 (windres.1): Likewise.
2647 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2648 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2649 $(DEMANGLER_NAME).
2650 (as.1): Removed.
2651 * doc/Makefile.in: Regenerated.
2652
7014bc31
NC
26532001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2654
2655 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2656
b811889f
NC
26572001-07-01 Daniel Berlin <dan@cgsoftware.com>
2658
2659 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2660
12ab83a9
NC
26612001-06-29 James Cownie <jcownie@etnus.com>
2662
2663 * readelf.c: Support DWARF 2.1 attributes.
2664
a6e9f9df
AM
26652001-06-28 Alan Modra <amodra@bigpond.net.au>
2666
2667 * readelf.c (GET_DATA_ALLOC): Remove.
2668 (GET_DATA): Remove.
2669 (get_data): New function combining above macros, with an extra
2670 test for zero size.
2671 (slurp_rela_relocs): Use get_data, and catch error return.
2672 (slurp_rel_relocs): Likewise.
2673 (get_32bit_program_headers): Likewise.
2674 (get_64bit_program_headers): Likewise.
2675 (get_32bit_section_headers): Likewise.
2676 (get_64bit_section_headers): Likewise.
2677 (get_32bit_elf_symbols): Likewise.
2678 (get_64bit_elf_symbols): Likewise.
2679 (process_section_headers): Likewise.
2680 (process_relocs): Likewise.
2681 (slurp_ia64_unwind_table): Likewise.
2682 (process_unwind): Likewise.
2683 (get_32bit_dynamic_segment): Likewise.
2684 (get_64bit_dynamic_segment): Likewise.
2685 (process_dynamic_segment): Likewise.
2686 (process_version_sections): Likewise.
2687 (process_symbol_table): Likewise.
2688 (dump_section): Likewise.
2689 (display_debug_info): Likewise.
2690 (display_debug_section): Likewise.
2691 (process_section_contents): Likewise.
2692 (process_corefile_note_segment): Likewise.
2693 (process_mips_specific): Likewise. Also free econf32, econf64.
2694
af3fc3bc
AM
26952001-06-25 Alan Modra <amodra@bigpond.net.au>
2696
2697 * readelf.c (dump_relocations): Print "bad symbol index" if
2698 symtab == NULL with non-zero symtab_index.
2699 (process_relocs): Don't bomb if reloc section has no symsec.
2700
6d900bf6
L
27012001-06-24 H.J. Lu <hjl@gnu.org>
2702
2703 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2704 by accident.
2705 (copy_main): Apply the the change made to strip_main on
2706 2001-05-30 by accident.
2707
49b4e386
AJ
27082001-06-23 Andreas Jaeger <aj@suse.de>
2709
2710 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2711 parameter 'code'.
2712 (unw_decode_x2): Likewise.
2713 (unw_decode_x3): Likewise.
2714 (unw_decode_x4): Likewise.
2715
d8dc71e3
BE
27162001-06-23 Ben Elliston <bje@redhat.com>
2717
2718 * MAINTAINERS: Add myself as M88k maintainer.
2719
af3bdff7
NC
27202001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2721
2722 * objcopy.c (strip_main): Support -o or --output-file command lien
2723 switch.
2724
105e7211
L
27252001-06-19 H.J. Lu <hjl@gnu.org>
2726
2727 * doc/Makefile.in: Regenerated.
2728
c45021f2
NC
27292001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2730
2731 * readelf.c: Restore formatting.
2732
27332001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2734
bb279dc0
ZW
2735 * Makefile.am: Move documentation into doc subdirectory.
2736 * Makefile.in: Regenerated.
c45021f2 2737 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2738 * addr2line.1: Removed.
2739 * ar.1: Likewise.
2740 * dlltool.1: Likewise.
2741 * nlmconv.1: Likewise.
2742 * nm.1: Likewise.
2743 * objcopy.1: Likewise.
2744 * objdump.1: Likewise.
2745 * ranlib.1: Likewise.
2746 * readelf.1: Likewise.
2747 * size.1: Likewise.
2748 * strings.1: Likewise.
2749 * strip.1: Likewise.
2750 * windres.1: Likewise.
2751 * cxxfilt.man: Likewise.
c45021f2
NC
2752 * doc: New Directory.
2753 * doc/Makefile.am: New file.
2754 * doc/Makefile.in: Generate.
2755
09ad7db3
AM
27562001-06-09 Alan Modra <amodra@bigpond.net.au>
2757
2758 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2759
936260fe
AM
27602001-06-01 Alan Modra <amodra@bigpond.net.au>
2761
2762 * MAINTAINERS: Update my email address.
2763
16b2b71c
NC
27642001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2765
2766 * objcopy.c: Add new switches: --keep-global-symbol,
2767 --keep-symbols, --localize-symbols, --keep-global-symbols and
2768 --weaken-symbols.
2769 * binutils.texi: Document new switches.
2770 * objcopy.1: Regenerate.
2771 * NEWS: Announce new feature.
2772
7036c0e1
AJ
27732001-05-28 Andreas Jaeger <aj@suse.de>
2774
2775 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2776 variables, fix format strings.
2777
76a406e5
NC
27782001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2779
2780 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2781 when computing the address of the line to show.
2782
31b6fca6
RH
27832001-05-16 Richard Henderson <rth@redhat.com>
2784
2785 * readelf.c (do_debug_frames_interp): New.
2786 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2787 (byte_get_big_endian): Likewise.
2788 (parse_args) ['F']: Set do_debug_frames_interp.
2789 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2790 (frame_display_row): Don't trunc pc_begin to int.
2791 (size_of_encoded_value): New.
2792 (display_debug_frames): Handle 64-bit targets. Print raw data
2793 unless do_debug_frames_interp.
2794 (debug_displays): Remove duplicate .debug_frame.
2795
4fe85591
NC
27962001-05-15 Ralf Baechle <ralf@gnu.org>
2797
2798 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2799 The former constant was never in active use and is used otherwise
2800 by the ABI.
2801
579f31ac
JJ
28022001-05-11 Jakub Jelinek <jakub@redhat.com>
2803
2804 * readelf.c (process_unwind): Print all unwind sections, not just
2805 one.
2806
78f4a3f7
AM
28072001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2808
2809 * readelf.c (process_unwind): Remove const specifier.
2810
1c529ca6
NC
28112001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2812
2813 * strings.c (isgraphic): Do not use isascii() unless it is needed
2814 for isprint() to work.
2815 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2816
87e6d782
NC
28172001-04-27 Johan Rydberg <jrydberg@opencores.org>
2818
bb279dc0 2819 * NEWS: Announce support for OpenRISC.
87e6d782 2820
4bd3d870 28212001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2822
2823 * dlltool.c (do_default_excludes): Initialise to true.
2824
21211521
AM
28252001-04-10 Alan Modra <amodra@one.net.au>
2826
2827 * MAINTAINERS: Update my email address
2828 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2829
0c66b61e 28302001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2831
2832 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2833
e58d53af
L
28342001-03-30 H.J. Lu <hjl@gnu.org>
2835
2836 * readelf.c (process_unwind): Just return if do_unwind is 0.
2837
bee72332
DD
28382001-03-28 Roger Sayle <roger@metaphorics.com>
2839
2840 * dlltool.c (make_one_lib_file): Fix section flags for
2841 .text, .data and .bss in stub ds*.o files to match those
2842 generated by gas.
2843
f1467e33
L
28442001-03-29 H.J. Lu <hjl@gnu.org>
2845
2846 * readelf.c (process_unwind): Only do unwind sections for
2847 IA64.
2848
1c6fb4fe
L
28492001-03-28 H.J. Lu <hjl@gnu.org>
2850
2851 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2852 * Makefile.in: Regenerate.
2853
0879a67a
AJ
28542001-03-26 Andreas Jaeger <aj@suse.de>
2855
2856 * binutils.texi (nm): Fix texi syntax.
2857
0285c67d
NC
28582001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2859
2860 * binutils.texi: Put @c man begin and @c man end indications
2861 to generate man pages using texi2pod and pod2man. Put @c man title
2862 to identify each man. Add SEEALSO entries.
2863 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2864 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2865 sort the list.
2866 (*.1): Build the man pages from binutils.texi.
2867 * Makefile.in: Regenerate.
2868
04847a4d
CF
28692001-03-13 Eric Kohl <ekohl@rz-online.de>
2870
2871 * defparse.y (opt_equal_name): allow "." in name.
2872 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2873 (gen_exp_file): Likewise.
2874
43a0748c
NC
28752001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2876
2877 * NEWS: Document addition of -B switch to objcopy.
2878 * binutils.texi: Document addition of -B switch to objcopy.
2879 * objcopy.c: (copy_options): Add --binary-architecture.
2880 (copy_usage): Document -B/--binary-architecture.
2881 (copy_main): Support -B/--binary-architecture. Set
2882 bfd_external_binary_architecture.
0879a67a 2883
b7498e0e
NC
28842001-03-11 Andreas Jaeger <aj@suse.de>
2885
2886 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2887 (dump_relocations): Likewise.
2888 (get_machine_name): Likewise.
2889
a59e3bd7
NC
28902001-02-28 Nick Clifton <nickc@redhat.com>
2891
2892 * readelf.c: (struct unw_aux_info): Remove const modifier for
2893 'strtab' field.
2894 (process_unwind): Remove non-K&R compliant LHS type cast in call
2895 to GET_DATA_ALLOC macro.
2896
a5bcd848
PB
28972001-02-28 Philip Blundell <pb@futuretv.com>
2898
2899 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2900 ABI is in use; remove ambiguity between the "unknown" EABI and
2901 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2902 renamed EF_xx constants.
2903
27b7e12d
AM
29042001-02-27 Alan Modra <alan@linuxcare.com.au>
2905
2906 * configure.in (BFD_VERSION): New.
2907 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2908 * configure: Regenerate.
2909 * Makefile.am: Run "make dep-am"
2910 * Makefile.in: Regenerate.
2911
a9f10786
NC
29122001-02-14 Nick Clifton <nickc@redhat.com>
2913
2914 * MAINTAINERS: Add "Obvious Fix" rule.
2915
3c44da9a
MS
29162001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2917
2918 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2919 literal concatenation.
2920
ecd03389
MS
29212001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2922
2923 * readelf.c (struct unw_aux_info): Remove const from the info member.
2924 (process_unwind): Don't type-cast the third argument to the
2925 GET_DATA_ALLOC macro.
2926
88ec60c7
NC
29272001-02-11 Nick Clifton <nickc@redhat.com>
2928
2929 * readelf.c (dump_relocations): Free corrected allocated
2930 array.
2931 (process_unwind): Fix compile time warning.
2932
f5e21966
NC
29332001-02-10 Nick Clifton <nickc@redhat.com>
2934
2935 * binutils.texi: Document new --unwind option to readelf.
2936
a85d7ed0
NC
29372001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2938
2939 * readelf.c: Add linux target for S/390.
2940
7bb10502
AM
29412001-02-10 Alan Modra <alan@linuxcare.com.au>
2942
2943 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2944 printf is a macro.
2945
8ca8f343
HPN
29462001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2947
2948 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2949 * aclocal.m4: Regenerate.
2950 * configure: Regenerate.
2951
7340082d
NC
29522001-02-07 Todd Vierling <tv@wasabisystems.com>
2953
2954 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2955 * objdump.c (bfd_target_vector): Likewise.
2956
4d6ed7c8
NC
29572001-02-07 David Mosberger <davidm@hpl.hp.com>
2958
2959 * readelf.c (process_unwind): New function.
2960 (slurp_ia64_unwind_table): Ditto.
2961 (dump_ia64_unwind): Ditto.
2962 (find_symbol_for_address): Ditto.
2963 (slurp_rela_relocs): New function (split off from dump_relocations()).
2964 (slurp_rel_relocs): Ditto.
2965 (parse_args): Handle '-u' option.
2966
2967 * unwind-ia64.c: New file.
2968 * unwind-ia64.h: New file.
2969 * Makefile.am: Include unwind-ia64.c in readelf build.
2970 * Makefile.in: Regenerate.
7340082d 2971 * po/binutils.pot: Regenerate.
4d6ed7c8 2972
c7217458
PB
29732001-02-04 Philip Blundell <philb@gnu.org>
2974
2975 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2976 * configure: Regenerate.
2977
956eedd4
AM
29782001-01-31 Steve deRosier <sderosier@vari-lite.com>
2979
2980 * ieee.c (ieee_add_bb11): Don't check for backslashes
2981 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2982
8855cbca
AM
29832001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2984
c7f2731e
AM
2985 * ieee.c: Update copyright.
2986 (ieee_start_compilation_unit): Don't check for backslashes
2987 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2988
8855cbca
AM
2989 * stabs.c: Update copyright. Include "filenames.h".
2990 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2991
329de803 29922001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2993
2994 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2995 sections are present before using them. Remove code duplication.
2996 (process_symbol_table): Check if VERDEF or VERNEED sections are
2997 present before using them.
2998
23719f39
NC
29992001-01-17 Nick Clifton <nickc@redhat.com>
3000
3001 * objcopy.c (copy_object): Fail if attempting to convert the
3002 endianness of the input object file.
3003
3004 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 3005
f726e849
NC
30062001-01-16 Nick Clifton <nickc@redhat.com>
3007
3008 * readelf.c (string_table_length): New variable.
3009 (SECTION_NAME): Catch out of range indices and missing section
3010 pointers.
3011 (process_section_headers): Delete useless local variable
3012 string_table_offset. Set the value of string_table_length
3013 after loading the string table.
3014 (process_mips_specific): Use SECTION_NAME macro.
3015 (process_file): Set string_table_length to 0 when it is freed.
3016
d0398d6a
NC
30172001-01-12 Nick Clifton <nickc@redhat.com>
3018
3019 * version.c (print_version): Update copyright date.
3020
0d2bcfaf
NC
30212001-01-11 Peter Targett <peter.targett@arccores.com>
3022
3023 * readelf.c (dump_relocations): Include selection with EM_ARC.
3024 (get_machine_name) Update name to "ARC".
3025
8b1e6df3
NC
30262001-01-09 Nick Clifton <nickc@redhat.com>
3027
3028 * Makefile.am: Add rule to build objdump.o from objdump.c and
3029 using OBJDUMP_DEFS.
3030 * Makefile.in: Regenerate.
3031
3032 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3033 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3034 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 3035 * configure: Regenerate.
8b1e6df3
NC
3036
3037 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3038 is defined read in the relocs even if dump_reloc_info is
3039 false.
3040
2f952d20
PB
30412001-01-07 Philip Blundell <philb@gnu.org>
3042
3043 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3044 `bug-binutils'.
3045 * README: Likewise.
3046
a8c548cb
NC
30472000-12-19 Nick Clifton <nickc@redhat.com>
3048
3049 * dlltool.c: Add missing support for arm-epoc-pe.
3050 * configure.in: Add missing support for arm-epoc-pe.
3051 * configure: Regenerate.
3052
cc5fda35
NC
30532000-12-15 Nick Clifton <nickc@redhat.com>
3054
3055 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3056 Mode parts of the x86 port.
3057
bcedfee6
NC
30582000-12-04 Andreas Jaeger <aj@suse.de>
3059
3060 * readelf.c (guess_is_rela): Add EM_X86_64.
3061 (dump_relocations): Add EM_X86_64.
3062 (get_machine_name): Add EM_X86_64.
3063 Include "elf/x86-64.h".
3064
584da044
NC
30652000-12-12 Nick Clifton <nickc@redhat.com>
3066
3067 * readelf.c: Fix formatting.
3068
7559e86e 30692000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3070
3071 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3072
a98cc2b2
AH
30732000-12-07 Andrew Haley <aph@redhat.com>
3074
3075 * readelf.c (display_debug_frames): Only display columns that are
3076 referenced by the frame debug info.
3077
c7987a69
NC
30782000-12-05 Nick Clifton <nickc@redhat.com>
3079
3080 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3081
09fd7e38
JM
30822000-12-04 Jason Merrill <jason@redhat.com>
3083
3084 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3085 (display_debug_section): Likewise.
3086 (display_debug_info): Display CU header before bailing.
3087
e7af610e
NC
30882000-12-01 Chris Demetriou <cgd@sibyte.com>
3089
09fd7e38
JM
3090 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3091 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3092 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 3093
09fd7e38
JM
3094 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3095 and E_MIPS_ARCH_64.
84ea6cf2 3096
09fd7e38
JM
3097 * readelf.c (get_machine_flags): Add case for
3098 E_MIPS_MACH_SB1.
c6c98b38 3099
75066968
DD
31002000-11-30 Richard Earnshaw <rearnsha@arm.com>
3101
3102 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3103
5c4666ea
HPN
31042000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3105