* addr2line.c (usage): Document @file.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
07012eee
MM
12005-10-03 Mark Mitchell <mark@codesourcery.com>
2
3 * addr2line.c (usage): Document @file.
4 * ar.c (usage): Likewise.
5 * coffdump (usage): Likewise.
6 * cxxfilt.c (usage): Likewise.
7 * dlltool.c (usage): Likewise.
8 * dllwrap.c (usage): Likewise.
9 * nlmconv.c (usage): Likewise.
10 * nm.c (usage): Likewise.
11 * objcopy.c (usage): Likewise.
12 * objdump.c (usage): Likewise.
13 * readelf.c (usage): Likewise.
14 * size.c (usage): Likeise.
15 * srconv.c (usage): Likewise.
16 * strings.c (usage): Likewise.
17 * windres.c (usage): Likewise.
18 * doc/binutils.texi: Add section on common options.
19
4de2ad99
L
202005-10-03 H.J. Lu <hongjiu.lu@intel.com>
21
22 * NEWS: Mention -W/--dwarf.
23
24 * doc/binutils.texi: Document -W/--dwarf for objdump.
25
11c1ff18
PB
262005-10-01 Paul Brook <paul@codesourcery.com>
27
28 * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
29 arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
30 arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
31 arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
32 arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
33 arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
34 arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
35 arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
36 arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
37 arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
38 arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
39 arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
40 arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
41 (display_arm_attribute, process_arm_specific): New functions.
42 (process_arch_specific): Add EM_ARM.
43
c843b1bb
MM
442005-09-30 Mark Mitchell <mark@codesourcery.com>
45
46 * dlltool.c (main): Fix typo.
47 * windres.c (main): Likewise.
48
d34e7dd6
L
492005-09-30 H.J. Lu <hongjiu.lu@intel.com>
50
51 * Makefile.in: Regenerated.
52
861e97e2
L
532005-09-30 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysinfo.y (main): Undo last change.
56
869b9d07
MM
572005-08-30 Mark Mitchell <mark@codesourcery.com>
58
861e97e2 59 * addr2line.c (main): Use expandargv.
869b9d07
MM
60 * ar.c (main): Likewise.
61 * coffdump.c (main): Likewise.
62 * cxxfilt.c (main): Likewise.
63 * dlltool.c (main): Likewise.
64 * dllwrap.c (main): Likewise.
65 * nlmconv.c (main): Likewise.
66 * nm.c (main): Likewise.
67 * objcopy.c (main): Likewise.
68 * objdump.c (main): Likewise.
69 * readelf.c (main): Likewise.
70 * size.c (main): Likeiwse.
71 * srcconv.c (main): Likewise.
72 * strings.c (main): Likewise.
73 * sysdump.c (main): Likewise.
861e97e2 74 * sysinfo.y (main): Likewise.
869b9d07
MM
75 * windres.c (main): Likewise.
76
58654fd8
L
772005-09-30 H.J. Lu <hongjiu.lu@intel.com>
78
79 * Makefile.am: Run "make dep-am".
80 * Makefile.in: Regenerated.
81 * aclocal.m4: Likewise.
82
1d65ded4
CM
832005-09-30 Catherine Moore <clm@cm00re.com>
84
85 * Makefile.am: Bfin support.
86 * Makefile.in: Regenerated.
87 * aclocal.m4: Regenerated.
88 * readelf.c (elf/bfin.h): Include.
89 (guess_is_rela): EM_BLACKFIN support.
90 (dump_relocations): Likewise.
91
bfe2612a
L
922005-09-30 H.J. Lu <hongjiu.lu@intel.com>
93
94 * dwarf.c (fetch_indirect_string): Adjust for section address.
95 (process_debug_info): Likewise.
96 (display_debug_loc): Likewise.
97 (display_debug_ranges): Likewise.
98
99 * objdump.c (mach_o_dwarf_sections): New.
100 (generic_dwarf_sections): Likewise.
101 (check_mach_o_dwarf): Likewise.
102 (dump_dwarf): Call check_mach_o_dwarf.
103
365544c3
L
1042005-09-30 H.J. Lu <hongjiu.lu@intel.com>
105
106 * Makefile.am (objdump_SOURCES): Add dwarf.c.
107 * Makefile.in: Regenerated.
108
109 * objdump.c: Include "dwarf.h".
110 (usage): Add -W/--dwarf.
111 (long_options): Likewise.
112 (dump_dwarf_section_info): New.
113 (load_debug_section): Likewise.
114 (free_debug_section): Likewise.
115 (dump_dwarf_section): Likewise.
116 (dump_dwarf): Likewise.
117 (dump_bfd): Load symbol table and call dump_dwarf if
118 dump_dwarf_section_info isn't zero.
119 (main): Handle -W/--dwarf.
120
1007acb3
L
1212005-09-30 H.J. Lu <hongjiu.lu@intel.com>
122
123 * readelf.c: Reordered.
124 (is_relocatable): New.
125 (dwarf_section): New structure for DWARF section.
126 (load_debug_section): New.
127 (free_debug_section): Likewise.
128 (debug_str_section): Likewise.
129 (debug_abbrev_section): Likewise.
130 (debug_str_contents): Removed.
131 (debug_str_size): Likewise.
132 (debug_loc_contents): Likewise.
133 (debug_loc_size): Likewise.
134 (debug_range_contents): Likewise.
135 (debug_range_size): Likewise.
136 (load_debug_str): Likewise.
137 (free_debug_str): Likewise.
138 (load_debug_loc): Likewise.
139 (free_debug_loc): Likewise.
140 (load_debug_arange): Likewise.
141 (free_debug_arange): Likewise.
142 (load_debug_abbrev): Likewise.
143 (free_debug_abbrev): Likewise.
144 (fetch_indirect_string): Updated.
145 (debug_apply_rela_addends): Likewise.
146 (process_debug_info): Likewise.
147 (get_debug_info): Likewise.
148 (display_debug_lines): Likewise.
149 (display_debug_pubnames): Likewise.
150 (display_debug_macinfo): Likewise.
151 (display_debug_abbrev): Likewise.
152 (display_debug_loc): Likewise.
153 (display_debug_str): Likewise.
154 (display_debug_info): Likewise.
155 (display_debug_aranges): Likewise.
156 (display_debug_ranges): Likewise.
157 (display_debug_frames): Likewise.
158 (display_debug_not_supported): Likewise.
159 (debug_displays): Likewise.
160 (display_debug_section): Likewise.
161 (get_file_header): Set is_relocatable.
162
700dd8b7
L
1632005-09-30 H.J. Lu <hongjiu.lu@intel.com>
164
165 * readelf.c (debug_apply_rela_addends): Relocate the whole
166 section.
167 (process_debug_info): Don't call debug_apply_rela_addends.
168 (display_debug_frames): Likewise.
169 (get_debug_info): Call debug_apply_rela_addends.
170 (debug_displays): Add the "relocate" field.
171 (display_debug_section): Call debug_apply_rela_addends if
172 needed.
173
a70c2403
NC
1742005-09-30 Matthias Kurz <mk@baerlap.north.de>
175
176 * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris
177 version of <locale.h> when ENABLE_NLS is not defined.
178
938ae749
MM
1792005-09-26 Mark Mitchell <mark@codesourcery.com>
180
181 * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
182
ec9ec0f9
RH
1832005-09-20 Richard Henderson <rth@redhat.com>
184
185 * readelf.c (display_debug_lines): Use unsigned long for address
186 increments. Use 0x prefix for all hex numbers.
187
ec1c4759
RE
1882005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
189
190 * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
191 SHT_ARM_ATTRIBUTES.
192
8d5ff12c
L
1932005-09-07 H.J. Lu <hongjiu.lu@intel.com>
194
195 * readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
196
a841cf65
L
1972005-09-02 H.J. Lu <hongjiu.lu@intel.com>
198
199 * readelf.c (debug_abbrev_contents): New.
200 (debug_abbrev_size): Likewise.
201 (load_debug_abbrev): Likewise.
202 (free_debug_abbrev): Likewise.
203 (process_debug_info): Use them.
204
bc79cded
L
2052005-08-17 H.J. Lu <hongjiu.lu@intel.com>
206
207 PR binutils/1179
208 * objdump.c (disassemble_bytes): Don't adjust
209 adjust_section_vma.
210 (adjust_addresses): Don't adjust vma for debugging section.
211 Adjust lma only for relocatable files.
212 (dump_bfd): Tell adjust_addresses if it is a relocatable file.
213
3e321448
L
2142005-08-16 H.J. Lu <hongjiu.lu@intel.com>
215
216 * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
217
218 * configure.in (AC_GNU_SOURCE): Added.
219 (AC_CHECK_DECLS): Add stpcpy.
220 * configure: Regenerated.
221 * config.in: Likewise.
222
09ff3500
JJ
2232005-08-16 Jakub Jelinek <jakub@redhat.com>
224
225 * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
226 UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
227 buffer sizes.
228
36ae0db3
DJ
2292005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
230
231 * doc/binutils.texi (objdump): Document -M e300.
232
1c0751b2
DA
2332005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
234
235 * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
236 Don't access table entries past the end of the table.
237
61472819
DA
2382005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
239
240 * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
241 (get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
242
5477e8a0
L
2432005-08-11 H.J. Lu <hongjiu.lu@intel.com>
244
245 * NEWS: Mention "-t/--section-details" and
246 "-N/--full-section-name".
247
248 * doc/binutils.texi: Document "-t/--section-details". Remove
249 "-N/--full-section-name".
250
251 * readelf.c (do_full_section_name): Renamed to ...
252 (do_section_details): This.
253 (option): Rename "-N/--full-section-name" to
254 "-t/--section-details".
255 (usage): Likewise.
256 (parse_args): Likewise.
257 (get_elf_section_flags): Support do_section_details.
258 (process_section_headers): Updated for do_section_details.
259
eec8f817
DA
2602005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
261
262 * readelf.c (get_parisc_dynamic_type): Add new dynamic types.
263 (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when
264 e_machine is EM_PARISC.
265 (get_parisc_segment_type): Add new segment types.
266 (get_parisc_section_type_name): Add new section names.
267 (dynamic_section_parisc_val): Add new table entries.
268
c6972290
NC
2692005-08-01 Filip Navara <navaraf@reactos.com>
270
271 * dlltool.c (alphafunc): Remove and replace usage with nfunc.
272 (nfunc): Fix sorting of fastcall symbols when --kill-at is used.
273
3b22753a
L
2742005-07-25 H.J. Lu <hongjiu.lu@intel.com>
275
276 * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
277 (get_symbol_index_type): Likewise.
278 (get_elf_section_flags): Handle SHF_X86_64_LARGE.
279
f1969386
EC
2802005-07-21 Eric Christopher <echristo@apple.com>
281
282 * MAINTAINERS: Change affiliation.
283
32204df4
BE
2842005-07-19 Ben Elliston <bje@au.ibm.com>
285
286 * readelf.c (read_and_display_attr_value): Remove comment adjacent
287 to DW_ATE_decimal_float about it being a GNU extension.
288
85da3a56
NC
2892005-07-18 Nick Clifton <nickc@redhat.com>
290
291 * binemul.c: Fix name of Red Hat.
292 * binemul.h: Likewise.
293 * emul_aix.c: Likewise.
294 * emul_vanilla: Likewise.
295
df45824a
BE
2962005-07-18 Ben Elliston <bje@au.ibm.com>
297
298 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
299 value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
300
0f82ff91
AM
3012005-07-16 Alan Modra <amodra@bigpond.net.au>
302
303 * Makefile.am: Run "make dep-am".
304 * Makefile.in: Regenerate.
305
ba2a7846
EC
3062005-07-15 Eric Christopher <echristo@redhat.com>
307
308 * MAINTAINERS: Change affiliation.
309
49f58d10
JB
3102005-07-14 Jim Blandy <jimb@redhat.com>
311
312 * readelf.c: #include "elf/m32c.h"
313 (guess_is_rela, dump_relocations, get_machine_name): Add cases for
314 EM_M32C.
315 * Makefile.am (readelf.o): Update dependencies.
316 * Makefile.in: Regenerated.
317
d52d45a4
BE
3182005-07-08 Ben Elliston <bje@au.ibm.com>
319
320 * bucomm.h: Include <stdarg.h> unconditionally, not only when
321 ANSI_PROTOTYPES is defined. Remove #ifdef logic.
322 * dlltool.c: Likewise.
323 * dllwrap.c: Likewise.
324
0fd3a477
JW
3252005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
326
327 * bucomm.h (report): Add format attribute.
328 * dlltool.c (inform): Likewise.
329 * dllwrap.c (display, inform, warn): Likewise.
330 * objdump.c (objdump_sprintf): Likewise.
331 * readelf.c (error, warn): Likewise. Fix format bugs.
332
06803313
NC
3332005-07-05 Dmitry V. Levin <ldv@altlinux.org>
334 Nick Clifton <nickc@redhat.com>
335
336 * strings.c (filename_and_size_t): New typedef.
337 (strings_a_section): Skip sections with size greater or equal to
338 the file size. Cache the file size to avoid repeated stat()s.
339 (strings_object_file): Pass filename_and_size_t argument to
340 strings_a_section() via bfd_map_over_sections().
341
551b43fd
AM
3422005-07-04 Alan Modra <amodra@bigpond.net.au>
343
344 PR 1004
345 * objcopy.c (copy_object): Use bfd_make_section_with_flags.
346 (write_debugging_info): Likewise.
347 (setup_section): Use bfd_make_section_anyway_with_flags.
348
398ee8f1
SE
3492005-07-01 Steve Ellcey <sje@cup.hp.com>
350
351 * configure.in (AM_BINUTILS_WARNINGS): Add.
352 (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
353 * configure: Regenerate.
354 * config.in: Regenerate.
355 * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
356 * bucomm.h: (NEED_DECLARATION_*): Ditto.
357
b753922c
BE
3582005-06-30 Ben Elliston <bje@gnu.org>
359
360 * Makefile.am (check-DEJAGNU): Don't search for expect.
361 * Makefile.in: Regenerate.
362
c3298874
BE
3632005-06-30 Ben Elliston <bje@gnu.org>
364
365 * Makefile.am (EXPECT): Set to expect.
366 (RUNTEST): Likewise, set to runtest.
367 * Makefile.in: Regenerate.
368
08d8fa11
JJ
3692005-06-17 Jakub Jelinek <jakub@redhat.com>
370
371 * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
372 (process_section_headers): Use it.
373 (process_relocs): Don't crash if symsec is not SHT_SYMTAB
374 or SHT_DYNSYM.
375 (process_version_sections): Use sizeof (Elf_External_Versym)
376 instead of sh_entsize.
377
cbee2975
NC
3782005-06-16 Nick Clifton <nickc@redhat.com>
379
380 * rename.c (simple_copy): Only define if it is going to be used.
381 (smart_rename): Mark the preserve_dates parameter as possibly
382 being unused.
383
384 * resres.c (write_res_data): Prevent a potential compile time
385 warning by casting the return value from fwrite.
386
77f762d6
L
3872005-06-14 H.J. Lu <hongjiu.lu@intel.com>
388
389 PR 995
390 * ar.c (BUFSIZE): Moved to ...
391 * bucomm.h (BUFSIZE): Here.
392
393 * bucomm.c: Include <assert.h>.
394 (bfd_get_archive_filename): New.
395 * bucomm.h (bfd_get_archive_filename): New.
396
397 * objcopy.c (copy_unknown_object): New.
398 (copy_object): Use bfd_get_archive_filename when reporting input
399 error. Don't call fatal on unknown arch.
400 (copy_archive): Call copy_unknown_object on unknown format or
401 arch.
402
c256ffe7
JJ
4032005-06-14 Jakub Jelinek <jakub@redhat.com>
404
405 * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
406 (get_data): Add nmemb argument. Return NULL if nmemb * size
407 overflows. If var == NULL, allocate one extra byte and
408 clear it.
409 (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
410 get_64bit_program_headers, get_program_headers,
411 get_32bit_section_headers, get_64bit_section_headers,
412 get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
413 process_section_groups, process_relocs, slurp_ia64_unwind_table,
414 ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
415 get_32bit_dynamic_section, get_64bit_dynamic_section,
416 process_dynamic_section, process_version_sections, get_dynamic_data,
417 process_symbol_table, dump_section, load_debug_str, load_debug_loc,
418 load_debug_range, read_and_display_attr_value, process_debug_info,
419 get_debug_info, frame_need_space, display_debug_frames,
420 display_debug_section, process_mips_specific, process_gnu_liblist,
421 process_corefile_note_segment): Adjust get_data callers. Use
422 cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
423 passed size is a product of 2 numbers.
424
425 * readelf.c (print_mode): Fix comment typo.
426 (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
427 (dump_relocations): Fix a thinko in check for invalid st_name.
428 (process_program_headers): Don't crash if string_table is NULL.
429 (process_section_headers): Don't crash if e_shstrndx is invalid.
430 Ensure string_table_length is 0 if string_table == NULL.
431 Don't return just because string_table is NULL.
432 (process_section_groups): Don't crash if symtab's sh_link or
433 symbol's st_name is invalid. Fix a memory leak. Fix check for
434 invalid section number entry.
435 (process_relocs): Don't crash if relocation or symbol section's
436 sh_link is invalid.
437 (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
438 relocation section's sh_info is invalid.
439 (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
440 table's sh_link is invalid.
441 (process_version_sections): Don't crash on version or symbol
442 section's sh_link is invalid. Don't crash if symbol's st_shndx
443 is invalid.
444 (process_symbol_table): Don't crash if string table is corrupt
445 or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
446 (debug_apply_rela_addends): Don't crash if relocation section's
447 sh_info or sh_link is invalid.
448 (display_debug_loc): Warn for unterminated .debug_loc section
449 or start offsets not within .debug_loc section boundaries.
450 (process_gnu_liblist): Don't crash if liblist section's sh_link
451 or entry's l_name is invalid.
452
f9ecb0a4
JJ
4532005-06-09 Jakub Jelinek <jakub@redhat.com>
454
455 * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
456 If q->howto->name == NULL, print q->howto->type as number instead.
457 (dump_reloc_set): Likewise.
458
a34e3ecb
EC
4592005-06-07 Eric Christopher <echristo@redhat.com>
460
461 * readelf.c (guess_is_rela): Support ms1.
462 (dump_relocations): Ditto.
463 (get_machine_name): Ditto.
464
1ae72221
AH
4652005-06-07 Aldy Hernandez <aldyh@redhat.com>
466 Michael Snyder <msnyder@redhat.com>
467 Stan Cox <scox@redhat.com>
468
469 * Makefile.am (readelf.o): Depend on ms1.h.
470
471 * Makefile.in: Regenerate.
472
473 * readelf.c: Include ms1.h.
474
5420f73d
L
4752005-06-06 H.J. Lu <hongjiu.lu@intel.com>
476
477 PR 990
478 * nm.c (print_symbol): Call bfd_find_line before
479 bfd_find_nearest_line.
480
b12fe839
AM
4812005-06-06 Alan Modra <amodra@bigpond.net.au>
482
483 * NEWS: Mention new powerpc ld support.
484
b7d4af3a
JW
4852005-06-03 Steve Ellcey <sje@cup.hp.com>
486
487 * configure.in: Check for getc_unlocked prototype.
488 * configure: Regenerate.
489 * config.in: Regenerate.
490 * strings.c (get_char): Only call getc_unlocked if we have seen a
491 prototype.
492
82d457f6
NC
4932005-06-03 Nick Clifton <nickc@redhat.com>
494
495 * configure.in (ALL_LINGUAS): Add zh_TW
496 * configure: Regenerate.
497 * po/zh_TW.po: New Chinese (traditional) translation.
498
7ace3541
RH
4992005-05-31 Richard Henderson <rth@redhat.com>
500
501 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
502
fabcb361
RH
5032005-05-29 Richard Henderson <rth@redhat.com>
504
505 * readelf.c (get_alpha_dynamic_type): New.
506 (get_dynamic_type): Call it.
507
391cb864
L
5082005-05-24 H.J. Lu <hongjiu.lu@intel.com>
509
510 * readelf.c (process_section_groups): Report group section
511 index. Check if the section member index is valid.
512
0c552dc1
FF
5132005-05-23 Fred Fish <fnf@specifixinc.com>
514
515 * addr2line.c (unwind_inlines): New flag for 'i' option.
516 (usage): Document '-i' option.
517 (long_options): Recognize '--inlines'.
518 (translate_addresses): Loop, calling bfd_find_inliner_info as
519 necessary and printing multiple output lines.
520 (main): Handle 'i' option.
521 * doc/binutils.texi (addr2line): Document '-i' option.
522 * NEWS: Mention new addr2line '-i' option.
523
41a865ba
NC
5242005-05-23 Nick Clifton <nickc@redhat.com>
525
526 * readelf.c (fetch_indirect_string): Display a warning message
527 when a corrupt DW_FORM_strp value is encountered.
b12fe839 528
41a865ba
NC
529 (process_debug_info): Mention that the compilation unit offset is
530 being displayed in hexadecimal.
b12fe839 531
41a865ba
NC
532 (display_debug_lines): Fix typo in name of .debug_line section.
533
e3e71e27
ZW
5342005-05-19 Zack Weinberg <zack@codesourcery.com>
535
536 * Makefile.am: Have 'all' depend on 'info'.
537 * Makefile.in: Regenerate.
538
d68f4033
BE
5392005-05-19 Ben Elliston <bje@au.ibm.com>
540
541 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
542 value of DW_ATE_GNU_decimal_float.
543
970c3dbc
DJ
5442005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
545
546 * doc/Makefile.am (config.texi): Don't use $<.
547 * doc/Makefile.in: Regenerated.
548
39ddb54e
NC
5492005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
550
e3e71e27 551 * deflex.l: Ignore CRs
39ddb54e 552
42ecbf5e
DJ
5532005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
554
555 * acinclude.m4: Remove obsolete code.
556 * configure.in: Update AC_PREREQ.
557 * doc/Makefile.am (binutils_TEXINFOS): Define.
558 (config.texi): Depend on distributed files instead of built
559 files.
560 (binutils.dvi, binutils.info): Remove unnecessary rules.
561 (DISTCLEANFILES): Remove.
562 (install-data-local): Renamed from install.
563 (info-local): Renamed from info.
564 * Makefile.in, aclocal.m4, config.in, configure,
565 doc/Makefile.in: Regenerated.
566
1fe44d79
AM
5672005-05-14 Alan Modra <amodra@bigpond.net.au>
568
569 * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
570 DT_PPC_GLINK.
571
f59f7c79
FF
5722005-05-13 Fred Fish <fnf@specifixinc.com>
573
574 * readelf.c: Fix a couple of obvious comment typos,
575 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
576
a4a00738
L
5772005-05-13 H.J. Lu <hongjiu.lu@intel.com>
578
579 * readelf.c (dump_ia64_unwind): Get stamp with proper size.
580
52d1fb02
NC
5812005-05-12 Nick Clifton <nickc@redhat.com>
582
583 * readelf.c (display_debug_lines): If pointer_size has not been
584 found then assume that it is 4 in order to prevent a seg fault
585 when process_extend_line_op attempts to read the line data.
586
7490d522
AM
5872005-05-11 Alan Modra <amodra@bigpond.net.au>
588
589 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
590 (get_dynamic_type): Call the above.
591
b43b5d5f
NC
5922005-05-07 Nick Clifton <nickc@redhat.com>
593
594 * Update the address and phone number of the FSF organization in
595 the GPL notices in the following files:
596 aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
597 arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
598 budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
599 cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
600 dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
601 ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
602 objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
603 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
604 size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
605 syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
606 windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
607
a580b8e0
JB
6082005-05-06 Jan Beulich <jbeulich@novell.com>
609
610 * objcopy.c (copy_file): Don't delete output upon error here.
611 (copy_main): Delete output upon error.
612
27eed06b
BE
6132005-05-02 Ben Elliston <bje@au.ibm.com>
614
615 * dlltool.c (dtab): Remove empty function.
616 (process_duplicates): Remove calls to dtab().
617
36d3b955
MR
6182005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
619
620 * doc/binutils.texi (strip, objcopy): Clarify the description of
621 the "--strip-debug" option. Fix a typo.
622
cba12006
L
6232005-04-29 H.J. Lu <hongjiu.lu@intel.com>
624
625 * bucomm.c: Undo the last change.
626 * bucomm.h: Likewise.
627
89b78896
BE
6282005-04-29 Ben Elliston <bje@au.ibm.com>
629
630 * syslex.l (word, number, unit): Remove unused variables.
631 * nlmheader.y (keyword_tokens): Make static.
632 * coffdump.c (dump_coff_symbol, coff_dump): Make static.
633 * coffgrok.c (lofile, last_function_symbol, last_function_type,
634 last_struct, last_enum, cur_sfile): Make variables static.
635 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
636 sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
637 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
638 names, pnames): Likewise.
639
85b1c36d
BE
6402005-04-29 Ben Elliston <bje@au.ibm.com>
641
642 * ar.c (mri_mode): Make static.
643 * arsup.c (obfd, real_name, outfile): Likewise.
644 * binemul.c (ar_emul_create): Remove unused function.
645 (ar_emul_default_create): Likewise.
646 * binemul.h (ar_emul_create): Remove declaration.
647 (ar_emul_default_create): Likewise.
648 (struct bin_emulation_xfer_struct): Remove ar_create member.
649 * bucomm.c (report): Make static.
650 * bucomm.h (report): Remove declaration.
651 * cxxfilt.c (mbuffer): Make static.
652 (main): Use unsigned ints for some loop control variables.
653 * readelf.c: Make many global variables static.
654 * size.c (berkeley_format): Make static.
655 (long_options): Likewise.
656 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
657 structure initialiser.
658 (bin_aix5_emulation): Likewise.
659 * emul_vanilla.c (bin_vanilla_emulation): Likewise.
660
943ea8a2
BE
6612005-04-27 Ben Elliston <bje@au.ibm.com>
662
663 * syslex.l: Adjust top-of-file comment: this file is part of GNU
664 binutils, not GNU ld.
665
e7f918ad
NC
6662005-04-25 Nick Clifton <nickc@redhat.com>
667
bee59fd2
NC
668 PR872
669 * objcopy.c (copy_archive): Initialise 'obfd' field of new
670 name_list structure.
7490d522 671
e7f918ad 672 * objcopy.c (copy_usage): Fix description of -K switch.
bee59fd2 673
e7f918ad
NC
674 * doc/binutils.texi (strip, objcopy): Fix description of -K
675 switch.
676
ae67fcb5
DJ
6772005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
678
679 * readelf.c (display_debug_frames): Use data factor for
680 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
681
3bee8bcd
L
6822005-04-19 H.J. Lu <hongjiu.lu@intel.com>
683
684 * objdump.c (dump_section_header): Skip linker created section.
685
64c1196b
L
6862005-04-17 H.J. Lu <hongjiu.lu@intel.com>
687
688 * objdump.c (dump_section_header): Support SEC_GROUP.
689
520494b6
NC
6902005-04-16 Nick Clifton <nickc@redhat.com>
691
692 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
693 printf string.
694
ac559f4a
NC
6952005-04-15 Nick Clifton <nickc@redhat.com>
696
697 * objcopy.c (copy_file): Issue an error message when attmepting to
698 copy an empty input file.
699
9e9b66a9
AM
7002005-04-14 Alan Modra <amodra@bigpond.net.au>
701
702 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
703 * configure.in: Include ../bfd/warning.m4 contents.
704 * Makefile.in: Regenerate.
705 * configure: Regenerate.
706 * doc/Makefile.in: Regenerate.
707
ceae3e33
AM
7082005-04-12 Alan Modra <amodra@bigpond.net.au>
709
710 * Makefile.am: Run "make dep-am".
711 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
712 (sysroff.o, defparse.o, deflex.o): Likewise.
713 (nlmheader.o, rcparse.o, rclex.o): Likewise.
714 * Makefile.in: Regenerate.
715 * aclocal.m4: Regenerate.
716 * config.in: Regenerate.
717 * configure: Regenerate.
718
53260797
JB
7192005-04-11 Jan Beulich <jbeulich@novell.com>
720
721 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
722
52f3cf45
L
7232005-04-06 Nick Clifton <nickc@redhat.com>
724 H.J. Lu <hongjiu.lu@intel.com>
725
726 * po/rw.po: New translation: Kinyarwanda.
727 * configure.in (ALL_LINGUAS): Add rw.
728 * configure: Regenerate.
729
a8b683fc
MR
7302005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
731
732 * readelf.c (debug_apply_rela_addends): Reorder r_info as
733 necessary for 64-bit MIPS.
734
470e4bd1
MR
7352005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
736
737 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
738
661f7c35
NC
7392005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
740
741 PR binutils/813
742 * objdump.c (dump_symbols): Add a check to see if the section for
743 the symbol is chosen using process_section_p.
744
81fc812e
L
7452005-04-01 H.J. Lu <hongjiu.lu@intel.com>
746
747 * NEWS: Mention new readelf options, "-N/--full-section-name"
748 and "-g/--section-groups".
749
750 * doc/binutils.texi: Document new readelf options,
751 "-N/--full-section-name" and "-g/--section-groups".
752
595cf52e
L
7532005-03-31 H.J. Lu <hongjiu.lu@intel.com>
754
755 * readelf.c (do_full_section_name): New.
756 (options): Add "--full-section-name"/'N'.
757 (usage): Add -N/--full-section-name.
758 (parse_args): Handle 'N'.
759 (process_section_headers): Print out the full section name if
760 do_full_section_name isn't 0.
761
e46eba98
NC
7622005-03-31 Nick Clifton <nickc@redhat.com>
763
764 * configure.in: Add a check for <unistd.h> providing a prototype
765 for getopt() which is compatible with the one in
766 include/getopt.h. If so then define HAVE_DECL_GETOPT.
767 * configure: Regenerate.
768 * config.in (HAVE_DECL_GETOPT): Add.
769 * aclocal.m4: Regenerate.
770 * addr2line.c: Include "config.h" before "bfd.h" so that
771 HAVE_DECL_GETOPT is defined before getopt.h is included.
772
ec72cfe5
NC
7732005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
774
775 * doc/binutils.texi: Document new VAX disassembler-specific option
776 -M entry:0xfooba8.
777 * NEWS: Mention the new option.
7490d522 778
abd18680
AP
7792005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
780
781 * MAINTAINERS: Add myself as H8300 maintainer.
782
5810296b
AL
7832005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
784
785 * objdump.c (disassemble_bytes): Remove cast.
786
335a0d39
DJ
7872005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
788
789 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
790 binutils-2_16-branch.
791
163730f0
MK
7922005-03-25 Mark Kettenis <kettenis@gnu.org>
793
794 * MAINTAINERS: Add myself as M88k maintainer.
795
bcfb5d77
DS
7962005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
797
798 * winduni.c (unicode_from_ascii): Don't declare variables
799 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
800 string len.
801
1acfb01b
DD
8022005-03-24 Dmitry Diky <diwil@spec.ru>
803
7490d522 804 * MAINTAINERS: Add myself as MSP430 maintainer.
1acfb01b 805
fa0c5056
NC
8062005-03-23 Nick Clifton <nickc@redhat.com>
807
808 * po/fr.po: Updated translation.
809
41772c33
NC
8102005-03-22 Nick Clifton <nickc@redhat.com>
811
812 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
813 privileges list.
814
b294bdf8
MM
8152005-03-17 Paul Brook <paul@codesourcery.com>
816 Dan Jacobowitz <dan@codesourcery.com>
817 Mark Mitchell <mark@codesourcery.com>
818
819 * binutils/readelf.c (get_arm_segment_type): New function.
820 (get_segment_type): Use it.
821
58450b3b
PB
8222005-03-18 Paul Brook <paul@codesourcery.com>
823
824 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
825
2115ce97
DN
8262005-03-17 Diego Novillo <dnovillo@redhat.com>
827
828 * MAINTAINERS: Remove self as maintainer of x86 intel
829 mode.
830
1ad12f97
NC
8312005-03-16 Nick Clifton <nickc@redhat.com>
832 Ben Elliston <bje@au.ibm.com>
833
569acd2c 834 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 835 compiler command line. Enabled by default. Disable via
569acd2c 836 --disable-werror.
1ad12f97
NC
837 * configure: Regenerate.
838
7b4a0685 8392005-03-15 Daniel Marques <marques@cs.cornell.edu>
7490d522 840 Nick Clifton <nickc@redhat.com>
7b4a0685
NC
841
842 * objcopy.c (globalize_specific_list): New linked list of symbols
843 to convert from local binding into global binding.
844 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
845 OPTION_GLOBALIZE_SYMBOLS.
846 (copy_options): Add "globalize-symbol" and "globalize-symbols".
847 (copy_usage): Document the new switches.
848 (filter_symbols): Convert defined local symbols mentioned on the
849 globalize_specific_list into global symbols.
850 (copy_object): Perform actions if the globalize_specific_list is
851 not empty.
852 (copy_main): Handle new switches.
853 * NEWS: Mention new feature.
854 * doc/binutils.texi: Document new switches.
855
ea8409f7
AM
8562005-03-15 Alan Modra <amodra@bigpond.net.au>
857
729ae8d2
AM
858 * po/es.po: Commit new Spanish translation.
859
ea8409f7
AM
860 * po/fr.po: Commit new French translation.
861
248642ab
AM
8622005-03-14 Alan Modra <amodra@bigpond.net.au>
863
864 * po/tr.po: Commit new Turkish translation.
865
e8d46048
NC
8662005-03-11 Nick Clifton <nickc@redhat.com>
867
868 * po/fr.po: Updated French translation.
869
953130a5
NC
8702005-03-10 Nick Clifton <nickc@redhat.com>
871
872 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
953130a5 873 * configure: Regenerate.
af99dc6d
NC
874 * po/ro.po: New file.
875
876 * po/ru.po: Updated file.
953130a5 877
06647dfd
AM
8782005-03-05 Alan Modra <amodra@bigpond.net.au>
879
880 * po/binutils.pot: Regenerate.
881
bb14f524
JB
8822005-03-02 Jan Beulich <jbeulich@novell.com>
883
884 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
885 * objcopy.c (copy_file): Likewise.
886 (strip_main): Likewise.
887
ce04548a
NC
8882005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
889 Nick Clifton <nickc@redhat.com>
890
891 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
892 (struct objdump_disasm_info): Add 'reloc' field.
893 (disassemble_bytes): Fix check for when an insn has a reloc
894 associated with it. Improve comment explaining why the use of
895 octets is wrong. Set the 'reloc' field in objdump_disasm_info
896 structure.
897 (objdump_print_addr): Use new 'reloc' field to lookup the correct
898 address for the symbol associated with the current instruction's
899 relocation.
900 (disassemble_info): Initialise 'reloc' field.
901
e9e44622
JJ
9022005-02-28 Jakub Jelinek <jakub@redhat.com>
903
904 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
905 get_segment_type, get_section_type_name, get_elf_class,
906 get_data_encoding, get_group_flags, dynamic_section_mips_val,
907 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
908 get_AT_name, process_mips_specific, process_gnu_liblist,
909 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
910 sprintf where needed.
911 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
912 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
913 using strcat.
914 (get_dynamic_flags): Renamed to...
915 (print_dynamic_flags): ... this. Print the flags to stdout instead
916 of returning them as string.
917 (process_dynamic_section): Adjust caller.
918
35515c66
L
9192005-02-25 H.J. Lu <hongjiu.lu@intel.com>
920
921 * readelf.c (display_debug_ranges): Print out offset for end of
922 list.
923
9210d879
AM
9242005-02-23 Alan Modra <amodra@bigpond.net.au>
925
926 * dlltool.c: Warning fixes.
927 * objdump.c: Likewise.
928
dc3c06c2
AM
9292005-02-22 Alan Modra <amodra@bigpond.net.au>
930
931 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
932 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
933 dependencies. Run "make dep-am".
934 * nlmconv.c: Warning fixes.
935 * readelf.c: Likewise.
936 * srconv.c: Likewise.
937 * sysdump.c: Likewise.
938 * sysinfo.y: Likewise.
939 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
940 of strcpy.
941 * Makefile.in: Regenerate.
942
ebe372c1
L
9432005-02-21 H.J. Lu <hongjiu.lu@intel.com>
944
945 * objcopy.c (parse_flags): Replace SEC_SHARED with
946 SEC_COFF_SHARED.
947
948 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
949 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
950 SEC_COFF_SHARED for COFF only.
951
72f47744
AM
9522005-02-21 Alan Modra <amodra@bigpond.net.au>
953
954 * Makefile.am: Run "make dep-am"
955 * Makefile.in: Regenerate.
956 * doc/Makefile.in: Regenerate.
957
66543521
AM
9582005-02-21 Alan Modra <amodra@bigpond.net.au>
959
960 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
961 (byte_get_little_endian): Don't handle size of -8.
962 (byte_get_signed, byte_get_big_endian): Likewise.
963 (print_dec_vma, print_hex_vma): New functions.
964 (print_vma): Use them. Return chars output.
965 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
966 (process_symbol_table): Handle alpha and s390 .hash.
967
904c75ac
L
9682005-02-18 H.J. Lu <hongjiu.lu@intel.com>
969
970 * readelf.c (display_debug_loc): Print out offset for end of
971 list.
972
ac40b919
JM
9732005-02-18 Joseph S. Myers <joseph@codesourcery.com>
974
975 * Makefile.am (TOOL_PROGS): Add objdump.
976 * Makefile.in: Regenerate.
977
0af6db78
AM
9782005-02-17 Alan Modra <amodra@bigpond.net.au>
979
980 * deflex.l (YY_NO_UNPUT): Define.
981 * rclex.l (YY_NO_UNPUT): Define.
982 * rcparse.y (null_unichar): New static var.
983 (res_null_text): Use it rather than attempting to init from wchar_t.
984 * windres.c: Include assert.h and time.h before getopt.h.
985 Include config.h and unistd.h too.
986
b5e6aa63
NC
9872005-02-15 Nick Clifton <nickc@redhat.com>
988
989 * nlmconv.c: Provide a full prototype for the localtime() function
990 in order to avoid a compile time warning.
991
d1f5c6e3
L
9922005-02-11 H.J. Lu <hongjiu.lu@intel.com>
993
994 * readelf.c (group_count): Don't initialize it.
995 (process_section_groups): Reurn 1 if we won't do unwind nor
996 section groups. Set group_count to 0 before counting group
997 sections and return 1 if there are no group sections. Reread
998 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
999 section 0.
1000 (process_object): Only set do_unwind to 0 if
1001 process_section_groups return 0.
1002
3517749c
ILT
10032005-02-10 Ian Lance Taylor <ian@airs.com>
1004
1005 * MAINTAINERS: Update my e-mail address.
1006
0dffe982
MM
10072005-02-10 Mark Mitchell <mark@codesourcery.com>
1008
1009 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
1010 maintainers.
1011
c4cf3821
NC
10122005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
1013
1014 * MAINTAINERS: Add self as maintainer of MAXQ.
1015
89fac5e3
RS
10162005-01-31 Richard Sandiford <rsandifo@redhat.com>
1017
1018 * readelf.c (eh_addr_size): New variable.
1019 (find_section): Move earlier in file. Return empty sections too.
1020 (process_program_headers): Use find_section to find .dynamic.
1021 (process_section_headers): Initialize eh_addr_size.
1022 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
1023 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
1024 (display_debug_frames): Use it instead of local addr_size variable.
1025 (size_of_encoded_value): Get pointer size from eh_addr_size rather
1026 than is_32bit_elf.
1027
c46f8c51
AC
10282005-01-31 Andrew Cagney <cagney@gnu.org>
1029
1030 * configure: Regenerate to track ../gettext.m4.
1031
d342277e
NC
10322005-01-31 Nick Clifton <nickc@redhat.com>
1033
1034 * version.c (print_version): Bump the copyright date to 2005.
1035
8615f3f2
AM
10362005-01-25 Alan Modra <amodra@bigpond.net.au>
1037
1038 * nm.c (display_rel_file): Read dynamic syms before calling
1039 bfd_get_synthetic_symtab.
1040
84e43642
BE
10412005-01-21 Ben Elliston <bje@au.ibm.com>
1042
1043 * dlltool.c (dump_iat): Remove unused function.
1044 (gen_exp_file): Remove #if 0'd code.
1045 (make_one_lib_file): Likewise.
1046 * srconv.c: Remove #if 0'd code throughout.
1047 * size.c (lprint_number): Remove.
1048 (print_berkeley_format): Remove #if 0'd code.
1049 * ar.c (do_quick_append): Remove declaration and definiton.
1050 (main): Remove #if 0'd code.
1051 * filemode.c (filemodestring): Remove #if 0'd function.
1052 * sysdump.c (unit_info_list): Remove function.
1053 (object_body_list): Likewise.
1054 (program_structure): Likewise.
1055 (debug_list): Likewise.
1056 (module): Remove #if 0'd code.
1057
619b8b60
MM
10582005-01-20 Mark Mitchell <mark@codesourcery.com>
1059
a332ee82
MM
1060 * BRANCHES: Add binutils-2_15-branch.
1061
619b8b60
MM
1062 * MAINTAINERS: Document branch policy.
1063 * BRANCHES: New file.
1064
e39893d7
FF
10652005-01-19 Fred Fish <fnf@specifixinc.com>
1066
1067 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
1068 * doc/binutils.texi (objdump): Document the "no-aliases"
1069 disassembly option.
1070
b09a7772
NC
10712005-01-17 Eugene Kotlyarov <ekot@narod.ru>
1072
1073 PR binutils/647
1074 * rcparse.y (RCDATA): Allow a filename to be supplied as the
1075 parameter. Parse it with define_rcdata_file().
1076 * resrc.c (define_rcdata_file): New function.
1077 * windres.h: Provide a prototype for the new function.
1078
1079 * resrc.c (define_user_file): Fix typo by replacing "font file"
1080 with "file".
1081
ccf33464
JT
10822005-01-16 Jason Thorpe <thorpej@netbsd.org>
1083
1084 * MAINTAINERS: Update my email address.
1085
a0ce7f12
DS
10862005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1087
1088 * dlltool.c (set_dll_name_from_def): New function. Strip name
1089 to basename, with warning.
8615f3f2 1090 (def_name): Use it.
a0ce7f12
DS
1091 (def_library): Likwise.
1092 (main): Strip arg of --dllname to basename, with warning.
1093 Only use basename of exp_name when inferring dll_name.
1094
195a97ce
NC
10952005-01-11 Nick Clifton <nickc@redhat.com>
1096
1097 PR binutils/637
1098 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
1099 footnote in order to prevent the sed script in the Makefile from
1100 converting it into c++filt.
1101
0853c092
L
11022005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 BZ 635
1105 readelf.c (saved_base_address): Removed.
1106 (decode_64bit_range): Likewise.
1107 (decode_range): Likewise.
1108 (display_64bit_debug_ranges): Likewise.
1109 (debug_info): Add range_lists, num_range_lists and
1110 max_range_lists.
1111 (read_and_display_attr_value): Handle do_debug_ranges.
1112 (process_debug_info): Likewise.
1113 (display_debug_ranges): Rewrite.
1114 (process_object): Free range_lists.
1115
0bcb06d2
AS
11162005-01-10 Andreas Schwab <schwab@suse.de>
1117
1118 * configure.in: Don't define SKIP_ZEROES.
1119 * configure: Regenerate.
1120 * objdump.c (disassemble_data): Set skip_zeroes and
1121 skip_zeroes_at_end in disasm_info to defaults.
1122 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
1123 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
1124 always define.
1125 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
1126 objdump_disasm_info.
1127
e54b12b7
L
11282005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * readelf.c (display_debug_loc): Display base address
1131 specifiers. Always output <End of list>.
1132
b38c7015
L
11332005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * readelf.c (have_frame_base): New.
1136 (need_base_address): Likewise.
1137 (saved_base_address): Likewise.
1138 (decode_location_expression): Return 1 if DW_AT_frame_base is
1139 needed.
1140 (debug_info): Add base_address and a have_frame_base pointer.
1141 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
1142 saved_base_address. Record base address. Set have_frame_base.
1143 Record if a location list has DW_AT_frame_base. Display if a
1144 location expression has no DW_AT_frame_base but needs one. Set
1145 saved_base_address only if needed.
1146 (process_debug_info): Clear have_frame_base, saved_base_address
1147 and set need_base_address.
1148 (display_debug_loc): Display if a location expression has no
1149 DW_AT_frame_base but needs one. Display if start >= end. Don't
1150 adjust for section address. Properly handle base address.
1151 (process_object): Free the have_frame_base pointer in
1152 debug_info.
1153
b0660586
L
11542005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1155
1156 * readelf.c (display_debug_loc): Display offsets for hole and
1157 overlap.
1158 (display_debug_str): Add a newline at the end.
1159
8b626bcf
NC
11602005-01-04 Armin Diehl <diehl@nordrhein.de>
1161
1162 PR binutils/630
1163 * nlmconv.c (main): Only store the basename of the output filename
1164 in the module table.
1165
5b18a4bc
NC
11662005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 BZ 615
1169 * readelf.c (process_debug_info): New.
1170 (debug_info): Add num_loc_offsets, loc_offsets and
1171 last_loc_offset_p.
1172 (get_debug_info): Use process_debug_info.
1173 (display_debug_loc): Properly handle location list. Warn if bad
1174 location lists are encoutnered.
1175 (read_and_process_attr_value): New.
1176 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
1177 (display_debug_info): Use process_debug_info.
1178 (process_object): Also free loc_offsets in debug_information.
1179
180e47e2
AM
11802004-12-31 Alan Modra <amodra@bigpond.net.au>
1181
1182 * objdump.c (remove_useless_symbols): Discard section symbols.
1183
0c548fce
L
11842004-12-27 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * readelf.c (read_leb128): Support 64bit host.
1187
5b18a4bc
NC
11882004-12-23 Nick Clifton <nickc@redhat.com>
1189
1190 PR binutils/616
1191 * readelf.c (debug_info): Add 'cu_offset' field.
1192 (get+pointer_size_of_comp_unit): Rename to
1193 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
1194 the offset of the comp_unit if requested.
1195 (get_debug_info): Record comp_unit offsets as well.
1196 (display_debug_lines): Call get_pointer_size_of_comp_unit.
1197 (decode_location_expression): Add an extra parameter - the offset
1198 of the current comp-unit. Use this when decoding the DW_OP_call2
1199 and DW_OP_call4 operators.
1200 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
1201 comp_unit offset on the decode_location_expression.
1202 (read_and_display_attr_value): Pass the comp_unit offset on the
1203 decode_location_expression.
1204 (display_debug_frames): Pass 0 as the comp_unit offset to
1205 decode_location_expression.
8615f3f2 1206
76a56260
NC
12072004-12-22 Nick Clifton <nickc@redhat.com>
1208
1209 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
1210 New variables associated with obtaining the pointer size for a
1211 comp_unit.
1212 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
1213 of the section requesting the pointer size. Use this name in
1214 error messages. If there are not enough comp_units available
1215 produce a warning message, but return the last known pointer size
1216 so that section dumping can continue.
1217 (get_debug_info): Reset the new variables.
1218 (display_debug_lines): Add extra parameter to invocation of
1219 get_pointer_size_of_comp_unit and remove error message when it
1220 returns 0.
1221 (display_debug_loc): Likewise.
1222
bcf32829
JB
12232004-12-15 Jan Beulich <jbeulich@novell.com>
1224
1225 * doc/binutils.texi: Document --strip-unneeded-symbol and
1226 --strip-unneeded-symbols.
1227 * objcopy.c (strip_unneeded_list): New.
1228 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
1229 and OPTION_STRIP_UNNEEDED_SYMBOLS.
1230 (copy_options): Add --strip-unneeded-symbol and
1231 --strip-unneeded-symbols.
1232 (copy_usage): Likewise.
1233 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
1234 and the symbol is not needed.
1235 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
1236 OPTION_STRIP_UNNEEDED_SYMBOLS.
1237
ebcb91b7
ILT
12382004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
1239
1240 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
1241
a2f33459
BE
12422004-12-08 Ben Elliston <bje@au.ibm.com>
1243
1244 * arlex.l: Fix formatting.
1245
36607f99
BE
12462004-12-08 Ben Elliston <bje@au.ibm.com>
1247
1248 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
1249 config.texi whose value is the current month and year.
1250 * doc/Makefile.in: Rebuild.
1251 * doc/binutils.texi: Set the document subtitle to be the value of
1252 the Texinfo UPDATED variable (obtained from config.texi).
1253
2aa9814e
BE
12542004-12-07 Ben Elliston <bje@au.ibm.com>
1255
1256 PR binutils/249
1257 * doc/binutils.texi (def file format): New node.
1258 (dlltool): Use the tool name as the @chapter name, like all the
1259 other binutils. Use @file{.def} throughout for consistency.
1260
c7de9216
BE
12612004-12-06 Ben Elliston <bje@au.ibm.com>
1262
1263 * dlltool.c: Comment fix.
1264
2423fbe6
BE
12652004-12-06 Ben Elliston <bje@au.ibm.com>
1266
1267 * doc/binutils.texi: Update copyright years.
1268
73fb7068
RS
12692004-12-03 Richard Sandiford <rsandifo@redhat.com>
1270
1271 * MAINTAINERS: Remove mention of config.if.
1272
32118081
NC
12732004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1274
1275 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1276 * Makefile.in: Regenerate.
1277
2b25cacb
ILT
12782004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
1279
1280 PR binutils/536
1281 * stabs.c (stab_demangle_template): Call stab_demangle_count
1282 rather than stab_demangle_get_count to get the length of a pointer
1283 target.
1284
74aba8aa
DS
12852004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
1286
1287 * defparse.y: Remove unnecessary commas from token list.
1288
977cdf5a
NC
12892004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1290
1291 * doc/binutils.texi (nm): Update description of weak symbols.
1292
18bd398b
NC
12932004-11-03 Nick Clifton <nickc@redhat.com>
1294
1295 * readelf.c (do_debug_ranges): New variable.
1296 (usage): Document new switch: -wR or --debug-dump=Ranges.
1297 (parse_args): Handle new switch. Replace switch statement for the
1298 long options with a more compact table structure.
1299 (process_section_headers): Allow the dumping of .debug_ranges
1300 sections if so requested.
1301 (debug_displays): Likewise.
1302 (load_debug_range): New function: Grabs the contents of a
1303 .debug_ranges section.
1304 (free_debug_range): New function: Releases the grabbed
1305 .debug_ranges section.
1306 (decode_64bit_range): New function: Displays a 64-bit range in a
1307 .debug_ranges section.
1308 (decode_range): New function: Displays a 32-bit range in a
1309 .debug_ranges section.
1310 (read_and_display_attr_value): Record the value of DW_AT_low_pc
1311 attributes. Use decode_ranges() to display a DW_AT_ranges
1312 attribute.
1313 (display_debug_info): Use load_debug_range() and
1314 free_debug_range().
1315 (display_64bit_debug_ranges): New function. Displays the contents
1316 of a 64-bit format .debug_ranges section.
1317 (display_debug_ranges): New function: Displays the contents of a
1318 32-bit .debug_ranges section.
8615f3f2 1319
18bd398b
NC
1320 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
1321 global scope.
1322 (process_object): Initialise the dump_sects array from the
1323 cmdline_dump_sects array before processing each object file.
1324
1325 (streq, strneq): New macros. Use them to replace occurrences of
1326 strcmp() and strncmp().
1327
1328 (debug_information): New structure array to replace
1329 debug_line_pointer_sizes array.
1330 (num_debug_info_entries): New variable to replace
1331 num_debug_line_pointers.
1332 (get_pointer_size_of_comp_unit): New function: Returns the pointer
1333 size of a given compilation unit.
1334 (get_debug_info): New function to replace
1335 get_debug_line_pointer_sizes.
1336 (display_debug_lines): Use the new functions.
1337 (display_debug_loc): Likewise.
8615f3f2 1338
18bd398b
NC
1339 (disassemble_section): Change return type to int.
1340 (display_debug_lines): Move local variables to their
1341 innermost scope.
1342 (display_debug_section): Likewise. Also record the return value
1343 of functions called and pass this back to the parent. Also only
1344 warn about undumped sections when the user explicitly requested
1345 their dumping.
1346
1347 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
1348 types as well.
8615f3f2 1349
18bd398b
NC
1350 * NEWS: Mention the support for decoding .debug_ranges sections.
1351 * doc/binutils.texi: Document the new command line switch to
1352 readelf.
1353
57346661
AM
13542004-11-03 Randolph Chung <tausq@debian.org>
1355
1356 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
1357 unw_aux_info and unw_table_entry.
1358 (find_symbol_for_address): Pass symtab and strtab info explicitly.
1359 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
1360 prefix.
1361 (slurp_ia64_unwind_table): Likewise.
1362 (ia64_process_unwind): Rename from old process_unwind.
1363 (hppa_unw_aux_info): New.
1364 (dump_hppa_unwind): New.
1365 (slurp_hppa_unwind_table): New.
1366 (hppa_process_unwind): New.
1367 (process_unwind): Factor out common unwinding checks; dispatch to
1368 unwind handler based on machine type.
1369
935d0bca
NC
13702004-11-02 Nick Clifton <nickc@redhat.com>
1371
1372 * readelf.c (display_debug_lines): Fix typo in error message.
1373
1ec5cd37
NC
13742004-10-26 Mark Mitchell <mark@codesourcery.com>
1375
1376 * readelf.c (get_note_type): Handle notes not in core files.
1377 (process_note_sections): New function.
1378 (process_corefile_contents): Rename to ...
1379 (process_notes): ... this.
1380 (process_object): Call process_notes, not
1381 process_corefile_contents.
1382 * doc/binutils.texi: Update readelf -n documentation.
1383
b3f21e4a
JJ
13842004-10-26 Jakub Jelinek <jakub@redhat.com>
1385
1386 * ar.c (extract_file): Set atime to mtime for ar xo.
1387
2b4c4cc4
ILT
13882004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
1389
1390 * stabs.c (stab_demangle_v3_arglist): New static function, broken
1391 out of stab_demangle_v3_argtypes.
1392 (stab_demangle_v3_argtypes): Call it.
1393 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
1394 If we find an unrecognized component, print out its number.
1395
1ffa9a18
L
13962004-10-25 David Mosberger <davidm@hpl.hp.com>
1397
1398 * readelf.c (slurp_ia64_unwind_table): Support relocations against
1399 non-section symbols by adding in the symbol value.
1400
d79b3d50
NC
14012004-10-25 Nick Clifton <nickc@redhat.com>
1402
1403 PR 465
1404 * readelf.c (dynamic_strings_length): New global variable.
1405 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
1406 strings in the dynamic string table.
1407 (process_section_headers): Initialise dynamic_strings_length.
1408 (process_dynamic_section): Likewise.
1409 (process_object): Reset dynamic_string_length when the buffer is freed.
1410 (dynamic_sections_mips_val): Use the new macros.
1411 (process_dynamic_section): Likewise.
1412 (process_version_sections): Likewise.
1413 (process_symbol_table): Likewise.
1414 (process_syminfo): Likewise.
1415 (process_mips_specific): Likewise.
1416 (dump_relocations): Add a new parameter 'strtablen' and use this
1417 to verify that string offset in a given reloc is valid. Print a
1418 suitable error message otherwise.
1419 (process_relocs): Pass the new argument to dump_relocations.
1420
0fd555c4
NC
14212004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1422
1423 * dlltool.c: Include <assert.h>.
1424 (PREFIX_ALIAS_BASE): Define.
1425 (struct export): Add member import_name;
1426 (def_exports): Set import_name.
1427 (make_one_lib_file): Remove prefix alias code, use import_name
1428 in .idata$6.
1429 (gen_lib_file): Create and delete aliases.
1430
5ab0c1a1
L
14312004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * readelf.c (process_section_groups): Free symtab after use.
1434
d412a550
NC
14352004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
1436 Nick Clifton <nickc@redhat.com>
1437
1438 * strings.c (usage): Place radix values for -t option into the
1439 correct order.
1440
1441 * objcopy.c (add_redefine_syms_file): Change error messages to use
1442 <filename>:<linenumber>: format for easier parsing by automatic
1443 tools.
1444
1445 * srconv.c (show_usage): Fix spelling typo.
1446
1447 * windres.c (format_from_filename): Suggest the use of -J instead
1448 of -I if the file type cannot be determined.
1449
fb608b92
NC
14502004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1451
1452 * strings.c: Include <sys/stat.h>.
1453
2bb2d727
AM
14542004-10-18 Alan Modra <amodra@bigpond.net.au>
1455
7f67d4c9
AM
1456 * budemang.c (demangle): Fix thinko.
1457
2bb2d727
AM
1458 * budemang.c (demangle): Handle "@plt" suffix.
1459
61bbd35b
NC
14602004-10-14 Nick Clifton <nickc@redhat.com>
1461
1462 * nm.c (usage): Fix description of --special-syms switch.
1463
fb5b5478
JJ
14642004-10-13 Jakub Jelinek <jakub@redhat.com>
1465
1466 * strings.c (statbuf): New typedef.
1467 (file_stat): Define.
1468 (strings_object_file): Avoid using get_file_size, instead do the
1469 checks here, using file_stat.
1470 * configure.in (HAVE_STAT64): New test.
1471 * configure: Rebuilt.
1472 * config.in: Rebuilt.
1473
8cb51566
PB
14742004-10-12 Paul Brook <paul@codesourcery.com>
1475
1476 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
1477
83ef0798
AM
14782004-10-11 Alan Modra <amodra@bigpond.net.au>
1479
1480 * objdump.c (dump_symbols): Fix thinko last change. Improve error
1481 messages.
1482
3c9458e9
NC
14832004-10-08 Nick Clifton <nickc@redhat.com>
1484
1485 * nm.c: Add a new switch --special-syms which, if enabled, will
1486 include the ARM Mapping symbols in nm's output.
1487 (usage): Mention the switch.
1488 (filter_symbols): Handle the switch.
1489 * objdump.c: Add a similar switch.
1490 (usage): Mention the switch.
1491 (dump_symbols): Handle the switch.
1492 * doc/binutils.texi: Document the new switches.
1493 * NEWS: Mention the new switches.
1494
d2b2c203
DJ
14952004-10-08 Daniel Jacobowitz <dan@debian.org>
1496
1497 * readelf.c (get_x86_64_section_type_name): New function.
1498 (get_section_type_name): Use it.
1499
d67a454c
NC
15002004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1501
1502 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
1503 patches.
1504 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
1505
1c877e87
AO
15062004-10-07 Alexandre Oliva <aoliva@redhat.com>
1507
1508 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
1509 types.
1510
40a18ebd
NC
15112004-10-01 Paul Brook <paul@codesourcery.com>
1512
1513 * readelf.c (get_arm_section_type_name): New function.
1514 (get_section_type_name): Use it.
1515
382c1116
NC
15162004-09-28 Nick Clifton <nickc@redhat.com>
1517
eb1ab0cf 1518 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
1519 prototypes.
1520
cbaa0dc5
AM
15212004-09-22 Alan Modra <amodra@bigpond.net.au>
1522
1523 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
1524 segments.
1525
3443c1ae
AM
15262004-09-17 Alan Modra <amodra@bigpond.net.au>
1527
1528 * Makefile.am: Run "make dep-am".
1529 * Makefile.in: Regenerate.
1530 * config.in: Regenerate.
1531 * configure: Regenerate.
1532 * doc/Makefile.in: Regenerate.
1533 * po/binutils.pot: Regenerate.
1534
74013231
AM
15352004-09-12 Alan Modra <amodra@bigpond.net.au>
1536
1537 * readelf.c (decode_location_expression): Sign extend value for
1538 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
1539
360589e8
NC
15402004-09-09 Nick Clifton <nickc@redhat.com>
1541
1542 PR 363
1543 * ar.c (replace_members): Do not use get_file_size as
1544 ar_emul_append correctly handles missing files.
1545
d15b04bd
L
15462004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 * configure: Regenerated with autconfig 2.13.
1549
d597aff7
DS
15502004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1551
74013231
AM
1552 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
1553 documentation.
d597aff7 1554
04c34128
NC
15552004-09-06 Michael Wardle <mbw@endbracket.net>
1556
3023b782 1557 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
1558 the effect of the -p switch.
1559
d597aff7 15602004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 1561
6cef8f72
DS
1562 * dlltool.c (make_one_lib_file): Test if internal_name was
1563 specified by user before using it.
5df31fad 1564
74013231 15652004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
1566
1567 PR binutils/351
1568 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
1569 exp->internal_name if it is present.
1570
ec2dfb42
AO
15712004-09-02 Alexandre Oliva <aoliva@redhat.com>
1572
1573 * MAINTAINERS: Add self as co-maintainer of FR-V.
1574 * readelf.c (get_machine_flags): Print FR-V cpu types.
1575
0873df2a
AM
15762004-08-28 Alan Modra <amodra@bigpond.net.au>
1577
1578 * nm.c (show_synthetic): New var.
1579 (long_options): Add "synthetic".
1580 (usage): Here too.
1581 (display_rel_file): Handle show_synthetic.
1582
c9727e01
AM
15832004-08-28 Alan Modra <amodra@bigpond.net.au>
1584
1585 * objdump.c (dump_bfd): Pass both symbol tables to
1586 bfd_get_synthetic_symtab.
1587
90e3cdf2
JJ
15882004-08-17 Jakub Jelinek <jakub@redhat.com>
1589
1590 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
1591 of dynsyms to bfd_get_synthetic_symtab.
1592
d84de024
AM
15932004-08-16 Alan Modra <amodra@bigpond.net.au>
1594
1595 * readelf.c (debug_apply_rela_addends): New function, extracted from..
1596 (display_debug_info): ..here.
1597 (display_debug_frames): Call debug_apply_rela_addends. Don't do
1598 DW_EH_PE_pcrel adjustment for ET_REL.
1599
efcb5b0e
AS
16002004-08-06 Andreas Schwab <schwab@suse.de>
1601
1602 * readelf.c (dump_relocations): Fix typo when calculating
1603 sec_index.
1604
d3cde3af
NC
16052004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
1606
1607 * dllwrap.c (deduce_name): Fix typos introduced when program_name
1608 was renamed to prog_name.
1609
1d70c7fb
AO
16102004-07-29 Alexandre Oliva <aoliva@redhat.com>
1611
1612 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
1613 EF_SH2A_NOFPU.
1614
ccde1100
AO
16152004-07-28 Alexandre Oliva <aoliva@redhat.com>
1616
1617 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
1618 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
1619 EF_SH4A_NOFPU.
1620 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
1621 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
1622
082b7297
L
16232004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1624
1625 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
1626 to access comdat.
1627 * objdump.c (dump_section_header): Likewise.
1628
44a6d974
NC
16292004-07-15 Aravinda PR <aravindapr@rediffmail.com>
1630
1631 * nlmconv.c (main): Pass map_file argument to link_inputs.
1632 (link_inputs): Use map_file argument if it is defined.
1633
61513dc1
NC
16342004-07-13 Nick Clifton <nickc@redhat.com>
1635
1636 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
1637 conflicts with exported global defined in bucomm.h.
1638 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
1639 shadowing the global defined in bucomm.h.
1640
607dea97
NC
16412004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1642
1643 * dlltool.c (ext_prefix_alias): New global variable.
1644 (make_one_lib_file): Add aliases with prefixes for external
1645 and import definitions.
1646 (usage): Document -p option.
1647 (long_options): Add --ext-prefix-alias option.
1648 (main): Handle -p.
1649 * doc/binutils.texi: Document new switch.
1650 * NEWS: Mention new switch.
1651
2758961a
NC
16522004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1653
1654 * binutils/dlltool.c (asm_prefix): Add parameter: name.
1655 No underscore for symbols beginning with ?.
1656 (ASM_PREFIX): Add parameter: NAME.
1657 (gen_exp_file): Use new parameter.
1658 (make_label): Likewise.
1659 (make_imp_label): Likewise.
1660 (make_one_lib_file): Likewise.
1661
1fe1f39c
NC
16622004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
1663
1664 * MAINTAINERS: Added myself to the list.
1665 * readelf.c: Include "elf/crx.h".
1666 (guess_is_rela): Handle EM_CRX.
1667 (get_machine_name): Likewise.
1668 (dump_relocations): Likewise.
1669
c87db184
CF
16702004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1671
1672 * doc/binutils.texi (nm): Clarify weak symbol description.
1673
fb7b006e
BE
16742004-06-24 Ben Elliston <bje@au.ibm.com>
1675
1676 * readelf.c (get_segment_type): Display "GNU_STACK", not just
1677 "STACK", when a PT_GNU_STACK segment is encountered.
1678
eea6121a
AM
16792004-06-24 Alan Modra <amodra@bigpond.net.au>
1680
1681 * objcopy.c (copy_section): Don't set _cooked_size.
1682
fb514b26
AM
16832004-06-22 Alan Modra <amodra@bigpond.net.au>
1684
ba2685cc
AM
1685 * readelf.c (Elf32_Word): Delete.
1686 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
1687 (get_64bit_dynamic_section): Likewise.
1688
1689 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
1690 (get_64bit_dynamic_section): Likewise.
1691
86dba8ee
AM
1692 * readelf.c (dynamic_nent): New variable.
1693 (get_32bit_dynamic_section): Set it.
1694 (get_64bit_dynamic_section): Here too.
1695 (process_dynamic_section): Use it instead of dynamic_size.
1696 (process_syminfo): Likewise.
1697
fb514b26
AM
1698 * readelf.c (get_32bit_dynamic_section): Correct number of entries
1699 translated from external to internal form.
1700 (get_64bit_dynamic_section): Likewise.
1701
b2d38a17
NC
17022004-06-18 Jie Zhang <zhangjie@magima.com.cn>
1703
1704 * readelf.c (process_program_headers): When locating the dynamic
1705 section use the section table if it is present.
1706 (dynamic_segment): Renamed to dynamic_section.
1707 Replace references to dynamic segment with references to dynamic
1708 section, except where appropriate.
1709 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
1710 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
1711 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
1712 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
1713 Remove tag counting code as it is no longer needed.
1714 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
1715 Remove tag counting code as it is no longer needed.
1716 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 1717
135dfb4a
AM
17182004-06-15 Alan Modra <amodra@bigpond.net.au>
1719
1720 * objcopy.c (copy_section): Use bfd_get_section_size instead of
1721 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
1722 (compare_section_lma): Likewise.
1723 * addr2line.c (find_address_in_section): Likewise.
1724 * coffgrok.c (do_sections_p1): Likewise.
1725 * dlltool.c (scan_drectve_symbols): Likewise.
1726 * nlmconv.c (main): Likewise.
1727 (copy_sections): Likewise.
1728 (powerpc_mangle_relocs): Likewise.
1729 * objdump.c (disassemble_section): Likewise.
1730 * prdbg.c (find_address_in_section): Likewise.
1731 * size.c (berkeley_sum): Likewise.
1732 * srconv.c (wr_ob): Likewise.
1733 * strings.c (strings_a_section): Likewise.
1734
90e01f86
ILT
17352004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
1736
1737 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
1738
80fccad2
BW
17392004-05-17 David Heine <dlheine@tensilica.com>
1740
eea6121a 1741 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
1742 (copy_object): Call setup_bfd_headers.
1743
0da76f83
NC
17442004-05-13 Paul Brook <paul@codesourcery.com>
1745
1746 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
1747 entries.
1748
9598fbe5
NC
17492004-05-13 Nick Clifton <nickc@redhat.com>
1750
1751 * po/fr.po: Updated French translation.
1752
8c37241b
JJ
17532004-05-11 Jakub Jelinek <jakub@redhat.com>
1754
1755 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
1756
e4b17d5c
L
17572004-05-07 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 * readelf.c (section_groups): New.
1760 (group_count): New.
1761 (section_headers_groups): New.
1762 (process_section_groups): Populate group_count, section_groups
1763 and section_headers_groups.
1764 (process_unwind): Support section group.
1765 (process_object): Always call process_section_groups. Free
1766 section_groups and section_headers_groups.
1767
f2da459f
L
17682004-04-30 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 * readelf.c (process_section_headers): Use %3lu on sh_info.
1771
f8935895
NC
17722004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
1773
1774 * ranlib.sh: Quote $1 argument in case it contains spaces.
1775
17762004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
1777
1778 * objcopy.c (copy_usage, strip_usage): Fix spelling.
1779
f5842774
L
17802004-04-26 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * readelf.c (do_section_groups): New.
1783 (options): Add --section-groups/-g.
1784 (usage): Mention --section-groups/-g.
1785 (parse_args): Support --section-groups/-g.
1786 (get_group_flags): New.
1787 (process_section_groups): New.
1788 (process_object): Call process_section_groups.
1789
46212538
AM
17902004-04-24 Alan Modra <amodra@bigpond.net.au>
1791
1792 * objdump.c (disassemble_section): Don't disassemble sections
1793 without SEC_HAS_CONTENTS.
1794
4c45e5c9
JJ
17952004-04-22 Jakub Jelinek <jakub@redhat.com>
1796
1797 * objdump.c (synthsyms, synthcount): New variables.
1798 (disassemble_data): Use dynsyms for stripped binaries or libraries.
1799 Add synthetized symbols.
1800 (dump_bfd): For disassemble, initialize dynsyms always and
1801 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
1802 before returning.
1803
e9f87780
AM
18042004-04-14 Alan Modra <amodra@bigpond.net.au>
1805
1806 * strings.c (print_strings): Cast file_off to unsigned long in
1807 printf arg list.
1808
1ba93119
AM
18092004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
1810
1811 PR 86
1812 * arsup.c (ar_save): Use smart_rename.
1813
935a41f5
NC
18142004-04-01 Dean Luick <luick@cray.com>
1815
1816 * readelf.c (display_debug_pubnames): Align offset and data
1817 columns.
1818 (read_and_display_attr_value): Add missing break;
1819 (debug_displays): Enable the display of the .debug_pubtypes
1820 section.
1821
92e25cf8
SS
18222004-03-30 Stan Shebs <shebs@apple.com>
1823
1824 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
1825 support files, no longer used.
1826
d507cf36
PB
18272004-03-23 Paul Brook <paul@codesourcery.com>
1828
1829 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
1830
8c9a9879
RH
18312004-03-21 Richard Henderson <rth@redhat.com>
1832
1833 * readelf.c (display_debug_frames): Don't crash for mismatched
1834 DW_CFA_restore_state.
1835
6ece5c52
AM
18362004-03-19 Alan Modra <amodra@bigpond.net.au>
1837
1838 * Makefile.am: Run "make dep-am".
1839 * Makefile.in: Regenerate.
1840 * aclocal.m4: Regenerate.
1841 * config.in: Regenerate.
1842 * configure: Regenerate.
1843 * po/binutils.pot: Regenerate.
1844
6f104306
NS
18452004-03-15 Nathan Sidwell <nathan@codesourcery.com>
1846
1847 * objdump.c (struct SFILE): Replace current pointer with pos
1848 offset, rename size to alloc.
1849 (objdump_sprintf): Avoid unnecessary copies in the common case
1850 (disassemble_bytes): Keep sfile live throughout the
1851 function. Adjust usage appropriately.
1852
523f6a27
BE
18532004-03-10 Ben Elliston <bje@gnu.org>
1854
1855 * MAINTAINERS: Update my mail address.
1856
7aa52b1f
NC
18572004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1858
1859 * deflex.l: Handle "PRIVATE" string.
1860 * defparse.y (%token): Add PRIVATE.
1861 (%type): Add opt_PRIVATE.
1862 (expline): Pass opt_PRIVATE to def_exports.
1863 (opt_PRIVATE): Handle PRIVATE token.
1864 * dlltool.h (def_exports): Add 7th param for private flag to
1865 declaration.
1866 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1867 (struct export): Add 'private' field.
1868 (def_exports): Set 'private' field of struct exports.
1869 (scan_drectve_symbols): Adjust calls to def_exports.
1870 (scan_filtered_symbols): Likewise.
1871 (dump_def_info): Print 'private' field.
1872 (gen_def_file): Likewise.
1873 (gen_lib_file): Skip generation of lib object if private.
1874 Delete tmp object files in same order as they were generated.
1875 Don't delete non-existent private object files.
1876
af865222
AS
18772004-02-27 Andreas Schwab <schwab@suse.de>
1878
1879 * ar.c (main): Support POSIX-compatible argument parsing.
1880
c7e7ca54
NC
18812004-02-23 Daniel Lucq <daniel@lucq.org>
1882
1883 * readelf.c (process_mips_specific): Print conflictsno as an
1884 unsigned long.
1885
eff21b8e
CF
18862004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1887
1888 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1889
2f01ffbf
JJ
18902004-02-19 Jakub Jelinek <jakub@redhat.com>
1891
1892 * objcopy.c (copy_section): Avoid warnings.
1893
c92c35e7
AC
18942004-02-14 Andrew Cagney <cagney@redhat.com>
1895
1896 * ar.c (remove_output): Use bfd_cache_close.
1897 * arsup.c (ar_end): Ditto.
1898
9d241085
RM
18992004-01-21 Roland McGrath <roland@redhat.com>
1900
1901 * readelf.c (get_note_type): Match NT_AUXV.
1902
d99e9f4d
NC
19032004-01-20 Nick Clifton <nickc@redhat.com>
1904
1905 * version.c (print_version): Update copyright year to 2004.
1906
f8b73030
MR
19072004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1908
1909 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1910 throughout.
1911 * aclocal.m4: Regenerate.
1912 * configure: Regenerate.
1913
f0312d39
JJ
19142004-01-12 Jakub Jelinek <jakub@redhat.com>
1915
1916 * objcopy.c: Include elf-bfd.h.
1917 (is_strip_section): Don't strip debugging sections if
1918 STRIP_NONDEBUG.
1919 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
1920 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
1921
1922 * objcopy.c (copy_section): Free relpp if relcount == 0.
1923
041821e6
ILT
19242004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1925
1926 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
1927 (stab_demangle_argtypes): Likewise.
1928 (stab_demangle_v3_argtypes): New static function.
1929 (stab_demangle_v3_arg): New static function.
1930
950d48e7
NC
19312004-01-12 Nick Clifton <nickc@redhat.com>
1932
1933 * objcopy.c (copy_object): Make the function boolean, returning
1934 FALSE upon failure.
eea6121a
AM
1935 (copy_archive): Handle the return value from copy_object.
1936 (copy_file): Likewise.
950d48e7 1937
d9296b18
NC
19382004-01-07 Nick Clifton <nickc@redhat.com>
1939
1940 * readelf.c (find_section): New function. Locates a named
1941 section.
1942 (get_debug_line_pointer_sizes): New function: Initialises the
1943 debug_line_pointer_sizes array.
eea6121a
AM
1944 (display_debug_lines): Call get_debug_line_pointer_sizes.
1945 (display_debug_loc): Likewise.
1946 (load_debug_loc): Use find_section.
1947 (load_debug_str): Likewise.
1948 (display_debug_info): Likewise.
1949 (prescan_debug_info): Delete.
1950 (debug_displays): Remove prescan field.
1951 (process_section_contents): Do not perform prescans.
d9296b18 1952
5e675b72
AM
19532004-01-03 Alan Modra <amodra@bigpond.net.au>
1954
1955 * objcopy.c (filter_bytes): Delete. Move code to..
1956 (copy_section): ..here. Simplify size adjustment. Divide
1957 section lma by interleave.
1958
f0660b73
NC
19592004-01-02 Nick Clifton <nickc@redhat.com>
1960
1961 * po/ru.po: New file: Russian translation.
1962 * configure.in (ALL_LINGUAS): Add ru
1963 * configure: Regenerate.
eb18fd22 1964
c9e214e5 1965For older changes see ChangeLog-0203
252b5132
RH
1966\f
1967Local Variables:
1968mode: change-log
1969left-margin: 8
1970fill-column: 74
1971version-control: never
1972End:
This page took 0.599483 seconds and 4 git commands to generate.