2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
1007acb3
L
12005-09-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 * readelf.c: Reordered.
4 (is_relocatable): New.
5 (dwarf_section): New structure for DWARF section.
6 (load_debug_section): New.
7 (free_debug_section): Likewise.
8 (debug_str_section): Likewise.
9 (debug_abbrev_section): Likewise.
10 (debug_str_contents): Removed.
11 (debug_str_size): Likewise.
12 (debug_loc_contents): Likewise.
13 (debug_loc_size): Likewise.
14 (debug_range_contents): Likewise.
15 (debug_range_size): Likewise.
16 (load_debug_str): Likewise.
17 (free_debug_str): Likewise.
18 (load_debug_loc): Likewise.
19 (free_debug_loc): Likewise.
20 (load_debug_arange): Likewise.
21 (free_debug_arange): Likewise.
22 (load_debug_abbrev): Likewise.
23 (free_debug_abbrev): Likewise.
24 (fetch_indirect_string): Updated.
25 (debug_apply_rela_addends): Likewise.
26 (process_debug_info): Likewise.
27 (get_debug_info): Likewise.
28 (display_debug_lines): Likewise.
29 (display_debug_pubnames): Likewise.
30 (display_debug_macinfo): Likewise.
31 (display_debug_abbrev): Likewise.
32 (display_debug_loc): Likewise.
33 (display_debug_str): Likewise.
34 (display_debug_info): Likewise.
35 (display_debug_aranges): Likewise.
36 (display_debug_ranges): Likewise.
37 (display_debug_frames): Likewise.
38 (display_debug_not_supported): Likewise.
39 (debug_displays): Likewise.
40 (display_debug_section): Likewise.
41 (get_file_header): Set is_relocatable.
42
700dd8b7
L
432005-09-30 H.J. Lu <hongjiu.lu@intel.com>
44
45 * readelf.c (debug_apply_rela_addends): Relocate the whole
46 section.
47 (process_debug_info): Don't call debug_apply_rela_addends.
48 (display_debug_frames): Likewise.
49 (get_debug_info): Call debug_apply_rela_addends.
50 (debug_displays): Add the "relocate" field.
51 (display_debug_section): Call debug_apply_rela_addends if
52 needed.
53
a70c2403
NC
542005-09-30 Matthias Kurz <mk@baerlap.north.de>
55
56 * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris
57 version of <locale.h> when ENABLE_NLS is not defined.
58
938ae749
MM
592005-09-26 Mark Mitchell <mark@codesourcery.com>
60
61 * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
62
ec9ec0f9
RH
632005-09-20 Richard Henderson <rth@redhat.com>
64
65 * readelf.c (display_debug_lines): Use unsigned long for address
66 increments. Use 0x prefix for all hex numbers.
67
ec1c4759
RE
682005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
69
70 * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
71 SHT_ARM_ATTRIBUTES.
72
8d5ff12c
L
732005-09-07 H.J. Lu <hongjiu.lu@intel.com>
74
75 * readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
76
a841cf65
L
772005-09-02 H.J. Lu <hongjiu.lu@intel.com>
78
79 * readelf.c (debug_abbrev_contents): New.
80 (debug_abbrev_size): Likewise.
81 (load_debug_abbrev): Likewise.
82 (free_debug_abbrev): Likewise.
83 (process_debug_info): Use them.
84
bc79cded
L
852005-08-17 H.J. Lu <hongjiu.lu@intel.com>
86
87 PR binutils/1179
88 * objdump.c (disassemble_bytes): Don't adjust
89 adjust_section_vma.
90 (adjust_addresses): Don't adjust vma for debugging section.
91 Adjust lma only for relocatable files.
92 (dump_bfd): Tell adjust_addresses if it is a relocatable file.
93
3e321448
L
942005-08-16 H.J. Lu <hongjiu.lu@intel.com>
95
96 * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
97
98 * configure.in (AC_GNU_SOURCE): Added.
99 (AC_CHECK_DECLS): Add stpcpy.
100 * configure: Regenerated.
101 * config.in: Likewise.
102
09ff3500
JJ
1032005-08-16 Jakub Jelinek <jakub@redhat.com>
104
105 * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
106 UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
107 buffer sizes.
108
36ae0db3
DJ
1092005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
110
111 * doc/binutils.texi (objdump): Document -M e300.
112
1c0751b2
DA
1132005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
114
115 * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
116 Don't access table entries past the end of the table.
117
61472819
DA
1182005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
119
120 * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
121 (get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
122
5477e8a0
L
1232005-08-11 H.J. Lu <hongjiu.lu@intel.com>
124
125 * NEWS: Mention "-t/--section-details" and
126 "-N/--full-section-name".
127
128 * doc/binutils.texi: Document "-t/--section-details". Remove
129 "-N/--full-section-name".
130
131 * readelf.c (do_full_section_name): Renamed to ...
132 (do_section_details): This.
133 (option): Rename "-N/--full-section-name" to
134 "-t/--section-details".
135 (usage): Likewise.
136 (parse_args): Likewise.
137 (get_elf_section_flags): Support do_section_details.
138 (process_section_headers): Updated for do_section_details.
139
eec8f817
DA
1402005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
141
142 * readelf.c (get_parisc_dynamic_type): Add new dynamic types.
143 (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when
144 e_machine is EM_PARISC.
145 (get_parisc_segment_type): Add new segment types.
146 (get_parisc_section_type_name): Add new section names.
147 (dynamic_section_parisc_val): Add new table entries.
148
c6972290
NC
1492005-08-01 Filip Navara <navaraf@reactos.com>
150
151 * dlltool.c (alphafunc): Remove and replace usage with nfunc.
152 (nfunc): Fix sorting of fastcall symbols when --kill-at is used.
153
3b22753a
L
1542005-07-25 H.J. Lu <hongjiu.lu@intel.com>
155
156 * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
157 (get_symbol_index_type): Likewise.
158 (get_elf_section_flags): Handle SHF_X86_64_LARGE.
159
f1969386
EC
1602005-07-21 Eric Christopher <echristo@apple.com>
161
162 * MAINTAINERS: Change affiliation.
163
32204df4
BE
1642005-07-19 Ben Elliston <bje@au.ibm.com>
165
166 * readelf.c (read_and_display_attr_value): Remove comment adjacent
167 to DW_ATE_decimal_float about it being a GNU extension.
168
85da3a56
NC
1692005-07-18 Nick Clifton <nickc@redhat.com>
170
171 * binemul.c: Fix name of Red Hat.
172 * binemul.h: Likewise.
173 * emul_aix.c: Likewise.
174 * emul_vanilla: Likewise.
175
df45824a
BE
1762005-07-18 Ben Elliston <bje@au.ibm.com>
177
178 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
179 value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
180
0f82ff91
AM
1812005-07-16 Alan Modra <amodra@bigpond.net.au>
182
183 * Makefile.am: Run "make dep-am".
184 * Makefile.in: Regenerate.
185
ba2a7846
EC
1862005-07-15 Eric Christopher <echristo@redhat.com>
187
188 * MAINTAINERS: Change affiliation.
189
49f58d10
JB
1902005-07-14 Jim Blandy <jimb@redhat.com>
191
192 * readelf.c: #include "elf/m32c.h"
193 (guess_is_rela, dump_relocations, get_machine_name): Add cases for
194 EM_M32C.
195 * Makefile.am (readelf.o): Update dependencies.
196 * Makefile.in: Regenerated.
197
d52d45a4
BE
1982005-07-08 Ben Elliston <bje@au.ibm.com>
199
200 * bucomm.h: Include <stdarg.h> unconditionally, not only when
201 ANSI_PROTOTYPES is defined. Remove #ifdef logic.
202 * dlltool.c: Likewise.
203 * dllwrap.c: Likewise.
204
0fd3a477
JW
2052005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
206
207 * bucomm.h (report): Add format attribute.
208 * dlltool.c (inform): Likewise.
209 * dllwrap.c (display, inform, warn): Likewise.
210 * objdump.c (objdump_sprintf): Likewise.
211 * readelf.c (error, warn): Likewise. Fix format bugs.
212
06803313
NC
2132005-07-05 Dmitry V. Levin <ldv@altlinux.org>
214 Nick Clifton <nickc@redhat.com>
215
216 * strings.c (filename_and_size_t): New typedef.
217 (strings_a_section): Skip sections with size greater or equal to
218 the file size. Cache the file size to avoid repeated stat()s.
219 (strings_object_file): Pass filename_and_size_t argument to
220 strings_a_section() via bfd_map_over_sections().
221
551b43fd
AM
2222005-07-04 Alan Modra <amodra@bigpond.net.au>
223
224 PR 1004
225 * objcopy.c (copy_object): Use bfd_make_section_with_flags.
226 (write_debugging_info): Likewise.
227 (setup_section): Use bfd_make_section_anyway_with_flags.
228
398ee8f1
SE
2292005-07-01 Steve Ellcey <sje@cup.hp.com>
230
231 * configure.in (AM_BINUTILS_WARNINGS): Add.
232 (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
233 * configure: Regenerate.
234 * config.in: Regenerate.
235 * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
236 * bucomm.h: (NEED_DECLARATION_*): Ditto.
237
b753922c
BE
2382005-06-30 Ben Elliston <bje@gnu.org>
239
240 * Makefile.am (check-DEJAGNU): Don't search for expect.
241 * Makefile.in: Regenerate.
242
c3298874
BE
2432005-06-30 Ben Elliston <bje@gnu.org>
244
245 * Makefile.am (EXPECT): Set to expect.
246 (RUNTEST): Likewise, set to runtest.
247 * Makefile.in: Regenerate.
248
08d8fa11
JJ
2492005-06-17 Jakub Jelinek <jakub@redhat.com>
250
251 * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
252 (process_section_headers): Use it.
253 (process_relocs): Don't crash if symsec is not SHT_SYMTAB
254 or SHT_DYNSYM.
255 (process_version_sections): Use sizeof (Elf_External_Versym)
256 instead of sh_entsize.
257
cbee2975
NC
2582005-06-16 Nick Clifton <nickc@redhat.com>
259
260 * rename.c (simple_copy): Only define if it is going to be used.
261 (smart_rename): Mark the preserve_dates parameter as possibly
262 being unused.
263
264 * resres.c (write_res_data): Prevent a potential compile time
265 warning by casting the return value from fwrite.
266
77f762d6
L
2672005-06-14 H.J. Lu <hongjiu.lu@intel.com>
268
269 PR 995
270 * ar.c (BUFSIZE): Moved to ...
271 * bucomm.h (BUFSIZE): Here.
272
273 * bucomm.c: Include <assert.h>.
274 (bfd_get_archive_filename): New.
275 * bucomm.h (bfd_get_archive_filename): New.
276
277 * objcopy.c (copy_unknown_object): New.
278 (copy_object): Use bfd_get_archive_filename when reporting input
279 error. Don't call fatal on unknown arch.
280 (copy_archive): Call copy_unknown_object on unknown format or
281 arch.
282
c256ffe7
JJ
2832005-06-14 Jakub Jelinek <jakub@redhat.com>
284
285 * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
286 (get_data): Add nmemb argument. Return NULL if nmemb * size
287 overflows. If var == NULL, allocate one extra byte and
288 clear it.
289 (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
290 get_64bit_program_headers, get_program_headers,
291 get_32bit_section_headers, get_64bit_section_headers,
292 get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
293 process_section_groups, process_relocs, slurp_ia64_unwind_table,
294 ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
295 get_32bit_dynamic_section, get_64bit_dynamic_section,
296 process_dynamic_section, process_version_sections, get_dynamic_data,
297 process_symbol_table, dump_section, load_debug_str, load_debug_loc,
298 load_debug_range, read_and_display_attr_value, process_debug_info,
299 get_debug_info, frame_need_space, display_debug_frames,
300 display_debug_section, process_mips_specific, process_gnu_liblist,
301 process_corefile_note_segment): Adjust get_data callers. Use
302 cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
303 passed size is a product of 2 numbers.
304
305 * readelf.c (print_mode): Fix comment typo.
306 (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
307 (dump_relocations): Fix a thinko in check for invalid st_name.
308 (process_program_headers): Don't crash if string_table is NULL.
309 (process_section_headers): Don't crash if e_shstrndx is invalid.
310 Ensure string_table_length is 0 if string_table == NULL.
311 Don't return just because string_table is NULL.
312 (process_section_groups): Don't crash if symtab's sh_link or
313 symbol's st_name is invalid. Fix a memory leak. Fix check for
314 invalid section number entry.
315 (process_relocs): Don't crash if relocation or symbol section's
316 sh_link is invalid.
317 (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
318 relocation section's sh_info is invalid.
319 (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
320 table's sh_link is invalid.
321 (process_version_sections): Don't crash on version or symbol
322 section's sh_link is invalid. Don't crash if symbol's st_shndx
323 is invalid.
324 (process_symbol_table): Don't crash if string table is corrupt
325 or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
326 (debug_apply_rela_addends): Don't crash if relocation section's
327 sh_info or sh_link is invalid.
328 (display_debug_loc): Warn for unterminated .debug_loc section
329 or start offsets not within .debug_loc section boundaries.
330 (process_gnu_liblist): Don't crash if liblist section's sh_link
331 or entry's l_name is invalid.
332
f9ecb0a4
JJ
3332005-06-09 Jakub Jelinek <jakub@redhat.com>
334
335 * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
336 If q->howto->name == NULL, print q->howto->type as number instead.
337 (dump_reloc_set): Likewise.
338
a34e3ecb
EC
3392005-06-07 Eric Christopher <echristo@redhat.com>
340
341 * readelf.c (guess_is_rela): Support ms1.
342 (dump_relocations): Ditto.
343 (get_machine_name): Ditto.
344
1ae72221
AH
3452005-06-07 Aldy Hernandez <aldyh@redhat.com>
346 Michael Snyder <msnyder@redhat.com>
347 Stan Cox <scox@redhat.com>
348
349 * Makefile.am (readelf.o): Depend on ms1.h.
350
351 * Makefile.in: Regenerate.
352
353 * readelf.c: Include ms1.h.
354
5420f73d
L
3552005-06-06 H.J. Lu <hongjiu.lu@intel.com>
356
357 PR 990
358 * nm.c (print_symbol): Call bfd_find_line before
359 bfd_find_nearest_line.
360
b12fe839
AM
3612005-06-06 Alan Modra <amodra@bigpond.net.au>
362
363 * NEWS: Mention new powerpc ld support.
364
b7d4af3a
JW
3652005-06-03 Steve Ellcey <sje@cup.hp.com>
366
367 * configure.in: Check for getc_unlocked prototype.
368 * configure: Regenerate.
369 * config.in: Regenerate.
370 * strings.c (get_char): Only call getc_unlocked if we have seen a
371 prototype.
372
82d457f6
NC
3732005-06-03 Nick Clifton <nickc@redhat.com>
374
375 * configure.in (ALL_LINGUAS): Add zh_TW
376 * configure: Regenerate.
377 * po/zh_TW.po: New Chinese (traditional) translation.
378
7ace3541
RH
3792005-05-31 Richard Henderson <rth@redhat.com>
380
381 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
382
fabcb361
RH
3832005-05-29 Richard Henderson <rth@redhat.com>
384
385 * readelf.c (get_alpha_dynamic_type): New.
386 (get_dynamic_type): Call it.
387
391cb864
L
3882005-05-24 H.J. Lu <hongjiu.lu@intel.com>
389
390 * readelf.c (process_section_groups): Report group section
391 index. Check if the section member index is valid.
392
0c552dc1
FF
3932005-05-23 Fred Fish <fnf@specifixinc.com>
394
395 * addr2line.c (unwind_inlines): New flag for 'i' option.
396 (usage): Document '-i' option.
397 (long_options): Recognize '--inlines'.
398 (translate_addresses): Loop, calling bfd_find_inliner_info as
399 necessary and printing multiple output lines.
400 (main): Handle 'i' option.
401 * doc/binutils.texi (addr2line): Document '-i' option.
402 * NEWS: Mention new addr2line '-i' option.
403
41a865ba
NC
4042005-05-23 Nick Clifton <nickc@redhat.com>
405
406 * readelf.c (fetch_indirect_string): Display a warning message
407 when a corrupt DW_FORM_strp value is encountered.
b12fe839 408
41a865ba
NC
409 (process_debug_info): Mention that the compilation unit offset is
410 being displayed in hexadecimal.
b12fe839 411
41a865ba
NC
412 (display_debug_lines): Fix typo in name of .debug_line section.
413
e3e71e27
ZW
4142005-05-19 Zack Weinberg <zack@codesourcery.com>
415
416 * Makefile.am: Have 'all' depend on 'info'.
417 * Makefile.in: Regenerate.
418
d68f4033
BE
4192005-05-19 Ben Elliston <bje@au.ibm.com>
420
421 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
422 value of DW_ATE_GNU_decimal_float.
423
970c3dbc
DJ
4242005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
425
426 * doc/Makefile.am (config.texi): Don't use $<.
427 * doc/Makefile.in: Regenerated.
428
39ddb54e
NC
4292005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
430
e3e71e27 431 * deflex.l: Ignore CRs
39ddb54e 432
42ecbf5e
DJ
4332005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
434
435 * acinclude.m4: Remove obsolete code.
436 * configure.in: Update AC_PREREQ.
437 * doc/Makefile.am (binutils_TEXINFOS): Define.
438 (config.texi): Depend on distributed files instead of built
439 files.
440 (binutils.dvi, binutils.info): Remove unnecessary rules.
441 (DISTCLEANFILES): Remove.
442 (install-data-local): Renamed from install.
443 (info-local): Renamed from info.
444 * Makefile.in, aclocal.m4, config.in, configure,
445 doc/Makefile.in: Regenerated.
446
1fe44d79
AM
4472005-05-14 Alan Modra <amodra@bigpond.net.au>
448
449 * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
450 DT_PPC_GLINK.
451
f59f7c79
FF
4522005-05-13 Fred Fish <fnf@specifixinc.com>
453
454 * readelf.c: Fix a couple of obvious comment typos,
455 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
456
a4a00738
L
4572005-05-13 H.J. Lu <hongjiu.lu@intel.com>
458
459 * readelf.c (dump_ia64_unwind): Get stamp with proper size.
460
52d1fb02
NC
4612005-05-12 Nick Clifton <nickc@redhat.com>
462
463 * readelf.c (display_debug_lines): If pointer_size has not been
464 found then assume that it is 4 in order to prevent a seg fault
465 when process_extend_line_op attempts to read the line data.
466
7490d522
AM
4672005-05-11 Alan Modra <amodra@bigpond.net.au>
468
469 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
470 (get_dynamic_type): Call the above.
471
b43b5d5f
NC
4722005-05-07 Nick Clifton <nickc@redhat.com>
473
474 * Update the address and phone number of the FSF organization in
475 the GPL notices in the following files:
476 aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
477 arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
478 budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
479 cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
480 dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
481 ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
482 objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
483 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
484 size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
485 syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
486 windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
487
a580b8e0
JB
4882005-05-06 Jan Beulich <jbeulich@novell.com>
489
490 * objcopy.c (copy_file): Don't delete output upon error here.
491 (copy_main): Delete output upon error.
492
27eed06b
BE
4932005-05-02 Ben Elliston <bje@au.ibm.com>
494
495 * dlltool.c (dtab): Remove empty function.
496 (process_duplicates): Remove calls to dtab().
497
36d3b955
MR
4982005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
499
500 * doc/binutils.texi (strip, objcopy): Clarify the description of
501 the "--strip-debug" option. Fix a typo.
502
cba12006
L
5032005-04-29 H.J. Lu <hongjiu.lu@intel.com>
504
505 * bucomm.c: Undo the last change.
506 * bucomm.h: Likewise.
507
89b78896
BE
5082005-04-29 Ben Elliston <bje@au.ibm.com>
509
510 * syslex.l (word, number, unit): Remove unused variables.
511 * nlmheader.y (keyword_tokens): Make static.
512 * coffdump.c (dump_coff_symbol, coff_dump): Make static.
513 * coffgrok.c (lofile, last_function_symbol, last_function_type,
514 last_struct, last_enum, cur_sfile): Make variables static.
515 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
516 sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
517 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
518 names, pnames): Likewise.
519
85b1c36d
BE
5202005-04-29 Ben Elliston <bje@au.ibm.com>
521
522 * ar.c (mri_mode): Make static.
523 * arsup.c (obfd, real_name, outfile): Likewise.
524 * binemul.c (ar_emul_create): Remove unused function.
525 (ar_emul_default_create): Likewise.
526 * binemul.h (ar_emul_create): Remove declaration.
527 (ar_emul_default_create): Likewise.
528 (struct bin_emulation_xfer_struct): Remove ar_create member.
529 * bucomm.c (report): Make static.
530 * bucomm.h (report): Remove declaration.
531 * cxxfilt.c (mbuffer): Make static.
532 (main): Use unsigned ints for some loop control variables.
533 * readelf.c: Make many global variables static.
534 * size.c (berkeley_format): Make static.
535 (long_options): Likewise.
536 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
537 structure initialiser.
538 (bin_aix5_emulation): Likewise.
539 * emul_vanilla.c (bin_vanilla_emulation): Likewise.
540
943ea8a2
BE
5412005-04-27 Ben Elliston <bje@au.ibm.com>
542
543 * syslex.l: Adjust top-of-file comment: this file is part of GNU
544 binutils, not GNU ld.
545
e7f918ad
NC
5462005-04-25 Nick Clifton <nickc@redhat.com>
547
bee59fd2
NC
548 PR872
549 * objcopy.c (copy_archive): Initialise 'obfd' field of new
550 name_list structure.
7490d522 551
e7f918ad 552 * objcopy.c (copy_usage): Fix description of -K switch.
bee59fd2 553
e7f918ad
NC
554 * doc/binutils.texi (strip, objcopy): Fix description of -K
555 switch.
556
ae67fcb5
DJ
5572005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
558
559 * readelf.c (display_debug_frames): Use data factor for
560 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
561
3bee8bcd
L
5622005-04-19 H.J. Lu <hongjiu.lu@intel.com>
563
564 * objdump.c (dump_section_header): Skip linker created section.
565
64c1196b
L
5662005-04-17 H.J. Lu <hongjiu.lu@intel.com>
567
568 * objdump.c (dump_section_header): Support SEC_GROUP.
569
520494b6
NC
5702005-04-16 Nick Clifton <nickc@redhat.com>
571
572 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
573 printf string.
574
ac559f4a
NC
5752005-04-15 Nick Clifton <nickc@redhat.com>
576
577 * objcopy.c (copy_file): Issue an error message when attmepting to
578 copy an empty input file.
579
9e9b66a9
AM
5802005-04-14 Alan Modra <amodra@bigpond.net.au>
581
582 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
583 * configure.in: Include ../bfd/warning.m4 contents.
584 * Makefile.in: Regenerate.
585 * configure: Regenerate.
586 * doc/Makefile.in: Regenerate.
587
ceae3e33
AM
5882005-04-12 Alan Modra <amodra@bigpond.net.au>
589
590 * Makefile.am: Run "make dep-am".
591 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
592 (sysroff.o, defparse.o, deflex.o): Likewise.
593 (nlmheader.o, rcparse.o, rclex.o): Likewise.
594 * Makefile.in: Regenerate.
595 * aclocal.m4: Regenerate.
596 * config.in: Regenerate.
597 * configure: Regenerate.
598
53260797
JB
5992005-04-11 Jan Beulich <jbeulich@novell.com>
600
601 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
602
52f3cf45
L
6032005-04-06 Nick Clifton <nickc@redhat.com>
604 H.J. Lu <hongjiu.lu@intel.com>
605
606 * po/rw.po: New translation: Kinyarwanda.
607 * configure.in (ALL_LINGUAS): Add rw.
608 * configure: Regenerate.
609
a8b683fc
MR
6102005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
611
612 * readelf.c (debug_apply_rela_addends): Reorder r_info as
613 necessary for 64-bit MIPS.
614
470e4bd1
MR
6152005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
616
617 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
618
661f7c35
NC
6192005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
620
621 PR binutils/813
622 * objdump.c (dump_symbols): Add a check to see if the section for
623 the symbol is chosen using process_section_p.
624
81fc812e
L
6252005-04-01 H.J. Lu <hongjiu.lu@intel.com>
626
627 * NEWS: Mention new readelf options, "-N/--full-section-name"
628 and "-g/--section-groups".
629
630 * doc/binutils.texi: Document new readelf options,
631 "-N/--full-section-name" and "-g/--section-groups".
632
595cf52e
L
6332005-03-31 H.J. Lu <hongjiu.lu@intel.com>
634
635 * readelf.c (do_full_section_name): New.
636 (options): Add "--full-section-name"/'N'.
637 (usage): Add -N/--full-section-name.
638 (parse_args): Handle 'N'.
639 (process_section_headers): Print out the full section name if
640 do_full_section_name isn't 0.
641
e46eba98
NC
6422005-03-31 Nick Clifton <nickc@redhat.com>
643
644 * configure.in: Add a check for <unistd.h> providing a prototype
645 for getopt() which is compatible with the one in
646 include/getopt.h. If so then define HAVE_DECL_GETOPT.
647 * configure: Regenerate.
648 * config.in (HAVE_DECL_GETOPT): Add.
649 * aclocal.m4: Regenerate.
650 * addr2line.c: Include "config.h" before "bfd.h" so that
651 HAVE_DECL_GETOPT is defined before getopt.h is included.
652
ec72cfe5
NC
6532005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
654
655 * doc/binutils.texi: Document new VAX disassembler-specific option
656 -M entry:0xfooba8.
657 * NEWS: Mention the new option.
7490d522 658
abd18680
AP
6592005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
660
661 * MAINTAINERS: Add myself as H8300 maintainer.
662
5810296b
AL
6632005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
664
665 * objdump.c (disassemble_bytes): Remove cast.
666
335a0d39
DJ
6672005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
668
669 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
670 binutils-2_16-branch.
671
163730f0
MK
6722005-03-25 Mark Kettenis <kettenis@gnu.org>
673
674 * MAINTAINERS: Add myself as M88k maintainer.
675
bcfb5d77
DS
6762005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
677
678 * winduni.c (unicode_from_ascii): Don't declare variables
679 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
680 string len.
681
1acfb01b
DD
6822005-03-24 Dmitry Diky <diwil@spec.ru>
683
7490d522 684 * MAINTAINERS: Add myself as MSP430 maintainer.
1acfb01b 685
fa0c5056
NC
6862005-03-23 Nick Clifton <nickc@redhat.com>
687
688 * po/fr.po: Updated translation.
689
41772c33
NC
6902005-03-22 Nick Clifton <nickc@redhat.com>
691
692 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
693 privileges list.
694
b294bdf8
MM
6952005-03-17 Paul Brook <paul@codesourcery.com>
696 Dan Jacobowitz <dan@codesourcery.com>
697 Mark Mitchell <mark@codesourcery.com>
698
699 * binutils/readelf.c (get_arm_segment_type): New function.
700 (get_segment_type): Use it.
701
58450b3b
PB
7022005-03-18 Paul Brook <paul@codesourcery.com>
703
704 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
705
2115ce97
DN
7062005-03-17 Diego Novillo <dnovillo@redhat.com>
707
708 * MAINTAINERS: Remove self as maintainer of x86 intel
709 mode.
710
1ad12f97
NC
7112005-03-16 Nick Clifton <nickc@redhat.com>
712 Ben Elliston <bje@au.ibm.com>
713
569acd2c 714 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 715 compiler command line. Enabled by default. Disable via
569acd2c 716 --disable-werror.
1ad12f97
NC
717 * configure: Regenerate.
718
7b4a0685 7192005-03-15 Daniel Marques <marques@cs.cornell.edu>
7490d522 720 Nick Clifton <nickc@redhat.com>
7b4a0685
NC
721
722 * objcopy.c (globalize_specific_list): New linked list of symbols
723 to convert from local binding into global binding.
724 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
725 OPTION_GLOBALIZE_SYMBOLS.
726 (copy_options): Add "globalize-symbol" and "globalize-symbols".
727 (copy_usage): Document the new switches.
728 (filter_symbols): Convert defined local symbols mentioned on the
729 globalize_specific_list into global symbols.
730 (copy_object): Perform actions if the globalize_specific_list is
731 not empty.
732 (copy_main): Handle new switches.
733 * NEWS: Mention new feature.
734 * doc/binutils.texi: Document new switches.
735
ea8409f7
AM
7362005-03-15 Alan Modra <amodra@bigpond.net.au>
737
729ae8d2
AM
738 * po/es.po: Commit new Spanish translation.
739
ea8409f7
AM
740 * po/fr.po: Commit new French translation.
741
248642ab
AM
7422005-03-14 Alan Modra <amodra@bigpond.net.au>
743
744 * po/tr.po: Commit new Turkish translation.
745
e8d46048
NC
7462005-03-11 Nick Clifton <nickc@redhat.com>
747
748 * po/fr.po: Updated French translation.
749
953130a5
NC
7502005-03-10 Nick Clifton <nickc@redhat.com>
751
752 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
953130a5 753 * configure: Regenerate.
af99dc6d
NC
754 * po/ro.po: New file.
755
756 * po/ru.po: Updated file.
953130a5 757
06647dfd
AM
7582005-03-05 Alan Modra <amodra@bigpond.net.au>
759
760 * po/binutils.pot: Regenerate.
761
bb14f524
JB
7622005-03-02 Jan Beulich <jbeulich@novell.com>
763
764 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
765 * objcopy.c (copy_file): Likewise.
766 (strip_main): Likewise.
767
ce04548a
NC
7682005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
769 Nick Clifton <nickc@redhat.com>
770
771 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
772 (struct objdump_disasm_info): Add 'reloc' field.
773 (disassemble_bytes): Fix check for when an insn has a reloc
774 associated with it. Improve comment explaining why the use of
775 octets is wrong. Set the 'reloc' field in objdump_disasm_info
776 structure.
777 (objdump_print_addr): Use new 'reloc' field to lookup the correct
778 address for the symbol associated with the current instruction's
779 relocation.
780 (disassemble_info): Initialise 'reloc' field.
781
e9e44622
JJ
7822005-02-28 Jakub Jelinek <jakub@redhat.com>
783
784 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
785 get_segment_type, get_section_type_name, get_elf_class,
786 get_data_encoding, get_group_flags, dynamic_section_mips_val,
787 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
788 get_AT_name, process_mips_specific, process_gnu_liblist,
789 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
790 sprintf where needed.
791 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
792 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
793 using strcat.
794 (get_dynamic_flags): Renamed to...
795 (print_dynamic_flags): ... this. Print the flags to stdout instead
796 of returning them as string.
797 (process_dynamic_section): Adjust caller.
798
35515c66
L
7992005-02-25 H.J. Lu <hongjiu.lu@intel.com>
800
801 * readelf.c (display_debug_ranges): Print out offset for end of
802 list.
803
9210d879
AM
8042005-02-23 Alan Modra <amodra@bigpond.net.au>
805
806 * dlltool.c: Warning fixes.
807 * objdump.c: Likewise.
808
dc3c06c2
AM
8092005-02-22 Alan Modra <amodra@bigpond.net.au>
810
811 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
812 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
813 dependencies. Run "make dep-am".
814 * nlmconv.c: Warning fixes.
815 * readelf.c: Likewise.
816 * srconv.c: Likewise.
817 * sysdump.c: Likewise.
818 * sysinfo.y: Likewise.
819 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
820 of strcpy.
821 * Makefile.in: Regenerate.
822
ebe372c1
L
8232005-02-21 H.J. Lu <hongjiu.lu@intel.com>
824
825 * objcopy.c (parse_flags): Replace SEC_SHARED with
826 SEC_COFF_SHARED.
827
828 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
829 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
830 SEC_COFF_SHARED for COFF only.
831
72f47744
AM
8322005-02-21 Alan Modra <amodra@bigpond.net.au>
833
834 * Makefile.am: Run "make dep-am"
835 * Makefile.in: Regenerate.
836 * doc/Makefile.in: Regenerate.
837
66543521
AM
8382005-02-21 Alan Modra <amodra@bigpond.net.au>
839
840 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
841 (byte_get_little_endian): Don't handle size of -8.
842 (byte_get_signed, byte_get_big_endian): Likewise.
843 (print_dec_vma, print_hex_vma): New functions.
844 (print_vma): Use them. Return chars output.
845 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
846 (process_symbol_table): Handle alpha and s390 .hash.
847
904c75ac
L
8482005-02-18 H.J. Lu <hongjiu.lu@intel.com>
849
850 * readelf.c (display_debug_loc): Print out offset for end of
851 list.
852
ac40b919
JM
8532005-02-18 Joseph S. Myers <joseph@codesourcery.com>
854
855 * Makefile.am (TOOL_PROGS): Add objdump.
856 * Makefile.in: Regenerate.
857
0af6db78
AM
8582005-02-17 Alan Modra <amodra@bigpond.net.au>
859
860 * deflex.l (YY_NO_UNPUT): Define.
861 * rclex.l (YY_NO_UNPUT): Define.
862 * rcparse.y (null_unichar): New static var.
863 (res_null_text): Use it rather than attempting to init from wchar_t.
864 * windres.c: Include assert.h and time.h before getopt.h.
865 Include config.h and unistd.h too.
866
b5e6aa63
NC
8672005-02-15 Nick Clifton <nickc@redhat.com>
868
869 * nlmconv.c: Provide a full prototype for the localtime() function
870 in order to avoid a compile time warning.
871
d1f5c6e3
L
8722005-02-11 H.J. Lu <hongjiu.lu@intel.com>
873
874 * readelf.c (group_count): Don't initialize it.
875 (process_section_groups): Reurn 1 if we won't do unwind nor
876 section groups. Set group_count to 0 before counting group
877 sections and return 1 if there are no group sections. Reread
878 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
879 section 0.
880 (process_object): Only set do_unwind to 0 if
881 process_section_groups return 0.
882
3517749c
ILT
8832005-02-10 Ian Lance Taylor <ian@airs.com>
884
885 * MAINTAINERS: Update my e-mail address.
886
0dffe982
MM
8872005-02-10 Mark Mitchell <mark@codesourcery.com>
888
889 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
890 maintainers.
891
c4cf3821
NC
8922005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
893
894 * MAINTAINERS: Add self as maintainer of MAXQ.
895
89fac5e3
RS
8962005-01-31 Richard Sandiford <rsandifo@redhat.com>
897
898 * readelf.c (eh_addr_size): New variable.
899 (find_section): Move earlier in file. Return empty sections too.
900 (process_program_headers): Use find_section to find .dynamic.
901 (process_section_headers): Initialize eh_addr_size.
902 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
903 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
904 (display_debug_frames): Use it instead of local addr_size variable.
905 (size_of_encoded_value): Get pointer size from eh_addr_size rather
906 than is_32bit_elf.
907
c46f8c51
AC
9082005-01-31 Andrew Cagney <cagney@gnu.org>
909
910 * configure: Regenerate to track ../gettext.m4.
911
d342277e
NC
9122005-01-31 Nick Clifton <nickc@redhat.com>
913
914 * version.c (print_version): Bump the copyright date to 2005.
915
8615f3f2
AM
9162005-01-25 Alan Modra <amodra@bigpond.net.au>
917
918 * nm.c (display_rel_file): Read dynamic syms before calling
919 bfd_get_synthetic_symtab.
920
84e43642
BE
9212005-01-21 Ben Elliston <bje@au.ibm.com>
922
923 * dlltool.c (dump_iat): Remove unused function.
924 (gen_exp_file): Remove #if 0'd code.
925 (make_one_lib_file): Likewise.
926 * srconv.c: Remove #if 0'd code throughout.
927 * size.c (lprint_number): Remove.
928 (print_berkeley_format): Remove #if 0'd code.
929 * ar.c (do_quick_append): Remove declaration and definiton.
930 (main): Remove #if 0'd code.
931 * filemode.c (filemodestring): Remove #if 0'd function.
932 * sysdump.c (unit_info_list): Remove function.
933 (object_body_list): Likewise.
934 (program_structure): Likewise.
935 (debug_list): Likewise.
936 (module): Remove #if 0'd code.
937
619b8b60
MM
9382005-01-20 Mark Mitchell <mark@codesourcery.com>
939
a332ee82
MM
940 * BRANCHES: Add binutils-2_15-branch.
941
619b8b60
MM
942 * MAINTAINERS: Document branch policy.
943 * BRANCHES: New file.
944
e39893d7
FF
9452005-01-19 Fred Fish <fnf@specifixinc.com>
946
947 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
948 * doc/binutils.texi (objdump): Document the "no-aliases"
949 disassembly option.
950
b09a7772
NC
9512005-01-17 Eugene Kotlyarov <ekot@narod.ru>
952
953 PR binutils/647
954 * rcparse.y (RCDATA): Allow a filename to be supplied as the
955 parameter. Parse it with define_rcdata_file().
956 * resrc.c (define_rcdata_file): New function.
957 * windres.h: Provide a prototype for the new function.
958
959 * resrc.c (define_user_file): Fix typo by replacing "font file"
960 with "file".
961
ccf33464
JT
9622005-01-16 Jason Thorpe <thorpej@netbsd.org>
963
964 * MAINTAINERS: Update my email address.
965
a0ce7f12
DS
9662005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
967
968 * dlltool.c (set_dll_name_from_def): New function. Strip name
969 to basename, with warning.
8615f3f2 970 (def_name): Use it.
a0ce7f12
DS
971 (def_library): Likwise.
972 (main): Strip arg of --dllname to basename, with warning.
973 Only use basename of exp_name when inferring dll_name.
974
195a97ce
NC
9752005-01-11 Nick Clifton <nickc@redhat.com>
976
977 PR binutils/637
978 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
979 footnote in order to prevent the sed script in the Makefile from
980 converting it into c++filt.
981
0853c092
L
9822005-01-10 H.J. Lu <hongjiu.lu@intel.com>
983
984 BZ 635
985 readelf.c (saved_base_address): Removed.
986 (decode_64bit_range): Likewise.
987 (decode_range): Likewise.
988 (display_64bit_debug_ranges): Likewise.
989 (debug_info): Add range_lists, num_range_lists and
990 max_range_lists.
991 (read_and_display_attr_value): Handle do_debug_ranges.
992 (process_debug_info): Likewise.
993 (display_debug_ranges): Rewrite.
994 (process_object): Free range_lists.
995
0bcb06d2
AS
9962005-01-10 Andreas Schwab <schwab@suse.de>
997
998 * configure.in: Don't define SKIP_ZEROES.
999 * configure: Regenerate.
1000 * objdump.c (disassemble_data): Set skip_zeroes and
1001 skip_zeroes_at_end in disasm_info to defaults.
1002 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
1003 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
1004 always define.
1005 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
1006 objdump_disasm_info.
1007
e54b12b7
L
10082005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1009
1010 * readelf.c (display_debug_loc): Display base address
1011 specifiers. Always output <End of list>.
1012
b38c7015
L
10132005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 * readelf.c (have_frame_base): New.
1016 (need_base_address): Likewise.
1017 (saved_base_address): Likewise.
1018 (decode_location_expression): Return 1 if DW_AT_frame_base is
1019 needed.
1020 (debug_info): Add base_address and a have_frame_base pointer.
1021 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
1022 saved_base_address. Record base address. Set have_frame_base.
1023 Record if a location list has DW_AT_frame_base. Display if a
1024 location expression has no DW_AT_frame_base but needs one. Set
1025 saved_base_address only if needed.
1026 (process_debug_info): Clear have_frame_base, saved_base_address
1027 and set need_base_address.
1028 (display_debug_loc): Display if a location expression has no
1029 DW_AT_frame_base but needs one. Display if start >= end. Don't
1030 adjust for section address. Properly handle base address.
1031 (process_object): Free the have_frame_base pointer in
1032 debug_info.
1033
b0660586
L
10342005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * readelf.c (display_debug_loc): Display offsets for hole and
1037 overlap.
1038 (display_debug_str): Add a newline at the end.
1039
8b626bcf
NC
10402005-01-04 Armin Diehl <diehl@nordrhein.de>
1041
1042 PR binutils/630
1043 * nlmconv.c (main): Only store the basename of the output filename
1044 in the module table.
1045
5b18a4bc
NC
10462005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 BZ 615
1049 * readelf.c (process_debug_info): New.
1050 (debug_info): Add num_loc_offsets, loc_offsets and
1051 last_loc_offset_p.
1052 (get_debug_info): Use process_debug_info.
1053 (display_debug_loc): Properly handle location list. Warn if bad
1054 location lists are encoutnered.
1055 (read_and_process_attr_value): New.
1056 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
1057 (display_debug_info): Use process_debug_info.
1058 (process_object): Also free loc_offsets in debug_information.
1059
180e47e2
AM
10602004-12-31 Alan Modra <amodra@bigpond.net.au>
1061
1062 * objdump.c (remove_useless_symbols): Discard section symbols.
1063
0c548fce
L
10642004-12-27 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * readelf.c (read_leb128): Support 64bit host.
1067
5b18a4bc
NC
10682004-12-23 Nick Clifton <nickc@redhat.com>
1069
1070 PR binutils/616
1071 * readelf.c (debug_info): Add 'cu_offset' field.
1072 (get+pointer_size_of_comp_unit): Rename to
1073 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
1074 the offset of the comp_unit if requested.
1075 (get_debug_info): Record comp_unit offsets as well.
1076 (display_debug_lines): Call get_pointer_size_of_comp_unit.
1077 (decode_location_expression): Add an extra parameter - the offset
1078 of the current comp-unit. Use this when decoding the DW_OP_call2
1079 and DW_OP_call4 operators.
1080 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
1081 comp_unit offset on the decode_location_expression.
1082 (read_and_display_attr_value): Pass the comp_unit offset on the
1083 decode_location_expression.
1084 (display_debug_frames): Pass 0 as the comp_unit offset to
1085 decode_location_expression.
8615f3f2 1086
76a56260
NC
10872004-12-22 Nick Clifton <nickc@redhat.com>
1088
1089 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
1090 New variables associated with obtaining the pointer size for a
1091 comp_unit.
1092 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
1093 of the section requesting the pointer size. Use this name in
1094 error messages. If there are not enough comp_units available
1095 produce a warning message, but return the last known pointer size
1096 so that section dumping can continue.
1097 (get_debug_info): Reset the new variables.
1098 (display_debug_lines): Add extra parameter to invocation of
1099 get_pointer_size_of_comp_unit and remove error message when it
1100 returns 0.
1101 (display_debug_loc): Likewise.
1102
bcf32829
JB
11032004-12-15 Jan Beulich <jbeulich@novell.com>
1104
1105 * doc/binutils.texi: Document --strip-unneeded-symbol and
1106 --strip-unneeded-symbols.
1107 * objcopy.c (strip_unneeded_list): New.
1108 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
1109 and OPTION_STRIP_UNNEEDED_SYMBOLS.
1110 (copy_options): Add --strip-unneeded-symbol and
1111 --strip-unneeded-symbols.
1112 (copy_usage): Likewise.
1113 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
1114 and the symbol is not needed.
1115 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
1116 OPTION_STRIP_UNNEEDED_SYMBOLS.
1117
ebcb91b7
ILT
11182004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
1119
1120 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
1121
a2f33459
BE
11222004-12-08 Ben Elliston <bje@au.ibm.com>
1123
1124 * arlex.l: Fix formatting.
1125
36607f99
BE
11262004-12-08 Ben Elliston <bje@au.ibm.com>
1127
1128 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
1129 config.texi whose value is the current month and year.
1130 * doc/Makefile.in: Rebuild.
1131 * doc/binutils.texi: Set the document subtitle to be the value of
1132 the Texinfo UPDATED variable (obtained from config.texi).
1133
2aa9814e
BE
11342004-12-07 Ben Elliston <bje@au.ibm.com>
1135
1136 PR binutils/249
1137 * doc/binutils.texi (def file format): New node.
1138 (dlltool): Use the tool name as the @chapter name, like all the
1139 other binutils. Use @file{.def} throughout for consistency.
1140
c7de9216
BE
11412004-12-06 Ben Elliston <bje@au.ibm.com>
1142
1143 * dlltool.c: Comment fix.
1144
2423fbe6
BE
11452004-12-06 Ben Elliston <bje@au.ibm.com>
1146
1147 * doc/binutils.texi: Update copyright years.
1148
73fb7068
RS
11492004-12-03 Richard Sandiford <rsandifo@redhat.com>
1150
1151 * MAINTAINERS: Remove mention of config.if.
1152
32118081
NC
11532004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1154
1155 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1156 * Makefile.in: Regenerate.
1157
2b25cacb
ILT
11582004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
1159
1160 PR binutils/536
1161 * stabs.c (stab_demangle_template): Call stab_demangle_count
1162 rather than stab_demangle_get_count to get the length of a pointer
1163 target.
1164
74aba8aa
DS
11652004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
1166
1167 * defparse.y: Remove unnecessary commas from token list.
1168
977cdf5a
NC
11692004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1170
1171 * doc/binutils.texi (nm): Update description of weak symbols.
1172
18bd398b
NC
11732004-11-03 Nick Clifton <nickc@redhat.com>
1174
1175 * readelf.c (do_debug_ranges): New variable.
1176 (usage): Document new switch: -wR or --debug-dump=Ranges.
1177 (parse_args): Handle new switch. Replace switch statement for the
1178 long options with a more compact table structure.
1179 (process_section_headers): Allow the dumping of .debug_ranges
1180 sections if so requested.
1181 (debug_displays): Likewise.
1182 (load_debug_range): New function: Grabs the contents of a
1183 .debug_ranges section.
1184 (free_debug_range): New function: Releases the grabbed
1185 .debug_ranges section.
1186 (decode_64bit_range): New function: Displays a 64-bit range in a
1187 .debug_ranges section.
1188 (decode_range): New function: Displays a 32-bit range in a
1189 .debug_ranges section.
1190 (read_and_display_attr_value): Record the value of DW_AT_low_pc
1191 attributes. Use decode_ranges() to display a DW_AT_ranges
1192 attribute.
1193 (display_debug_info): Use load_debug_range() and
1194 free_debug_range().
1195 (display_64bit_debug_ranges): New function. Displays the contents
1196 of a 64-bit format .debug_ranges section.
1197 (display_debug_ranges): New function: Displays the contents of a
1198 32-bit .debug_ranges section.
8615f3f2 1199
18bd398b
NC
1200 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
1201 global scope.
1202 (process_object): Initialise the dump_sects array from the
1203 cmdline_dump_sects array before processing each object file.
1204
1205 (streq, strneq): New macros. Use them to replace occurrences of
1206 strcmp() and strncmp().
1207
1208 (debug_information): New structure array to replace
1209 debug_line_pointer_sizes array.
1210 (num_debug_info_entries): New variable to replace
1211 num_debug_line_pointers.
1212 (get_pointer_size_of_comp_unit): New function: Returns the pointer
1213 size of a given compilation unit.
1214 (get_debug_info): New function to replace
1215 get_debug_line_pointer_sizes.
1216 (display_debug_lines): Use the new functions.
1217 (display_debug_loc): Likewise.
8615f3f2 1218
18bd398b
NC
1219 (disassemble_section): Change return type to int.
1220 (display_debug_lines): Move local variables to their
1221 innermost scope.
1222 (display_debug_section): Likewise. Also record the return value
1223 of functions called and pass this back to the parent. Also only
1224 warn about undumped sections when the user explicitly requested
1225 their dumping.
1226
1227 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
1228 types as well.
8615f3f2 1229
18bd398b
NC
1230 * NEWS: Mention the support for decoding .debug_ranges sections.
1231 * doc/binutils.texi: Document the new command line switch to
1232 readelf.
1233
57346661
AM
12342004-11-03 Randolph Chung <tausq@debian.org>
1235
1236 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
1237 unw_aux_info and unw_table_entry.
1238 (find_symbol_for_address): Pass symtab and strtab info explicitly.
1239 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
1240 prefix.
1241 (slurp_ia64_unwind_table): Likewise.
1242 (ia64_process_unwind): Rename from old process_unwind.
1243 (hppa_unw_aux_info): New.
1244 (dump_hppa_unwind): New.
1245 (slurp_hppa_unwind_table): New.
1246 (hppa_process_unwind): New.
1247 (process_unwind): Factor out common unwinding checks; dispatch to
1248 unwind handler based on machine type.
1249
935d0bca
NC
12502004-11-02 Nick Clifton <nickc@redhat.com>
1251
1252 * readelf.c (display_debug_lines): Fix typo in error message.
1253
1ec5cd37
NC
12542004-10-26 Mark Mitchell <mark@codesourcery.com>
1255
1256 * readelf.c (get_note_type): Handle notes not in core files.
1257 (process_note_sections): New function.
1258 (process_corefile_contents): Rename to ...
1259 (process_notes): ... this.
1260 (process_object): Call process_notes, not
1261 process_corefile_contents.
1262 * doc/binutils.texi: Update readelf -n documentation.
1263
b3f21e4a
JJ
12642004-10-26 Jakub Jelinek <jakub@redhat.com>
1265
1266 * ar.c (extract_file): Set atime to mtime for ar xo.
1267
2b4c4cc4
ILT
12682004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
1269
1270 * stabs.c (stab_demangle_v3_arglist): New static function, broken
1271 out of stab_demangle_v3_argtypes.
1272 (stab_demangle_v3_argtypes): Call it.
1273 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
1274 If we find an unrecognized component, print out its number.
1275
1ffa9a18
L
12762004-10-25 David Mosberger <davidm@hpl.hp.com>
1277
1278 * readelf.c (slurp_ia64_unwind_table): Support relocations against
1279 non-section symbols by adding in the symbol value.
1280
d79b3d50
NC
12812004-10-25 Nick Clifton <nickc@redhat.com>
1282
1283 PR 465
1284 * readelf.c (dynamic_strings_length): New global variable.
1285 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
1286 strings in the dynamic string table.
1287 (process_section_headers): Initialise dynamic_strings_length.
1288 (process_dynamic_section): Likewise.
1289 (process_object): Reset dynamic_string_length when the buffer is freed.
1290 (dynamic_sections_mips_val): Use the new macros.
1291 (process_dynamic_section): Likewise.
1292 (process_version_sections): Likewise.
1293 (process_symbol_table): Likewise.
1294 (process_syminfo): Likewise.
1295 (process_mips_specific): Likewise.
1296 (dump_relocations): Add a new parameter 'strtablen' and use this
1297 to verify that string offset in a given reloc is valid. Print a
1298 suitable error message otherwise.
1299 (process_relocs): Pass the new argument to dump_relocations.
1300
0fd555c4
NC
13012004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1302
1303 * dlltool.c: Include <assert.h>.
1304 (PREFIX_ALIAS_BASE): Define.
1305 (struct export): Add member import_name;
1306 (def_exports): Set import_name.
1307 (make_one_lib_file): Remove prefix alias code, use import_name
1308 in .idata$6.
1309 (gen_lib_file): Create and delete aliases.
1310
5ab0c1a1
L
13112004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 * readelf.c (process_section_groups): Free symtab after use.
1314
d412a550
NC
13152004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
1316 Nick Clifton <nickc@redhat.com>
1317
1318 * strings.c (usage): Place radix values for -t option into the
1319 correct order.
1320
1321 * objcopy.c (add_redefine_syms_file): Change error messages to use
1322 <filename>:<linenumber>: format for easier parsing by automatic
1323 tools.
1324
1325 * srconv.c (show_usage): Fix spelling typo.
1326
1327 * windres.c (format_from_filename): Suggest the use of -J instead
1328 of -I if the file type cannot be determined.
1329
fb608b92
NC
13302004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1331
1332 * strings.c: Include <sys/stat.h>.
1333
2bb2d727
AM
13342004-10-18 Alan Modra <amodra@bigpond.net.au>
1335
7f67d4c9
AM
1336 * budemang.c (demangle): Fix thinko.
1337
2bb2d727
AM
1338 * budemang.c (demangle): Handle "@plt" suffix.
1339
61bbd35b
NC
13402004-10-14 Nick Clifton <nickc@redhat.com>
1341
1342 * nm.c (usage): Fix description of --special-syms switch.
1343
fb5b5478
JJ
13442004-10-13 Jakub Jelinek <jakub@redhat.com>
1345
1346 * strings.c (statbuf): New typedef.
1347 (file_stat): Define.
1348 (strings_object_file): Avoid using get_file_size, instead do the
1349 checks here, using file_stat.
1350 * configure.in (HAVE_STAT64): New test.
1351 * configure: Rebuilt.
1352 * config.in: Rebuilt.
1353
8cb51566
PB
13542004-10-12 Paul Brook <paul@codesourcery.com>
1355
1356 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
1357
83ef0798
AM
13582004-10-11 Alan Modra <amodra@bigpond.net.au>
1359
1360 * objdump.c (dump_symbols): Fix thinko last change. Improve error
1361 messages.
1362
3c9458e9
NC
13632004-10-08 Nick Clifton <nickc@redhat.com>
1364
1365 * nm.c: Add a new switch --special-syms which, if enabled, will
1366 include the ARM Mapping symbols in nm's output.
1367 (usage): Mention the switch.
1368 (filter_symbols): Handle the switch.
1369 * objdump.c: Add a similar switch.
1370 (usage): Mention the switch.
1371 (dump_symbols): Handle the switch.
1372 * doc/binutils.texi: Document the new switches.
1373 * NEWS: Mention the new switches.
1374
d2b2c203
DJ
13752004-10-08 Daniel Jacobowitz <dan@debian.org>
1376
1377 * readelf.c (get_x86_64_section_type_name): New function.
1378 (get_section_type_name): Use it.
1379
d67a454c
NC
13802004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1381
1382 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
1383 patches.
1384 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
1385
1c877e87
AO
13862004-10-07 Alexandre Oliva <aoliva@redhat.com>
1387
1388 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
1389 types.
1390
40a18ebd
NC
13912004-10-01 Paul Brook <paul@codesourcery.com>
1392
1393 * readelf.c (get_arm_section_type_name): New function.
1394 (get_section_type_name): Use it.
1395
382c1116
NC
13962004-09-28 Nick Clifton <nickc@redhat.com>
1397
eb1ab0cf 1398 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
1399 prototypes.
1400
cbaa0dc5
AM
14012004-09-22 Alan Modra <amodra@bigpond.net.au>
1402
1403 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
1404 segments.
1405
3443c1ae
AM
14062004-09-17 Alan Modra <amodra@bigpond.net.au>
1407
1408 * Makefile.am: Run "make dep-am".
1409 * Makefile.in: Regenerate.
1410 * config.in: Regenerate.
1411 * configure: Regenerate.
1412 * doc/Makefile.in: Regenerate.
1413 * po/binutils.pot: Regenerate.
1414
74013231
AM
14152004-09-12 Alan Modra <amodra@bigpond.net.au>
1416
1417 * readelf.c (decode_location_expression): Sign extend value for
1418 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
1419
360589e8
NC
14202004-09-09 Nick Clifton <nickc@redhat.com>
1421
1422 PR 363
1423 * ar.c (replace_members): Do not use get_file_size as
1424 ar_emul_append correctly handles missing files.
1425
d15b04bd
L
14262004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * configure: Regenerated with autconfig 2.13.
1429
d597aff7
DS
14302004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1431
74013231
AM
1432 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
1433 documentation.
d597aff7 1434
04c34128
NC
14352004-09-06 Michael Wardle <mbw@endbracket.net>
1436
3023b782 1437 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
1438 the effect of the -p switch.
1439
d597aff7 14402004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 1441
6cef8f72
DS
1442 * dlltool.c (make_one_lib_file): Test if internal_name was
1443 specified by user before using it.
5df31fad 1444
74013231 14452004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
1446
1447 PR binutils/351
1448 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
1449 exp->internal_name if it is present.
1450
ec2dfb42
AO
14512004-09-02 Alexandre Oliva <aoliva@redhat.com>
1452
1453 * MAINTAINERS: Add self as co-maintainer of FR-V.
1454 * readelf.c (get_machine_flags): Print FR-V cpu types.
1455
0873df2a
AM
14562004-08-28 Alan Modra <amodra@bigpond.net.au>
1457
1458 * nm.c (show_synthetic): New var.
1459 (long_options): Add "synthetic".
1460 (usage): Here too.
1461 (display_rel_file): Handle show_synthetic.
1462
c9727e01
AM
14632004-08-28 Alan Modra <amodra@bigpond.net.au>
1464
1465 * objdump.c (dump_bfd): Pass both symbol tables to
1466 bfd_get_synthetic_symtab.
1467
90e3cdf2
JJ
14682004-08-17 Jakub Jelinek <jakub@redhat.com>
1469
1470 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
1471 of dynsyms to bfd_get_synthetic_symtab.
1472
d84de024
AM
14732004-08-16 Alan Modra <amodra@bigpond.net.au>
1474
1475 * readelf.c (debug_apply_rela_addends): New function, extracted from..
1476 (display_debug_info): ..here.
1477 (display_debug_frames): Call debug_apply_rela_addends. Don't do
1478 DW_EH_PE_pcrel adjustment for ET_REL.
1479
efcb5b0e
AS
14802004-08-06 Andreas Schwab <schwab@suse.de>
1481
1482 * readelf.c (dump_relocations): Fix typo when calculating
1483 sec_index.
1484
d3cde3af
NC
14852004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
1486
1487 * dllwrap.c (deduce_name): Fix typos introduced when program_name
1488 was renamed to prog_name.
1489
1d70c7fb
AO
14902004-07-29 Alexandre Oliva <aoliva@redhat.com>
1491
1492 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
1493 EF_SH2A_NOFPU.
1494
ccde1100
AO
14952004-07-28 Alexandre Oliva <aoliva@redhat.com>
1496
1497 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
1498 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
1499 EF_SH4A_NOFPU.
1500 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
1501 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
1502
082b7297
L
15032004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
1506 to access comdat.
1507 * objdump.c (dump_section_header): Likewise.
1508
44a6d974
NC
15092004-07-15 Aravinda PR <aravindapr@rediffmail.com>
1510
1511 * nlmconv.c (main): Pass map_file argument to link_inputs.
1512 (link_inputs): Use map_file argument if it is defined.
1513
61513dc1
NC
15142004-07-13 Nick Clifton <nickc@redhat.com>
1515
1516 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
1517 conflicts with exported global defined in bucomm.h.
1518 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
1519 shadowing the global defined in bucomm.h.
1520
607dea97
NC
15212004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1522
1523 * dlltool.c (ext_prefix_alias): New global variable.
1524 (make_one_lib_file): Add aliases with prefixes for external
1525 and import definitions.
1526 (usage): Document -p option.
1527 (long_options): Add --ext-prefix-alias option.
1528 (main): Handle -p.
1529 * doc/binutils.texi: Document new switch.
1530 * NEWS: Mention new switch.
1531
2758961a
NC
15322004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1533
1534 * binutils/dlltool.c (asm_prefix): Add parameter: name.
1535 No underscore for symbols beginning with ?.
1536 (ASM_PREFIX): Add parameter: NAME.
1537 (gen_exp_file): Use new parameter.
1538 (make_label): Likewise.
1539 (make_imp_label): Likewise.
1540 (make_one_lib_file): Likewise.
1541
1fe1f39c
NC
15422004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
1543
1544 * MAINTAINERS: Added myself to the list.
1545 * readelf.c: Include "elf/crx.h".
1546 (guess_is_rela): Handle EM_CRX.
1547 (get_machine_name): Likewise.
1548 (dump_relocations): Likewise.
1549
c87db184
CF
15502004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1551
1552 * doc/binutils.texi (nm): Clarify weak symbol description.
1553
fb7b006e
BE
15542004-06-24 Ben Elliston <bje@au.ibm.com>
1555
1556 * readelf.c (get_segment_type): Display "GNU_STACK", not just
1557 "STACK", when a PT_GNU_STACK segment is encountered.
1558
eea6121a
AM
15592004-06-24 Alan Modra <amodra@bigpond.net.au>
1560
1561 * objcopy.c (copy_section): Don't set _cooked_size.
1562
fb514b26
AM
15632004-06-22 Alan Modra <amodra@bigpond.net.au>
1564
ba2685cc
AM
1565 * readelf.c (Elf32_Word): Delete.
1566 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
1567 (get_64bit_dynamic_section): Likewise.
1568
1569 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
1570 (get_64bit_dynamic_section): Likewise.
1571
86dba8ee
AM
1572 * readelf.c (dynamic_nent): New variable.
1573 (get_32bit_dynamic_section): Set it.
1574 (get_64bit_dynamic_section): Here too.
1575 (process_dynamic_section): Use it instead of dynamic_size.
1576 (process_syminfo): Likewise.
1577
fb514b26
AM
1578 * readelf.c (get_32bit_dynamic_section): Correct number of entries
1579 translated from external to internal form.
1580 (get_64bit_dynamic_section): Likewise.
1581
b2d38a17
NC
15822004-06-18 Jie Zhang <zhangjie@magima.com.cn>
1583
1584 * readelf.c (process_program_headers): When locating the dynamic
1585 section use the section table if it is present.
1586 (dynamic_segment): Renamed to dynamic_section.
1587 Replace references to dynamic segment with references to dynamic
1588 section, except where appropriate.
1589 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
1590 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
1591 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
1592 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
1593 Remove tag counting code as it is no longer needed.
1594 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
1595 Remove tag counting code as it is no longer needed.
1596 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 1597
135dfb4a
AM
15982004-06-15 Alan Modra <amodra@bigpond.net.au>
1599
1600 * objcopy.c (copy_section): Use bfd_get_section_size instead of
1601 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
1602 (compare_section_lma): Likewise.
1603 * addr2line.c (find_address_in_section): Likewise.
1604 * coffgrok.c (do_sections_p1): Likewise.
1605 * dlltool.c (scan_drectve_symbols): Likewise.
1606 * nlmconv.c (main): Likewise.
1607 (copy_sections): Likewise.
1608 (powerpc_mangle_relocs): Likewise.
1609 * objdump.c (disassemble_section): Likewise.
1610 * prdbg.c (find_address_in_section): Likewise.
1611 * size.c (berkeley_sum): Likewise.
1612 * srconv.c (wr_ob): Likewise.
1613 * strings.c (strings_a_section): Likewise.
1614
90e01f86
ILT
16152004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
1616
1617 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
1618
80fccad2
BW
16192004-05-17 David Heine <dlheine@tensilica.com>
1620
eea6121a 1621 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
1622 (copy_object): Call setup_bfd_headers.
1623
0da76f83
NC
16242004-05-13 Paul Brook <paul@codesourcery.com>
1625
1626 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
1627 entries.
1628
9598fbe5
NC
16292004-05-13 Nick Clifton <nickc@redhat.com>
1630
1631 * po/fr.po: Updated French translation.
1632
8c37241b
JJ
16332004-05-11 Jakub Jelinek <jakub@redhat.com>
1634
1635 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
1636
e4b17d5c
L
16372004-05-07 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 * readelf.c (section_groups): New.
1640 (group_count): New.
1641 (section_headers_groups): New.
1642 (process_section_groups): Populate group_count, section_groups
1643 and section_headers_groups.
1644 (process_unwind): Support section group.
1645 (process_object): Always call process_section_groups. Free
1646 section_groups and section_headers_groups.
1647
f2da459f
L
16482004-04-30 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * readelf.c (process_section_headers): Use %3lu on sh_info.
1651
f8935895
NC
16522004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
1653
1654 * ranlib.sh: Quote $1 argument in case it contains spaces.
1655
16562004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
1657
1658 * objcopy.c (copy_usage, strip_usage): Fix spelling.
1659
f5842774
L
16602004-04-26 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * readelf.c (do_section_groups): New.
1663 (options): Add --section-groups/-g.
1664 (usage): Mention --section-groups/-g.
1665 (parse_args): Support --section-groups/-g.
1666 (get_group_flags): New.
1667 (process_section_groups): New.
1668 (process_object): Call process_section_groups.
1669
46212538
AM
16702004-04-24 Alan Modra <amodra@bigpond.net.au>
1671
1672 * objdump.c (disassemble_section): Don't disassemble sections
1673 without SEC_HAS_CONTENTS.
1674
4c45e5c9
JJ
16752004-04-22 Jakub Jelinek <jakub@redhat.com>
1676
1677 * objdump.c (synthsyms, synthcount): New variables.
1678 (disassemble_data): Use dynsyms for stripped binaries or libraries.
1679 Add synthetized symbols.
1680 (dump_bfd): For disassemble, initialize dynsyms always and
1681 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
1682 before returning.
1683
e9f87780
AM
16842004-04-14 Alan Modra <amodra@bigpond.net.au>
1685
1686 * strings.c (print_strings): Cast file_off to unsigned long in
1687 printf arg list.
1688
1ba93119
AM
16892004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
1690
1691 PR 86
1692 * arsup.c (ar_save): Use smart_rename.
1693
935a41f5
NC
16942004-04-01 Dean Luick <luick@cray.com>
1695
1696 * readelf.c (display_debug_pubnames): Align offset and data
1697 columns.
1698 (read_and_display_attr_value): Add missing break;
1699 (debug_displays): Enable the display of the .debug_pubtypes
1700 section.
1701
92e25cf8
SS
17022004-03-30 Stan Shebs <shebs@apple.com>
1703
1704 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
1705 support files, no longer used.
1706
d507cf36
PB
17072004-03-23 Paul Brook <paul@codesourcery.com>
1708
1709 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
1710
8c9a9879
RH
17112004-03-21 Richard Henderson <rth@redhat.com>
1712
1713 * readelf.c (display_debug_frames): Don't crash for mismatched
1714 DW_CFA_restore_state.
1715
6ece5c52
AM
17162004-03-19 Alan Modra <amodra@bigpond.net.au>
1717
1718 * Makefile.am: Run "make dep-am".
1719 * Makefile.in: Regenerate.
1720 * aclocal.m4: Regenerate.
1721 * config.in: Regenerate.
1722 * configure: Regenerate.
1723 * po/binutils.pot: Regenerate.
1724
6f104306
NS
17252004-03-15 Nathan Sidwell <nathan@codesourcery.com>
1726
1727 * objdump.c (struct SFILE): Replace current pointer with pos
1728 offset, rename size to alloc.
1729 (objdump_sprintf): Avoid unnecessary copies in the common case
1730 (disassemble_bytes): Keep sfile live throughout the
1731 function. Adjust usage appropriately.
1732
523f6a27
BE
17332004-03-10 Ben Elliston <bje@gnu.org>
1734
1735 * MAINTAINERS: Update my mail address.
1736
7aa52b1f
NC
17372004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1738
1739 * deflex.l: Handle "PRIVATE" string.
1740 * defparse.y (%token): Add PRIVATE.
1741 (%type): Add opt_PRIVATE.
1742 (expline): Pass opt_PRIVATE to def_exports.
1743 (opt_PRIVATE): Handle PRIVATE token.
1744 * dlltool.h (def_exports): Add 7th param for private flag to
1745 declaration.
1746 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1747 (struct export): Add 'private' field.
1748 (def_exports): Set 'private' field of struct exports.
1749 (scan_drectve_symbols): Adjust calls to def_exports.
1750 (scan_filtered_symbols): Likewise.
1751 (dump_def_info): Print 'private' field.
1752 (gen_def_file): Likewise.
1753 (gen_lib_file): Skip generation of lib object if private.
1754 Delete tmp object files in same order as they were generated.
1755 Don't delete non-existent private object files.
1756
af865222
AS
17572004-02-27 Andreas Schwab <schwab@suse.de>
1758
1759 * ar.c (main): Support POSIX-compatible argument parsing.
1760
c7e7ca54
NC
17612004-02-23 Daniel Lucq <daniel@lucq.org>
1762
1763 * readelf.c (process_mips_specific): Print conflictsno as an
1764 unsigned long.
1765
eff21b8e
CF
17662004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1767
1768 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1769
2f01ffbf
JJ
17702004-02-19 Jakub Jelinek <jakub@redhat.com>
1771
1772 * objcopy.c (copy_section): Avoid warnings.
1773
c92c35e7
AC
17742004-02-14 Andrew Cagney <cagney@redhat.com>
1775
1776 * ar.c (remove_output): Use bfd_cache_close.
1777 * arsup.c (ar_end): Ditto.
1778
9d241085
RM
17792004-01-21 Roland McGrath <roland@redhat.com>
1780
1781 * readelf.c (get_note_type): Match NT_AUXV.
1782
d99e9f4d
NC
17832004-01-20 Nick Clifton <nickc@redhat.com>
1784
1785 * version.c (print_version): Update copyright year to 2004.
1786
f8b73030
MR
17872004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1788
1789 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1790 throughout.
1791 * aclocal.m4: Regenerate.
1792 * configure: Regenerate.
1793
f0312d39
JJ
17942004-01-12 Jakub Jelinek <jakub@redhat.com>
1795
1796 * objcopy.c: Include elf-bfd.h.
1797 (is_strip_section): Don't strip debugging sections if
1798 STRIP_NONDEBUG.
1799 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
1800 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
1801
1802 * objcopy.c (copy_section): Free relpp if relcount == 0.
1803
041821e6
ILT
18042004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1805
1806 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
1807 (stab_demangle_argtypes): Likewise.
1808 (stab_demangle_v3_argtypes): New static function.
1809 (stab_demangle_v3_arg): New static function.
1810
950d48e7
NC
18112004-01-12 Nick Clifton <nickc@redhat.com>
1812
1813 * objcopy.c (copy_object): Make the function boolean, returning
1814 FALSE upon failure.
eea6121a
AM
1815 (copy_archive): Handle the return value from copy_object.
1816 (copy_file): Likewise.
950d48e7 1817
d9296b18
NC
18182004-01-07 Nick Clifton <nickc@redhat.com>
1819
1820 * readelf.c (find_section): New function. Locates a named
1821 section.
1822 (get_debug_line_pointer_sizes): New function: Initialises the
1823 debug_line_pointer_sizes array.
eea6121a
AM
1824 (display_debug_lines): Call get_debug_line_pointer_sizes.
1825 (display_debug_loc): Likewise.
1826 (load_debug_loc): Use find_section.
1827 (load_debug_str): Likewise.
1828 (display_debug_info): Likewise.
1829 (prescan_debug_info): Delete.
1830 (debug_displays): Remove prescan field.
1831 (process_section_contents): Do not perform prescans.
d9296b18 1832
5e675b72
AM
18332004-01-03 Alan Modra <amodra@bigpond.net.au>
1834
1835 * objcopy.c (filter_bytes): Delete. Move code to..
1836 (copy_section): ..here. Simplify size adjustment. Divide
1837 section lma by interleave.
1838
f0660b73
NC
18392004-01-02 Nick Clifton <nickc@redhat.com>
1840
1841 * po/ru.po: New file: Russian translation.
1842 * configure.in (ALL_LINGUAS): Add ru
1843 * configure: Regenerate.
eb18fd22 1844
c9e214e5 1845For older changes see ChangeLog-0203
252b5132
RH
1846\f
1847Local Variables:
1848mode: change-log
1849left-margin: 8
1850fill-column: 74
1851version-control: never
1852End:
This page took 0.438862 seconds and 4 git commands to generate.