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