* Makefile.am (readelf.o): Depend on ms1.h.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
2 Michael Snyder <msnyder@redhat.com>
3 Stan Cox <scox@redhat.com>
4
5 * Makefile.am (readelf.o): Depend on ms1.h.
6
7 * Makefile.in: Regenerate.
8
9 * readelf.c: Include ms1.h.
10
11 2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
12
13 PR 990
14 * nm.c (print_symbol): Call bfd_find_line before
15 bfd_find_nearest_line.
16
17 2005-06-06 Alan Modra <amodra@bigpond.net.au>
18
19 * NEWS: Mention new powerpc ld support.
20
21 2005-06-03 Steve Ellcey <sje@cup.hp.com>
22
23 * configure.in: Check for getc_unlocked prototype.
24 * configure: Regenerate.
25 * config.in: Regenerate.
26 * strings.c (get_char): Only call getc_unlocked if we have seen a
27 prototype.
28
29 2005-06-03 Nick Clifton <nickc@redhat.com>
30
31 * configure.in (ALL_LINGUAS): Add zh_TW
32 * configure: Regenerate.
33 * po/zh_TW.po: New Chinese (traditional) translation.
34
35 2005-05-31 Richard Henderson <rth@redhat.com>
36
37 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
38
39 2005-05-29 Richard Henderson <rth@redhat.com>
40
41 * readelf.c (get_alpha_dynamic_type): New.
42 (get_dynamic_type): Call it.
43
44 2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
45
46 * readelf.c (process_section_groups): Report group section
47 index. Check if the section member index is valid.
48
49 2005-05-23 Fred Fish <fnf@specifixinc.com>
50
51 * addr2line.c (unwind_inlines): New flag for 'i' option.
52 (usage): Document '-i' option.
53 (long_options): Recognize '--inlines'.
54 (translate_addresses): Loop, calling bfd_find_inliner_info as
55 necessary and printing multiple output lines.
56 (main): Handle 'i' option.
57 * doc/binutils.texi (addr2line): Document '-i' option.
58 * NEWS: Mention new addr2line '-i' option.
59
60 2005-05-23 Nick Clifton <nickc@redhat.com>
61
62 * readelf.c (fetch_indirect_string): Display a warning message
63 when a corrupt DW_FORM_strp value is encountered.
64
65 (process_debug_info): Mention that the compilation unit offset is
66 being displayed in hexadecimal.
67
68 (display_debug_lines): Fix typo in name of .debug_line section.
69
70 2005-05-19 Zack Weinberg <zack@codesourcery.com>
71
72 * Makefile.am: Have 'all' depend on 'info'.
73 * Makefile.in: Regenerate.
74
75 2005-05-19 Ben Elliston <bje@au.ibm.com>
76
77 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
78 value of DW_ATE_GNU_decimal_float.
79
80 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
81
82 * doc/Makefile.am (config.texi): Don't use $<.
83 * doc/Makefile.in: Regenerated.
84
85 2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
86
87 * deflex.l: Ignore CRs
88
89 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
90
91 * acinclude.m4: Remove obsolete code.
92 * configure.in: Update AC_PREREQ.
93 * doc/Makefile.am (binutils_TEXINFOS): Define.
94 (config.texi): Depend on distributed files instead of built
95 files.
96 (binutils.dvi, binutils.info): Remove unnecessary rules.
97 (DISTCLEANFILES): Remove.
98 (install-data-local): Renamed from install.
99 (info-local): Renamed from info.
100 * Makefile.in, aclocal.m4, config.in, configure,
101 doc/Makefile.in: Regenerated.
102
103 2005-05-14 Alan Modra <amodra@bigpond.net.au>
104
105 * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
106 DT_PPC_GLINK.
107
108 2005-05-13 Fred Fish <fnf@specifixinc.com>
109
110 * readelf.c: Fix a couple of obvious comment typos,
111 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
112
113 2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
114
115 * readelf.c (dump_ia64_unwind): Get stamp with proper size.
116
117 2005-05-12 Nick Clifton <nickc@redhat.com>
118
119 * readelf.c (display_debug_lines): If pointer_size has not been
120 found then assume that it is 4 in order to prevent a seg fault
121 when process_extend_line_op attempts to read the line data.
122
123 2005-05-11 Alan Modra <amodra@bigpond.net.au>
124
125 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
126 (get_dynamic_type): Call the above.
127
128 2005-05-07 Nick Clifton <nickc@redhat.com>
129
130 * Update the address and phone number of the FSF organization in
131 the GPL notices in the following files:
132 aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
133 arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
134 budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
135 cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
136 dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
137 ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
138 objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
139 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
140 size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
141 syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
142 windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
143
144 2005-05-06 Jan Beulich <jbeulich@novell.com>
145
146 * objcopy.c (copy_file): Don't delete output upon error here.
147 (copy_main): Delete output upon error.
148
149 2005-05-02 Ben Elliston <bje@au.ibm.com>
150
151 * dlltool.c (dtab): Remove empty function.
152 (process_duplicates): Remove calls to dtab().
153
154 2005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
155
156 * doc/binutils.texi (strip, objcopy): Clarify the description of
157 the "--strip-debug" option. Fix a typo.
158
159 2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
160
161 * bucomm.c: Undo the last change.
162 * bucomm.h: Likewise.
163
164 2005-04-29 Ben Elliston <bje@au.ibm.com>
165
166 * syslex.l (word, number, unit): Remove unused variables.
167 * nlmheader.y (keyword_tokens): Make static.
168 * coffdump.c (dump_coff_symbol, coff_dump): Make static.
169 * coffgrok.c (lofile, last_function_symbol, last_function_type,
170 last_struct, last_enum, cur_sfile): Make variables static.
171 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
172 sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
173 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
174 names, pnames): Likewise.
175
176 2005-04-29 Ben Elliston <bje@au.ibm.com>
177
178 * ar.c (mri_mode): Make static.
179 * arsup.c (obfd, real_name, outfile): Likewise.
180 * binemul.c (ar_emul_create): Remove unused function.
181 (ar_emul_default_create): Likewise.
182 * binemul.h (ar_emul_create): Remove declaration.
183 (ar_emul_default_create): Likewise.
184 (struct bin_emulation_xfer_struct): Remove ar_create member.
185 * bucomm.c (report): Make static.
186 * bucomm.h (report): Remove declaration.
187 * cxxfilt.c (mbuffer): Make static.
188 (main): Use unsigned ints for some loop control variables.
189 * readelf.c: Make many global variables static.
190 * size.c (berkeley_format): Make static.
191 (long_options): Likewise.
192 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
193 structure initialiser.
194 (bin_aix5_emulation): Likewise.
195 * emul_vanilla.c (bin_vanilla_emulation): Likewise.
196
197 2005-04-27 Ben Elliston <bje@au.ibm.com>
198
199 * syslex.l: Adjust top-of-file comment: this file is part of GNU
200 binutils, not GNU ld.
201
202 2005-04-25 Nick Clifton <nickc@redhat.com>
203
204 PR872
205 * objcopy.c (copy_archive): Initialise 'obfd' field of new
206 name_list structure.
207
208 * objcopy.c (copy_usage): Fix description of -K switch.
209
210 * doc/binutils.texi (strip, objcopy): Fix description of -K
211 switch.
212
213 2005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
214
215 * readelf.c (display_debug_frames): Use data factor for
216 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
217
218 2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
219
220 * objdump.c (dump_section_header): Skip linker created section.
221
222 2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
223
224 * objdump.c (dump_section_header): Support SEC_GROUP.
225
226 2005-04-16 Nick Clifton <nickc@redhat.com>
227
228 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
229 printf string.
230
231 2005-04-15 Nick Clifton <nickc@redhat.com>
232
233 * objcopy.c (copy_file): Issue an error message when attmepting to
234 copy an empty input file.
235
236 2005-04-14 Alan Modra <amodra@bigpond.net.au>
237
238 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
239 * configure.in: Include ../bfd/warning.m4 contents.
240 * Makefile.in: Regenerate.
241 * configure: Regenerate.
242 * doc/Makefile.in: Regenerate.
243
244 2005-04-12 Alan Modra <amodra@bigpond.net.au>
245
246 * Makefile.am: Run "make dep-am".
247 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
248 (sysroff.o, defparse.o, deflex.o): Likewise.
249 (nlmheader.o, rcparse.o, rclex.o): Likewise.
250 * Makefile.in: Regenerate.
251 * aclocal.m4: Regenerate.
252 * config.in: Regenerate.
253 * configure: Regenerate.
254
255 2005-04-11 Jan Beulich <jbeulich@novell.com>
256
257 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
258
259 2005-04-06 Nick Clifton <nickc@redhat.com>
260 H.J. Lu <hongjiu.lu@intel.com>
261
262 * po/rw.po: New translation: Kinyarwanda.
263 * configure.in (ALL_LINGUAS): Add rw.
264 * configure: Regenerate.
265
266 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
267
268 * readelf.c (debug_apply_rela_addends): Reorder r_info as
269 necessary for 64-bit MIPS.
270
271 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
272
273 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
274
275 2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
276
277 PR binutils/813
278 * objdump.c (dump_symbols): Add a check to see if the section for
279 the symbol is chosen using process_section_p.
280
281 2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
282
283 * NEWS: Mention new readelf options, "-N/--full-section-name"
284 and "-g/--section-groups".
285
286 * doc/binutils.texi: Document new readelf options,
287 "-N/--full-section-name" and "-g/--section-groups".
288
289 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
290
291 * readelf.c (do_full_section_name): New.
292 (options): Add "--full-section-name"/'N'.
293 (usage): Add -N/--full-section-name.
294 (parse_args): Handle 'N'.
295 (process_section_headers): Print out the full section name if
296 do_full_section_name isn't 0.
297
298 2005-03-31 Nick Clifton <nickc@redhat.com>
299
300 * configure.in: Add a check for <unistd.h> providing a prototype
301 for getopt() which is compatible with the one in
302 include/getopt.h. If so then define HAVE_DECL_GETOPT.
303 * configure: Regenerate.
304 * config.in (HAVE_DECL_GETOPT): Add.
305 * aclocal.m4: Regenerate.
306 * addr2line.c: Include "config.h" before "bfd.h" so that
307 HAVE_DECL_GETOPT is defined before getopt.h is included.
308
309 2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
310
311 * doc/binutils.texi: Document new VAX disassembler-specific option
312 -M entry:0xfooba8.
313 * NEWS: Mention the new option.
314
315 2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
316
317 * MAINTAINERS: Add myself as H8300 maintainer.
318
319 2005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
320
321 * objdump.c (disassemble_bytes): Remove cast.
322
323 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
324
325 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
326 binutils-2_16-branch.
327
328 2005-03-25 Mark Kettenis <kettenis@gnu.org>
329
330 * MAINTAINERS: Add myself as M88k maintainer.
331
332 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
333
334 * winduni.c (unicode_from_ascii): Don't declare variables
335 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
336 string len.
337
338 2005-03-24 Dmitry Diky <diwil@spec.ru>
339
340 * MAINTAINERS: Add myself as MSP430 maintainer.
341
342 2005-03-23 Nick Clifton <nickc@redhat.com>
343
344 * po/fr.po: Updated translation.
345
346 2005-03-22 Nick Clifton <nickc@redhat.com>
347
348 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
349 privileges list.
350
351 2005-03-17 Paul Brook <paul@codesourcery.com>
352 Dan Jacobowitz <dan@codesourcery.com>
353 Mark Mitchell <mark@codesourcery.com>
354
355 * binutils/readelf.c (get_arm_segment_type): New function.
356 (get_segment_type): Use it.
357
358 2005-03-18 Paul Brook <paul@codesourcery.com>
359
360 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
361
362 2005-03-17 Diego Novillo <dnovillo@redhat.com>
363
364 * MAINTAINERS: Remove self as maintainer of x86 intel
365 mode.
366
367 2005-03-16 Nick Clifton <nickc@redhat.com>
368 Ben Elliston <bje@au.ibm.com>
369
370 * configure.in (werror): New switch: Add -Werror to the
371 compiler command line. Enabled by default. Disable via
372 --disable-werror.
373 * configure: Regenerate.
374
375 2005-03-15 Daniel Marques <marques@cs.cornell.edu>
376 Nick Clifton <nickc@redhat.com>
377
378 * objcopy.c (globalize_specific_list): New linked list of symbols
379 to convert from local binding into global binding.
380 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
381 OPTION_GLOBALIZE_SYMBOLS.
382 (copy_options): Add "globalize-symbol" and "globalize-symbols".
383 (copy_usage): Document the new switches.
384 (filter_symbols): Convert defined local symbols mentioned on the
385 globalize_specific_list into global symbols.
386 (copy_object): Perform actions if the globalize_specific_list is
387 not empty.
388 (copy_main): Handle new switches.
389 * NEWS: Mention new feature.
390 * doc/binutils.texi: Document new switches.
391
392 2005-03-15 Alan Modra <amodra@bigpond.net.au>
393
394 * po/es.po: Commit new Spanish translation.
395
396 * po/fr.po: Commit new French translation.
397
398 2005-03-14 Alan Modra <amodra@bigpond.net.au>
399
400 * po/tr.po: Commit new Turkish translation.
401
402 2005-03-11 Nick Clifton <nickc@redhat.com>
403
404 * po/fr.po: Updated French translation.
405
406 2005-03-10 Nick Clifton <nickc@redhat.com>
407
408 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
409 * configure: Regenerate.
410 * po/ro.po: New file.
411
412 * po/ru.po: Updated file.
413
414 2005-03-05 Alan Modra <amodra@bigpond.net.au>
415
416 * po/binutils.pot: Regenerate.
417
418 2005-03-02 Jan Beulich <jbeulich@novell.com>
419
420 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
421 * objcopy.c (copy_file): Likewise.
422 (strip_main): Likewise.
423
424 2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
425 Nick Clifton <nickc@redhat.com>
426
427 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
428 (struct objdump_disasm_info): Add 'reloc' field.
429 (disassemble_bytes): Fix check for when an insn has a reloc
430 associated with it. Improve comment explaining why the use of
431 octets is wrong. Set the 'reloc' field in objdump_disasm_info
432 structure.
433 (objdump_print_addr): Use new 'reloc' field to lookup the correct
434 address for the symbol associated with the current instruction's
435 relocation.
436 (disassemble_info): Initialise 'reloc' field.
437
438 2005-02-28 Jakub Jelinek <jakub@redhat.com>
439
440 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
441 get_segment_type, get_section_type_name, get_elf_class,
442 get_data_encoding, get_group_flags, dynamic_section_mips_val,
443 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
444 get_AT_name, process_mips_specific, process_gnu_liblist,
445 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
446 sprintf where needed.
447 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
448 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
449 using strcat.
450 (get_dynamic_flags): Renamed to...
451 (print_dynamic_flags): ... this. Print the flags to stdout instead
452 of returning them as string.
453 (process_dynamic_section): Adjust caller.
454
455 2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
456
457 * readelf.c (display_debug_ranges): Print out offset for end of
458 list.
459
460 2005-02-23 Alan Modra <amodra@bigpond.net.au>
461
462 * dlltool.c: Warning fixes.
463 * objdump.c: Likewise.
464
465 2005-02-22 Alan Modra <amodra@bigpond.net.au>
466
467 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
468 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
469 dependencies. Run "make dep-am".
470 * nlmconv.c: Warning fixes.
471 * readelf.c: Likewise.
472 * srconv.c: Likewise.
473 * sysdump.c: Likewise.
474 * sysinfo.y: Likewise.
475 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
476 of strcpy.
477 * Makefile.in: Regenerate.
478
479 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
480
481 * objcopy.c (parse_flags): Replace SEC_SHARED with
482 SEC_COFF_SHARED.
483
484 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
485 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
486 SEC_COFF_SHARED for COFF only.
487
488 2005-02-21 Alan Modra <amodra@bigpond.net.au>
489
490 * Makefile.am: Run "make dep-am"
491 * Makefile.in: Regenerate.
492 * doc/Makefile.in: Regenerate.
493
494 2005-02-21 Alan Modra <amodra@bigpond.net.au>
495
496 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
497 (byte_get_little_endian): Don't handle size of -8.
498 (byte_get_signed, byte_get_big_endian): Likewise.
499 (print_dec_vma, print_hex_vma): New functions.
500 (print_vma): Use them. Return chars output.
501 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
502 (process_symbol_table): Handle alpha and s390 .hash.
503
504 2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
505
506 * readelf.c (display_debug_loc): Print out offset for end of
507 list.
508
509 2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
510
511 * Makefile.am (TOOL_PROGS): Add objdump.
512 * Makefile.in: Regenerate.
513
514 2005-02-17 Alan Modra <amodra@bigpond.net.au>
515
516 * deflex.l (YY_NO_UNPUT): Define.
517 * rclex.l (YY_NO_UNPUT): Define.
518 * rcparse.y (null_unichar): New static var.
519 (res_null_text): Use it rather than attempting to init from wchar_t.
520 * windres.c: Include assert.h and time.h before getopt.h.
521 Include config.h and unistd.h too.
522
523 2005-02-15 Nick Clifton <nickc@redhat.com>
524
525 * nlmconv.c: Provide a full prototype for the localtime() function
526 in order to avoid a compile time warning.
527
528 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
529
530 * readelf.c (group_count): Don't initialize it.
531 (process_section_groups): Reurn 1 if we won't do unwind nor
532 section groups. Set group_count to 0 before counting group
533 sections and return 1 if there are no group sections. Reread
534 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
535 section 0.
536 (process_object): Only set do_unwind to 0 if
537 process_section_groups return 0.
538
539 2005-02-10 Ian Lance Taylor <ian@airs.com>
540
541 * MAINTAINERS: Update my e-mail address.
542
543 2005-02-10 Mark Mitchell <mark@codesourcery.com>
544
545 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
546 maintainers.
547
548 2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
549
550 * MAINTAINERS: Add self as maintainer of MAXQ.
551
552 2005-01-31 Richard Sandiford <rsandifo@redhat.com>
553
554 * readelf.c (eh_addr_size): New variable.
555 (find_section): Move earlier in file. Return empty sections too.
556 (process_program_headers): Use find_section to find .dynamic.
557 (process_section_headers): Initialize eh_addr_size.
558 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
559 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
560 (display_debug_frames): Use it instead of local addr_size variable.
561 (size_of_encoded_value): Get pointer size from eh_addr_size rather
562 than is_32bit_elf.
563
564 2005-01-31 Andrew Cagney <cagney@gnu.org>
565
566 * configure: Regenerate to track ../gettext.m4.
567
568 2005-01-31 Nick Clifton <nickc@redhat.com>
569
570 * version.c (print_version): Bump the copyright date to 2005.
571
572 2005-01-25 Alan Modra <amodra@bigpond.net.au>
573
574 * nm.c (display_rel_file): Read dynamic syms before calling
575 bfd_get_synthetic_symtab.
576
577 2005-01-21 Ben Elliston <bje@au.ibm.com>
578
579 * dlltool.c (dump_iat): Remove unused function.
580 (gen_exp_file): Remove #if 0'd code.
581 (make_one_lib_file): Likewise.
582 * srconv.c: Remove #if 0'd code throughout.
583 * size.c (lprint_number): Remove.
584 (print_berkeley_format): Remove #if 0'd code.
585 * ar.c (do_quick_append): Remove declaration and definiton.
586 (main): Remove #if 0'd code.
587 * filemode.c (filemodestring): Remove #if 0'd function.
588 * sysdump.c (unit_info_list): Remove function.
589 (object_body_list): Likewise.
590 (program_structure): Likewise.
591 (debug_list): Likewise.
592 (module): Remove #if 0'd code.
593
594 2005-01-20 Mark Mitchell <mark@codesourcery.com>
595
596 * BRANCHES: Add binutils-2_15-branch.
597
598 * MAINTAINERS: Document branch policy.
599 * BRANCHES: New file.
600
601 2005-01-19 Fred Fish <fnf@specifixinc.com>
602
603 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
604 * doc/binutils.texi (objdump): Document the "no-aliases"
605 disassembly option.
606
607 2005-01-17 Eugene Kotlyarov <ekot@narod.ru>
608
609 PR binutils/647
610 * rcparse.y (RCDATA): Allow a filename to be supplied as the
611 parameter. Parse it with define_rcdata_file().
612 * resrc.c (define_rcdata_file): New function.
613 * windres.h: Provide a prototype for the new function.
614
615 * resrc.c (define_user_file): Fix typo by replacing "font file"
616 with "file".
617
618 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
619
620 * MAINTAINERS: Update my email address.
621
622 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
623
624 * dlltool.c (set_dll_name_from_def): New function. Strip name
625 to basename, with warning.
626 (def_name): Use it.
627 (def_library): Likwise.
628 (main): Strip arg of --dllname to basename, with warning.
629 Only use basename of exp_name when inferring dll_name.
630
631 2005-01-11 Nick Clifton <nickc@redhat.com>
632
633 PR binutils/637
634 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
635 footnote in order to prevent the sed script in the Makefile from
636 converting it into c++filt.
637
638 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
639
640 BZ 635
641 readelf.c (saved_base_address): Removed.
642 (decode_64bit_range): Likewise.
643 (decode_range): Likewise.
644 (display_64bit_debug_ranges): Likewise.
645 (debug_info): Add range_lists, num_range_lists and
646 max_range_lists.
647 (read_and_display_attr_value): Handle do_debug_ranges.
648 (process_debug_info): Likewise.
649 (display_debug_ranges): Rewrite.
650 (process_object): Free range_lists.
651
652 2005-01-10 Andreas Schwab <schwab@suse.de>
653
654 * configure.in: Don't define SKIP_ZEROES.
655 * configure: Regenerate.
656 * objdump.c (disassemble_data): Set skip_zeroes and
657 skip_zeroes_at_end in disasm_info to defaults.
658 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
659 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
660 always define.
661 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
662 objdump_disasm_info.
663
664 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
665
666 * readelf.c (display_debug_loc): Display base address
667 specifiers. Always output <End of list>.
668
669 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
670
671 * readelf.c (have_frame_base): New.
672 (need_base_address): Likewise.
673 (saved_base_address): Likewise.
674 (decode_location_expression): Return 1 if DW_AT_frame_base is
675 needed.
676 (debug_info): Add base_address and a have_frame_base pointer.
677 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
678 saved_base_address. Record base address. Set have_frame_base.
679 Record if a location list has DW_AT_frame_base. Display if a
680 location expression has no DW_AT_frame_base but needs one. Set
681 saved_base_address only if needed.
682 (process_debug_info): Clear have_frame_base, saved_base_address
683 and set need_base_address.
684 (display_debug_loc): Display if a location expression has no
685 DW_AT_frame_base but needs one. Display if start >= end. Don't
686 adjust for section address. Properly handle base address.
687 (process_object): Free the have_frame_base pointer in
688 debug_info.
689
690 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
691
692 * readelf.c (display_debug_loc): Display offsets for hole and
693 overlap.
694 (display_debug_str): Add a newline at the end.
695
696 2005-01-04 Armin Diehl <diehl@nordrhein.de>
697
698 PR binutils/630
699 * nlmconv.c (main): Only store the basename of the output filename
700 in the module table.
701
702 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
703
704 BZ 615
705 * readelf.c (process_debug_info): New.
706 (debug_info): Add num_loc_offsets, loc_offsets and
707 last_loc_offset_p.
708 (get_debug_info): Use process_debug_info.
709 (display_debug_loc): Properly handle location list. Warn if bad
710 location lists are encoutnered.
711 (read_and_process_attr_value): New.
712 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
713 (display_debug_info): Use process_debug_info.
714 (process_object): Also free loc_offsets in debug_information.
715
716 2004-12-31 Alan Modra <amodra@bigpond.net.au>
717
718 * objdump.c (remove_useless_symbols): Discard section symbols.
719
720 2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
721
722 * readelf.c (read_leb128): Support 64bit host.
723
724 2004-12-23 Nick Clifton <nickc@redhat.com>
725
726 PR binutils/616
727 * readelf.c (debug_info): Add 'cu_offset' field.
728 (get+pointer_size_of_comp_unit): Rename to
729 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
730 the offset of the comp_unit if requested.
731 (get_debug_info): Record comp_unit offsets as well.
732 (display_debug_lines): Call get_pointer_size_of_comp_unit.
733 (decode_location_expression): Add an extra parameter - the offset
734 of the current comp-unit. Use this when decoding the DW_OP_call2
735 and DW_OP_call4 operators.
736 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
737 comp_unit offset on the decode_location_expression.
738 (read_and_display_attr_value): Pass the comp_unit offset on the
739 decode_location_expression.
740 (display_debug_frames): Pass 0 as the comp_unit offset to
741 decode_location_expression.
742
743 2004-12-22 Nick Clifton <nickc@redhat.com>
744
745 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
746 New variables associated with obtaining the pointer size for a
747 comp_unit.
748 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
749 of the section requesting the pointer size. Use this name in
750 error messages. If there are not enough comp_units available
751 produce a warning message, but return the last known pointer size
752 so that section dumping can continue.
753 (get_debug_info): Reset the new variables.
754 (display_debug_lines): Add extra parameter to invocation of
755 get_pointer_size_of_comp_unit and remove error message when it
756 returns 0.
757 (display_debug_loc): Likewise.
758
759 2004-12-15 Jan Beulich <jbeulich@novell.com>
760
761 * doc/binutils.texi: Document --strip-unneeded-symbol and
762 --strip-unneeded-symbols.
763 * objcopy.c (strip_unneeded_list): New.
764 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
765 and OPTION_STRIP_UNNEEDED_SYMBOLS.
766 (copy_options): Add --strip-unneeded-symbol and
767 --strip-unneeded-symbols.
768 (copy_usage): Likewise.
769 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
770 and the symbol is not needed.
771 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
772 OPTION_STRIP_UNNEEDED_SYMBOLS.
773
774 2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
775
776 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
777
778 2004-12-08 Ben Elliston <bje@au.ibm.com>
779
780 * arlex.l: Fix formatting.
781
782 2004-12-08 Ben Elliston <bje@au.ibm.com>
783
784 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
785 config.texi whose value is the current month and year.
786 * doc/Makefile.in: Rebuild.
787 * doc/binutils.texi: Set the document subtitle to be the value of
788 the Texinfo UPDATED variable (obtained from config.texi).
789
790 2004-12-07 Ben Elliston <bje@au.ibm.com>
791
792 PR binutils/249
793 * doc/binutils.texi (def file format): New node.
794 (dlltool): Use the tool name as the @chapter name, like all the
795 other binutils. Use @file{.def} throughout for consistency.
796
797 2004-12-06 Ben Elliston <bje@au.ibm.com>
798
799 * dlltool.c: Comment fix.
800
801 2004-12-06 Ben Elliston <bje@au.ibm.com>
802
803 * doc/binutils.texi: Update copyright years.
804
805 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
806
807 * MAINTAINERS: Remove mention of config.if.
808
809 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
810
811 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
812 * Makefile.in: Regenerate.
813
814 2004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
815
816 PR binutils/536
817 * stabs.c (stab_demangle_template): Call stab_demangle_count
818 rather than stab_demangle_get_count to get the length of a pointer
819 target.
820
821 2004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
822
823 * defparse.y: Remove unnecessary commas from token list.
824
825 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
826
827 * doc/binutils.texi (nm): Update description of weak symbols.
828
829 2004-11-03 Nick Clifton <nickc@redhat.com>
830
831 * readelf.c (do_debug_ranges): New variable.
832 (usage): Document new switch: -wR or --debug-dump=Ranges.
833 (parse_args): Handle new switch. Replace switch statement for the
834 long options with a more compact table structure.
835 (process_section_headers): Allow the dumping of .debug_ranges
836 sections if so requested.
837 (debug_displays): Likewise.
838 (load_debug_range): New function: Grabs the contents of a
839 .debug_ranges section.
840 (free_debug_range): New function: Releases the grabbed
841 .debug_ranges section.
842 (decode_64bit_range): New function: Displays a 64-bit range in a
843 .debug_ranges section.
844 (decode_range): New function: Displays a 32-bit range in a
845 .debug_ranges section.
846 (read_and_display_attr_value): Record the value of DW_AT_low_pc
847 attributes. Use decode_ranges() to display a DW_AT_ranges
848 attribute.
849 (display_debug_info): Use load_debug_range() and
850 free_debug_range().
851 (display_64bit_debug_ranges): New function. Displays the contents
852 of a 64-bit format .debug_ranges section.
853 (display_debug_ranges): New function: Displays the contents of a
854 32-bit .debug_ranges section.
855
856 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
857 global scope.
858 (process_object): Initialise the dump_sects array from the
859 cmdline_dump_sects array before processing each object file.
860
861 (streq, strneq): New macros. Use them to replace occurrences of
862 strcmp() and strncmp().
863
864 (debug_information): New structure array to replace
865 debug_line_pointer_sizes array.
866 (num_debug_info_entries): New variable to replace
867 num_debug_line_pointers.
868 (get_pointer_size_of_comp_unit): New function: Returns the pointer
869 size of a given compilation unit.
870 (get_debug_info): New function to replace
871 get_debug_line_pointer_sizes.
872 (display_debug_lines): Use the new functions.
873 (display_debug_loc): Likewise.
874
875 (disassemble_section): Change return type to int.
876 (display_debug_lines): Move local variables to their
877 innermost scope.
878 (display_debug_section): Likewise. Also record the return value
879 of functions called and pass this back to the parent. Also only
880 warn about undumped sections when the user explicitly requested
881 their dumping.
882
883 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
884 types as well.
885
886 * NEWS: Mention the support for decoding .debug_ranges sections.
887 * doc/binutils.texi: Document the new command line switch to
888 readelf.
889
890 2004-11-03 Randolph Chung <tausq@debian.org>
891
892 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
893 unw_aux_info and unw_table_entry.
894 (find_symbol_for_address): Pass symtab and strtab info explicitly.
895 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
896 prefix.
897 (slurp_ia64_unwind_table): Likewise.
898 (ia64_process_unwind): Rename from old process_unwind.
899 (hppa_unw_aux_info): New.
900 (dump_hppa_unwind): New.
901 (slurp_hppa_unwind_table): New.
902 (hppa_process_unwind): New.
903 (process_unwind): Factor out common unwinding checks; dispatch to
904 unwind handler based on machine type.
905
906 2004-11-02 Nick Clifton <nickc@redhat.com>
907
908 * readelf.c (display_debug_lines): Fix typo in error message.
909
910 2004-10-26 Mark Mitchell <mark@codesourcery.com>
911
912 * readelf.c (get_note_type): Handle notes not in core files.
913 (process_note_sections): New function.
914 (process_corefile_contents): Rename to ...
915 (process_notes): ... this.
916 (process_object): Call process_notes, not
917 process_corefile_contents.
918 * doc/binutils.texi: Update readelf -n documentation.
919
920 2004-10-26 Jakub Jelinek <jakub@redhat.com>
921
922 * ar.c (extract_file): Set atime to mtime for ar xo.
923
924 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
925
926 * stabs.c (stab_demangle_v3_arglist): New static function, broken
927 out of stab_demangle_v3_argtypes.
928 (stab_demangle_v3_argtypes): Call it.
929 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
930 If we find an unrecognized component, print out its number.
931
932 2004-10-25 David Mosberger <davidm@hpl.hp.com>
933
934 * readelf.c (slurp_ia64_unwind_table): Support relocations against
935 non-section symbols by adding in the symbol value.
936
937 2004-10-25 Nick Clifton <nickc@redhat.com>
938
939 PR 465
940 * readelf.c (dynamic_strings_length): New global variable.
941 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
942 strings in the dynamic string table.
943 (process_section_headers): Initialise dynamic_strings_length.
944 (process_dynamic_section): Likewise.
945 (process_object): Reset dynamic_string_length when the buffer is freed.
946 (dynamic_sections_mips_val): Use the new macros.
947 (process_dynamic_section): Likewise.
948 (process_version_sections): Likewise.
949 (process_symbol_table): Likewise.
950 (process_syminfo): Likewise.
951 (process_mips_specific): Likewise.
952 (dump_relocations): Add a new parameter 'strtablen' and use this
953 to verify that string offset in a given reloc is valid. Print a
954 suitable error message otherwise.
955 (process_relocs): Pass the new argument to dump_relocations.
956
957 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
958
959 * dlltool.c: Include <assert.h>.
960 (PREFIX_ALIAS_BASE): Define.
961 (struct export): Add member import_name;
962 (def_exports): Set import_name.
963 (make_one_lib_file): Remove prefix alias code, use import_name
964 in .idata$6.
965 (gen_lib_file): Create and delete aliases.
966
967 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
968
969 * readelf.c (process_section_groups): Free symtab after use.
970
971 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
972 Nick Clifton <nickc@redhat.com>
973
974 * strings.c (usage): Place radix values for -t option into the
975 correct order.
976
977 * objcopy.c (add_redefine_syms_file): Change error messages to use
978 <filename>:<linenumber>: format for easier parsing by automatic
979 tools.
980
981 * srconv.c (show_usage): Fix spelling typo.
982
983 * windres.c (format_from_filename): Suggest the use of -J instead
984 of -I if the file type cannot be determined.
985
986 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
987
988 * strings.c: Include <sys/stat.h>.
989
990 2004-10-18 Alan Modra <amodra@bigpond.net.au>
991
992 * budemang.c (demangle): Fix thinko.
993
994 * budemang.c (demangle): Handle "@plt" suffix.
995
996 2004-10-14 Nick Clifton <nickc@redhat.com>
997
998 * nm.c (usage): Fix description of --special-syms switch.
999
1000 2004-10-13 Jakub Jelinek <jakub@redhat.com>
1001
1002 * strings.c (statbuf): New typedef.
1003 (file_stat): Define.
1004 (strings_object_file): Avoid using get_file_size, instead do the
1005 checks here, using file_stat.
1006 * configure.in (HAVE_STAT64): New test.
1007 * configure: Rebuilt.
1008 * config.in: Rebuilt.
1009
1010 2004-10-12 Paul Brook <paul@codesourcery.com>
1011
1012 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
1013
1014 2004-10-11 Alan Modra <amodra@bigpond.net.au>
1015
1016 * objdump.c (dump_symbols): Fix thinko last change. Improve error
1017 messages.
1018
1019 2004-10-08 Nick Clifton <nickc@redhat.com>
1020
1021 * nm.c: Add a new switch --special-syms which, if enabled, will
1022 include the ARM Mapping symbols in nm's output.
1023 (usage): Mention the switch.
1024 (filter_symbols): Handle the switch.
1025 * objdump.c: Add a similar switch.
1026 (usage): Mention the switch.
1027 (dump_symbols): Handle the switch.
1028 * doc/binutils.texi: Document the new switches.
1029 * NEWS: Mention the new switches.
1030
1031 2004-10-08 Daniel Jacobowitz <dan@debian.org>
1032
1033 * readelf.c (get_x86_64_section_type_name): New function.
1034 (get_section_type_name): Use it.
1035
1036 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1037
1038 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
1039 patches.
1040 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
1041
1042 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
1043
1044 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
1045 types.
1046
1047 2004-10-01 Paul Brook <paul@codesourcery.com>
1048
1049 * readelf.c (get_arm_section_type_name): New function.
1050 (get_section_type_name): Use it.
1051
1052 2004-09-28 Nick Clifton <nickc@redhat.com>
1053
1054 * nm.c: Reorder functions to eliminate most of the static function
1055 prototypes.
1056
1057 2004-09-22 Alan Modra <amodra@bigpond.net.au>
1058
1059 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
1060 segments.
1061
1062 2004-09-17 Alan Modra <amodra@bigpond.net.au>
1063
1064 * Makefile.am: Run "make dep-am".
1065 * Makefile.in: Regenerate.
1066 * config.in: Regenerate.
1067 * configure: Regenerate.
1068 * doc/Makefile.in: Regenerate.
1069 * po/binutils.pot: Regenerate.
1070
1071 2004-09-12 Alan Modra <amodra@bigpond.net.au>
1072
1073 * readelf.c (decode_location_expression): Sign extend value for
1074 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
1075
1076 2004-09-09 Nick Clifton <nickc@redhat.com>
1077
1078 PR 363
1079 * ar.c (replace_members): Do not use get_file_size as
1080 ar_emul_append correctly handles missing files.
1081
1082 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * configure: Regenerated with autconfig 2.13.
1085
1086 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1087
1088 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
1089 documentation.
1090
1091 2004-09-06 Michael Wardle <mbw@endbracket.net>
1092
1093 * doc/binutils.texi (objdump): Document that the -x switch includes
1094 the effect of the -p switch.
1095
1096 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
1097
1098 * dlltool.c (make_one_lib_file): Test if internal_name was
1099 specified by user before using it.
1100
1101 2004-09-02 Carlo Wood <carlo@alinoe.com>
1102
1103 PR binutils/351
1104 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
1105 exp->internal_name if it is present.
1106
1107 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
1108
1109 * MAINTAINERS: Add self as co-maintainer of FR-V.
1110 * readelf.c (get_machine_flags): Print FR-V cpu types.
1111
1112 2004-08-28 Alan Modra <amodra@bigpond.net.au>
1113
1114 * nm.c (show_synthetic): New var.
1115 (long_options): Add "synthetic".
1116 (usage): Here too.
1117 (display_rel_file): Handle show_synthetic.
1118
1119 2004-08-28 Alan Modra <amodra@bigpond.net.au>
1120
1121 * objdump.c (dump_bfd): Pass both symbol tables to
1122 bfd_get_synthetic_symtab.
1123
1124 2004-08-17 Jakub Jelinek <jakub@redhat.com>
1125
1126 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
1127 of dynsyms to bfd_get_synthetic_symtab.
1128
1129 2004-08-16 Alan Modra <amodra@bigpond.net.au>
1130
1131 * readelf.c (debug_apply_rela_addends): New function, extracted from..
1132 (display_debug_info): ..here.
1133 (display_debug_frames): Call debug_apply_rela_addends. Don't do
1134 DW_EH_PE_pcrel adjustment for ET_REL.
1135
1136 2004-08-06 Andreas Schwab <schwab@suse.de>
1137
1138 * readelf.c (dump_relocations): Fix typo when calculating
1139 sec_index.
1140
1141 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
1142
1143 * dllwrap.c (deduce_name): Fix typos introduced when program_name
1144 was renamed to prog_name.
1145
1146 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
1147
1148 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
1149 EF_SH2A_NOFPU.
1150
1151 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
1152
1153 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
1154 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
1155 EF_SH4A_NOFPU.
1156 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
1157 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
1158
1159 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
1162 to access comdat.
1163 * objdump.c (dump_section_header): Likewise.
1164
1165 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
1166
1167 * nlmconv.c (main): Pass map_file argument to link_inputs.
1168 (link_inputs): Use map_file argument if it is defined.
1169
1170 2004-07-13 Nick Clifton <nickc@redhat.com>
1171
1172 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
1173 conflicts with exported global defined in bucomm.h.
1174 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
1175 shadowing the global defined in bucomm.h.
1176
1177 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1178
1179 * dlltool.c (ext_prefix_alias): New global variable.
1180 (make_one_lib_file): Add aliases with prefixes for external
1181 and import definitions.
1182 (usage): Document -p option.
1183 (long_options): Add --ext-prefix-alias option.
1184 (main): Handle -p.
1185 * doc/binutils.texi: Document new switch.
1186 * NEWS: Mention new switch.
1187
1188 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1189
1190 * binutils/dlltool.c (asm_prefix): Add parameter: name.
1191 No underscore for symbols beginning with ?.
1192 (ASM_PREFIX): Add parameter: NAME.
1193 (gen_exp_file): Use new parameter.
1194 (make_label): Likewise.
1195 (make_imp_label): Likewise.
1196 (make_one_lib_file): Likewise.
1197
1198 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
1199
1200 * MAINTAINERS: Added myself to the list.
1201 * readelf.c: Include "elf/crx.h".
1202 (guess_is_rela): Handle EM_CRX.
1203 (get_machine_name): Likewise.
1204 (dump_relocations): Likewise.
1205
1206 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1207
1208 * doc/binutils.texi (nm): Clarify weak symbol description.
1209
1210 2004-06-24 Ben Elliston <bje@au.ibm.com>
1211
1212 * readelf.c (get_segment_type): Display "GNU_STACK", not just
1213 "STACK", when a PT_GNU_STACK segment is encountered.
1214
1215 2004-06-24 Alan Modra <amodra@bigpond.net.au>
1216
1217 * objcopy.c (copy_section): Don't set _cooked_size.
1218
1219 2004-06-22 Alan Modra <amodra@bigpond.net.au>
1220
1221 * readelf.c (Elf32_Word): Delete.
1222 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
1223 (get_64bit_dynamic_section): Likewise.
1224
1225 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
1226 (get_64bit_dynamic_section): Likewise.
1227
1228 * readelf.c (dynamic_nent): New variable.
1229 (get_32bit_dynamic_section): Set it.
1230 (get_64bit_dynamic_section): Here too.
1231 (process_dynamic_section): Use it instead of dynamic_size.
1232 (process_syminfo): Likewise.
1233
1234 * readelf.c (get_32bit_dynamic_section): Correct number of entries
1235 translated from external to internal form.
1236 (get_64bit_dynamic_section): Likewise.
1237
1238 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
1239
1240 * readelf.c (process_program_headers): When locating the dynamic
1241 section use the section table if it is present.
1242 (dynamic_segment): Renamed to dynamic_section.
1243 Replace references to dynamic segment with references to dynamic
1244 section, except where appropriate.
1245 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
1246 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
1247 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
1248 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
1249 Remove tag counting code as it is no longer needed.
1250 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
1251 Remove tag counting code as it is no longer needed.
1252 (process_dynamic_segment): Rename to process_dynamic_section.
1253
1254 2004-06-15 Alan Modra <amodra@bigpond.net.au>
1255
1256 * objcopy.c (copy_section): Use bfd_get_section_size instead of
1257 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
1258 (compare_section_lma): Likewise.
1259 * addr2line.c (find_address_in_section): Likewise.
1260 * coffgrok.c (do_sections_p1): Likewise.
1261 * dlltool.c (scan_drectve_symbols): Likewise.
1262 * nlmconv.c (main): Likewise.
1263 (copy_sections): Likewise.
1264 (powerpc_mangle_relocs): Likewise.
1265 * objdump.c (disassemble_section): Likewise.
1266 * prdbg.c (find_address_in_section): Likewise.
1267 * size.c (berkeley_sum): Likewise.
1268 * srconv.c (wr_ob): Likewise.
1269 * strings.c (strings_a_section): Likewise.
1270
1271 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
1272
1273 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
1274
1275 2004-05-17 David Heine <dlheine@tensilica.com>
1276
1277 * objcopy.c (setup_bfd_headers): New function.
1278 (copy_object): Call setup_bfd_headers.
1279
1280 2004-05-13 Paul Brook <paul@codesourcery.com>
1281
1282 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
1283 entries.
1284
1285 2004-05-13 Nick Clifton <nickc@redhat.com>
1286
1287 * po/fr.po: Updated French translation.
1288
1289 2004-05-11 Jakub Jelinek <jakub@redhat.com>
1290
1291 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
1292
1293 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 * readelf.c (section_groups): New.
1296 (group_count): New.
1297 (section_headers_groups): New.
1298 (process_section_groups): Populate group_count, section_groups
1299 and section_headers_groups.
1300 (process_unwind): Support section group.
1301 (process_object): Always call process_section_groups. Free
1302 section_groups and section_headers_groups.
1303
1304 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 * readelf.c (process_section_headers): Use %3lu on sh_info.
1307
1308 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
1309
1310 * ranlib.sh: Quote $1 argument in case it contains spaces.
1311
1312 2004-04-27 John Paul Wallington <jpw@gnu.org>
1313
1314 * objcopy.c (copy_usage, strip_usage): Fix spelling.
1315
1316 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * readelf.c (do_section_groups): New.
1319 (options): Add --section-groups/-g.
1320 (usage): Mention --section-groups/-g.
1321 (parse_args): Support --section-groups/-g.
1322 (get_group_flags): New.
1323 (process_section_groups): New.
1324 (process_object): Call process_section_groups.
1325
1326 2004-04-24 Alan Modra <amodra@bigpond.net.au>
1327
1328 * objdump.c (disassemble_section): Don't disassemble sections
1329 without SEC_HAS_CONTENTS.
1330
1331 2004-04-22 Jakub Jelinek <jakub@redhat.com>
1332
1333 * objdump.c (synthsyms, synthcount): New variables.
1334 (disassemble_data): Use dynsyms for stripped binaries or libraries.
1335 Add synthetized symbols.
1336 (dump_bfd): For disassemble, initialize dynsyms always and
1337 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
1338 before returning.
1339
1340 2004-04-14 Alan Modra <amodra@bigpond.net.au>
1341
1342 * strings.c (print_strings): Cast file_off to unsigned long in
1343 printf arg list.
1344
1345 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
1346
1347 PR 86
1348 * arsup.c (ar_save): Use smart_rename.
1349
1350 2004-04-01 Dean Luick <luick@cray.com>
1351
1352 * readelf.c (display_debug_pubnames): Align offset and data
1353 columns.
1354 (read_and_display_attr_value): Add missing break;
1355 (debug_displays): Enable the display of the .debug_pubtypes
1356 section.
1357
1358 2004-03-30 Stan Shebs <shebs@apple.com>
1359
1360 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
1361 support files, no longer used.
1362
1363 2004-03-23 Paul Brook <paul@codesourcery.com>
1364
1365 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
1366
1367 2004-03-21 Richard Henderson <rth@redhat.com>
1368
1369 * readelf.c (display_debug_frames): Don't crash for mismatched
1370 DW_CFA_restore_state.
1371
1372 2004-03-19 Alan Modra <amodra@bigpond.net.au>
1373
1374 * Makefile.am: Run "make dep-am".
1375 * Makefile.in: Regenerate.
1376 * aclocal.m4: Regenerate.
1377 * config.in: Regenerate.
1378 * configure: Regenerate.
1379 * po/binutils.pot: Regenerate.
1380
1381 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
1382
1383 * objdump.c (struct SFILE): Replace current pointer with pos
1384 offset, rename size to alloc.
1385 (objdump_sprintf): Avoid unnecessary copies in the common case
1386 (disassemble_bytes): Keep sfile live throughout the
1387 function. Adjust usage appropriately.
1388
1389 2004-03-10 Ben Elliston <bje@gnu.org>
1390
1391 * MAINTAINERS: Update my mail address.
1392
1393 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1394
1395 * deflex.l: Handle "PRIVATE" string.
1396 * defparse.y (%token): Add PRIVATE.
1397 (%type): Add opt_PRIVATE.
1398 (expline): Pass opt_PRIVATE to def_exports.
1399 (opt_PRIVATE): Handle PRIVATE token.
1400 * dlltool.h (def_exports): Add 7th param for private flag to
1401 declaration.
1402 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1403 (struct export): Add 'private' field.
1404 (def_exports): Set 'private' field of struct exports.
1405 (scan_drectve_symbols): Adjust calls to def_exports.
1406 (scan_filtered_symbols): Likewise.
1407 (dump_def_info): Print 'private' field.
1408 (gen_def_file): Likewise.
1409 (gen_lib_file): Skip generation of lib object if private.
1410 Delete tmp object files in same order as they were generated.
1411 Don't delete non-existent private object files.
1412
1413 2004-02-27 Andreas Schwab <schwab@suse.de>
1414
1415 * ar.c (main): Support POSIX-compatible argument parsing.
1416
1417 2004-02-23 Daniel Lucq <daniel@lucq.org>
1418
1419 * readelf.c (process_mips_specific): Print conflictsno as an
1420 unsigned long.
1421
1422 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1423
1424 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1425
1426 2004-02-19 Jakub Jelinek <jakub@redhat.com>
1427
1428 * objcopy.c (copy_section): Avoid warnings.
1429
1430 2004-02-14 Andrew Cagney <cagney@redhat.com>
1431
1432 * ar.c (remove_output): Use bfd_cache_close.
1433 * arsup.c (ar_end): Ditto.
1434
1435 2004-01-21 Roland McGrath <roland@redhat.com>
1436
1437 * readelf.c (get_note_type): Match NT_AUXV.
1438
1439 2004-01-20 Nick Clifton <nickc@redhat.com>
1440
1441 * version.c (print_version): Update copyright year to 2004.
1442
1443 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1444
1445 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1446 throughout.
1447 * aclocal.m4: Regenerate.
1448 * configure: Regenerate.
1449
1450 2004-01-12 Jakub Jelinek <jakub@redhat.com>
1451
1452 * objcopy.c: Include elf-bfd.h.
1453 (is_strip_section): Don't strip debugging sections if
1454 STRIP_NONDEBUG.
1455 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
1456 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
1457
1458 * objcopy.c (copy_section): Free relpp if relcount == 0.
1459
1460 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1461
1462 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
1463 (stab_demangle_argtypes): Likewise.
1464 (stab_demangle_v3_argtypes): New static function.
1465 (stab_demangle_v3_arg): New static function.
1466
1467 2004-01-12 Nick Clifton <nickc@redhat.com>
1468
1469 * objcopy.c (copy_object): Make the function boolean, returning
1470 FALSE upon failure.
1471 (copy_archive): Handle the return value from copy_object.
1472 (copy_file): Likewise.
1473
1474 2004-01-07 Nick Clifton <nickc@redhat.com>
1475
1476 * readelf.c (find_section): New function. Locates a named
1477 section.
1478 (get_debug_line_pointer_sizes): New function: Initialises the
1479 debug_line_pointer_sizes array.
1480 (display_debug_lines): Call get_debug_line_pointer_sizes.
1481 (display_debug_loc): Likewise.
1482 (load_debug_loc): Use find_section.
1483 (load_debug_str): Likewise.
1484 (display_debug_info): Likewise.
1485 (prescan_debug_info): Delete.
1486 (debug_displays): Remove prescan field.
1487 (process_section_contents): Do not perform prescans.
1488
1489 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1490
1491 * objcopy.c (filter_bytes): Delete. Move code to..
1492 (copy_section): ..here. Simplify size adjustment. Divide
1493 section lma by interleave.
1494
1495 2004-01-02 Nick Clifton <nickc@redhat.com>
1496
1497 * po/ru.po: New file: Russian translation.
1498 * configure.in (ALL_LINGUAS): Add ru
1499 * configure: Regenerate.
1500
1501 For older changes see ChangeLog-0203
1502 \f
1503 Local Variables:
1504 mode: change-log
1505 left-margin: 8
1506 fill-column: 74
1507 version-control: never
1508 End:
This page took 0.060513 seconds and 5 git commands to generate.