]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
* ldlang.h (lang_input_section_type): Remove "ifile" field.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
1637cd90
JB
12005-11-15 Jan Beulich <jbeulich@novell.com>
2
3 * objcopy.c (keep_file_symbols): New.
4 (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS.
5 (strip_options): Add --keep-file-symbols.
6 (copy_options): Likewise.
7 (copy_usage): Likewise.
8 (strip_usage): Likewise.
9 (filter_symbols): Act upon keep_file_symbols.
10 (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS.
11 (copy_main): Likewise.
12 * doc/binutils.texi: Document --keep-file-symbols for objcopy
13 and strip.
14
aef1f6d0
DJ
152005-11-14 Daniel Jacobowitz <dan@codesourcery.com>
16
17 * readelf.c (struct dump_list_entry, request_dump_byname)
18 (initialise_dumps_byname): New.
19 (parse_args): Call request_dump_byname.
20 (process_section_contents): Call initialise_dumps_byname.
21 * doc/binutils.texi (readelf): Mention -x NAME.
22 * NEWS: Likewise.
23
5e2b0d47
NC
242005-11-11 Nick Clifton <nickc@redhat.com>
25
26 PR 1150
27 * readelf.c (get_mips_symbol_other): New function.
28 (get_symbol_other): New function.
29 (process_symbol_table): Call get_symbol_other() to get a
30 description of the st_other field if it contains more information
31 than just the visibility.
32
a541e3ce
SE
332005-11-07 Steve Ellcey <sje@cup.hp.com>
34
35 * configure: Regenerate after modifying bfd/warning.m4.
36
9e5169a8
L
372005-10-30 H.J. Lu <hongjiu.lu@intel.com>
38
39 * Makefile.am: Run "make dep-am".
40 * Makefile.in: Regenerated.
41
42 * dep-in.sed: Replace " ./" with " ".
43
3caac5b8
AM
442005-10-25 Alan Modra <amodra@bigpond.net.au>
45
46 * po/POTFILES.in: Regenerate.
47 * po/binutils.pot: Regenerate.
48
124fe943
BS
492005-10-24 Bernd Schmidt <bernd.schmidt@analog.com>
50
51 * MAINTAINERS: Add self as BFIN maintainer.
52
6cc1ddc9
JZ
532005-10-18 Jie Zhang <jie.zhang@analog.com>
54
55 * MAINTAINERS: Add self as BFIN maintainer.
56
0851f043
DS
572005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
58
59 * rclex.l (handle quotes): Stop parsing hex notation escaped
60 chars after the first two digits,
61
ec948987
NC
622005-10-11 Nick Clifton <nickc@redhat.com>
63
64 PR binutils/1437
65 * cxxfilt.c (flags): Remove DMGL_TYPES;
66 (long_options): Rename --no-types to --types.
67 (usage): Likewise.
68 (demangle_it): Add a comment describing why _ and $ prefixes are
69 skipped. Use printf rather than puts to emit the demangled output
70 in order to avoid emitting a new line character.
71 (main): Have the -t flag enable type demangling.
72 Emit a newline after every demangled command line argument.
73 Copy whitespace from stdin to stdout.
74 * doc/binutils.texi (c++filt): Document the change to the -t
75 switch.
76 Document why demangling names on the command line is slightly
77 different to demangling names read from the standard input.
78
1334d4d5
MM
792005-10-10 Mark Mitchell <mark@codesourcery.com>
80
81 * doc/Makefile.am (config.texi): Set top_srcdir.
82 * doc/Makefile.in: Regenerated.
83 * doc/binutils.texi: Use at-file.texi from libiberty.
84
1949de15
L
852005-10-10 H.J. Lu <hongjiu.lu@intel.com>
86
87 PR binutils/1436
88 * readelf.c (ABSADDR): New.
89 (dump_ia64_unwind): Use ABSADDR to get the unwind info address.
90
8b515579
NC
912005-10-10 Thomas Weidenmueller <w3seek@reactos.com>
92
93 * resbin.c (res_to_bin_accelerator): Place the terminating NUL at
94 the correct location in the bindata structure.
95
9c092ace
NC
962005-10-10 Bryce Schober <bryce.schober@dynonavionics.com>
97
98 * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be
99 -reg-names-std.
100
cbf1f5df
NC
1012005-10-04 Nick Clifton <nickc@redhat.com>
102
103 * cxxfilt.c: Treat mangled names specified on the command line in
104 the same way as mangled names read from stdin.
105 Add -i switch to disable the display of implementation details.
106 Add -t switch to disable the demangling of types.
107 * NEWS: Mention the new switches.
108 * doc/binutils.texi (cxxfilt): Document the -i and -t switches.
109
07012eee
MM
1102005-10-03 Mark Mitchell <mark@codesourcery.com>
111
112 * addr2line.c (usage): Document @file.
113 * ar.c (usage): Likewise.
114 * coffdump (usage): Likewise.
115 * cxxfilt.c (usage): Likewise.
116 * dlltool.c (usage): Likewise.
117 * dllwrap.c (usage): Likewise.
118 * nlmconv.c (usage): Likewise.
119 * nm.c (usage): Likewise.
120 * objcopy.c (usage): Likewise.
121 * objdump.c (usage): Likewise.
122 * readelf.c (usage): Likewise.
123 * size.c (usage): Likeise.
124 * srconv.c (usage): Likewise.
125 * strings.c (usage): Likewise.
126 * windres.c (usage): Likewise.
127 * doc/binutils.texi: Add section on common options.
128
4de2ad99
L
1292005-10-03 H.J. Lu <hongjiu.lu@intel.com>
130
131 * NEWS: Mention -W/--dwarf.
132
133 * doc/binutils.texi: Document -W/--dwarf for objdump.
134
11c1ff18
PB
1352005-10-01 Paul Brook <paul@codesourcery.com>
136
137 * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
138 arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
139 arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
140 arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
141 arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
142 arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
143 arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
144 arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
145 arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
146 arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
147 arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
148 arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
149 arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
150 (display_arm_attribute, process_arm_specific): New functions.
151 (process_arch_specific): Add EM_ARM.
152
c843b1bb
MM
1532005-09-30 Mark Mitchell <mark@codesourcery.com>
154
155 * dlltool.c (main): Fix typo.
156 * windres.c (main): Likewise.
157
d34e7dd6
L
1582005-09-30 H.J. Lu <hongjiu.lu@intel.com>
159
160 * Makefile.in: Regenerated.
161
861e97e2
L
1622005-09-30 H.J. Lu <hongjiu.lu@intel.com>
163
164 * sysinfo.y (main): Undo last change.
165
869b9d07
MM
1662005-08-30 Mark Mitchell <mark@codesourcery.com>
167
861e97e2 168 * addr2line.c (main): Use expandargv.
869b9d07
MM
169 * ar.c (main): Likewise.
170 * coffdump.c (main): Likewise.
171 * cxxfilt.c (main): Likewise.
172 * dlltool.c (main): Likewise.
173 * dllwrap.c (main): Likewise.
174 * nlmconv.c (main): Likewise.
175 * nm.c (main): Likewise.
176 * objcopy.c (main): Likewise.
177 * objdump.c (main): Likewise.
178 * readelf.c (main): Likewise.
179 * size.c (main): Likeiwse.
180 * srcconv.c (main): Likewise.
181 * strings.c (main): Likewise.
182 * sysdump.c (main): Likewise.
861e97e2 183 * sysinfo.y (main): Likewise.
869b9d07
MM
184 * windres.c (main): Likewise.
185
58654fd8
L
1862005-09-30 H.J. Lu <hongjiu.lu@intel.com>
187
188 * Makefile.am: Run "make dep-am".
189 * Makefile.in: Regenerated.
190 * aclocal.m4: Likewise.
191
1d65ded4
CM
1922005-09-30 Catherine Moore <clm@cm00re.com>
193
194 * Makefile.am: Bfin support.
195 * Makefile.in: Regenerated.
196 * aclocal.m4: Regenerated.
197 * readelf.c (elf/bfin.h): Include.
198 (guess_is_rela): EM_BLACKFIN support.
199 (dump_relocations): Likewise.
200
bfe2612a
L
2012005-09-30 H.J. Lu <hongjiu.lu@intel.com>
202
203 * dwarf.c (fetch_indirect_string): Adjust for section address.
204 (process_debug_info): Likewise.
205 (display_debug_loc): Likewise.
206 (display_debug_ranges): Likewise.
207
208 * objdump.c (mach_o_dwarf_sections): New.
209 (generic_dwarf_sections): Likewise.
210 (check_mach_o_dwarf): Likewise.
211 (dump_dwarf): Call check_mach_o_dwarf.
212
365544c3
L
2132005-09-30 H.J. Lu <hongjiu.lu@intel.com>
214
215 * Makefile.am (objdump_SOURCES): Add dwarf.c.
216 * Makefile.in: Regenerated.
217
218 * objdump.c: Include "dwarf.h".
219 (usage): Add -W/--dwarf.
220 (long_options): Likewise.
221 (dump_dwarf_section_info): New.
222 (load_debug_section): Likewise.
223 (free_debug_section): Likewise.
224 (dump_dwarf_section): Likewise.
225 (dump_dwarf): Likewise.
226 (dump_bfd): Load symbol table and call dump_dwarf if
227 dump_dwarf_section_info isn't zero.
228 (main): Handle -W/--dwarf.
229
1007acb3
L
2302005-09-30 H.J. Lu <hongjiu.lu@intel.com>
231
232 * readelf.c: Reordered.
233 (is_relocatable): New.
234 (dwarf_section): New structure for DWARF section.
235 (load_debug_section): New.
236 (free_debug_section): Likewise.
237 (debug_str_section): Likewise.
238 (debug_abbrev_section): Likewise.
239 (debug_str_contents): Removed.
240 (debug_str_size): Likewise.
241 (debug_loc_contents): Likewise.
242 (debug_loc_size): Likewise.
243 (debug_range_contents): Likewise.
244 (debug_range_size): Likewise.
245 (load_debug_str): Likewise.
246 (free_debug_str): Likewise.
247 (load_debug_loc): Likewise.
248 (free_debug_loc): Likewise.
249 (load_debug_arange): Likewise.
250 (free_debug_arange): Likewise.
251 (load_debug_abbrev): Likewise.
252 (free_debug_abbrev): Likewise.
253 (fetch_indirect_string): Updated.
254 (debug_apply_rela_addends): Likewise.
255 (process_debug_info): Likewise.
256 (get_debug_info): Likewise.
257 (display_debug_lines): Likewise.
258 (display_debug_pubnames): Likewise.
259 (display_debug_macinfo): Likewise.
260 (display_debug_abbrev): Likewise.
261 (display_debug_loc): Likewise.
262 (display_debug_str): Likewise.
263 (display_debug_info): Likewise.
264 (display_debug_aranges): Likewise.
265 (display_debug_ranges): Likewise.
266 (display_debug_frames): Likewise.
267 (display_debug_not_supported): Likewise.
268 (debug_displays): Likewise.
269 (display_debug_section): Likewise.
270 (get_file_header): Set is_relocatable.
271
700dd8b7
L
2722005-09-30 H.J. Lu <hongjiu.lu@intel.com>
273
274 * readelf.c (debug_apply_rela_addends): Relocate the whole
275 section.
276 (process_debug_info): Don't call debug_apply_rela_addends.
277 (display_debug_frames): Likewise.
278 (get_debug_info): Call debug_apply_rela_addends.
279 (debug_displays): Add the "relocate" field.
280 (display_debug_section): Call debug_apply_rela_addends if
281 needed.
282
a70c2403
NC
2832005-09-30 Matthias Kurz <mk@baerlap.north.de>
284
285 * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris
286 version of <locale.h> when ENABLE_NLS is not defined.
287
938ae749
MM
2882005-09-26 Mark Mitchell <mark@codesourcery.com>
289
290 * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
291
ec9ec0f9
RH
2922005-09-20 Richard Henderson <rth@redhat.com>
293
294 * readelf.c (display_debug_lines): Use unsigned long for address
295 increments. Use 0x prefix for all hex numbers.
296
ec1c4759
RE
2972005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
298
299 * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
300 SHT_ARM_ATTRIBUTES.
301
8d5ff12c
L
3022005-09-07 H.J. Lu <hongjiu.lu@intel.com>
303
304 * readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
305
a841cf65
L
3062005-09-02 H.J. Lu <hongjiu.lu@intel.com>
307
308 * readelf.c (debug_abbrev_contents): New.
309 (debug_abbrev_size): Likewise.
310 (load_debug_abbrev): Likewise.
311 (free_debug_abbrev): Likewise.
312 (process_debug_info): Use them.
313
bc79cded
L
3142005-08-17 H.J. Lu <hongjiu.lu@intel.com>
315
316 PR binutils/1179
317 * objdump.c (disassemble_bytes): Don't adjust
318 adjust_section_vma.
319 (adjust_addresses): Don't adjust vma for debugging section.
320 Adjust lma only for relocatable files.
321 (dump_bfd): Tell adjust_addresses if it is a relocatable file.
322
3e321448
L
3232005-08-16 H.J. Lu <hongjiu.lu@intel.com>
324
325 * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
326
327 * configure.in (AC_GNU_SOURCE): Added.
328 (AC_CHECK_DECLS): Add stpcpy.
329 * configure: Regenerated.
330 * config.in: Likewise.
331
09ff3500
JJ
3322005-08-16 Jakub Jelinek <jakub@redhat.com>
333
334 * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
335 UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
336 buffer sizes.
337
36ae0db3
DJ
3382005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
339
340 * doc/binutils.texi (objdump): Document -M e300.
341
1c0751b2
DA
3422005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
343
344 * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
345 Don't access table entries past the end of the table.
346
61472819
DA
3472005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
348
349 * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
350 (get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
351
5477e8a0
L
3522005-08-11 H.J. Lu <hongjiu.lu@intel.com>
353
354 * NEWS: Mention "-t/--section-details" and
355 "-N/--full-section-name".
356
357 * doc/binutils.texi: Document "-t/--section-details". Remove
358 "-N/--full-section-name".
359
360 * readelf.c (do_full_section_name): Renamed to ...
361 (do_section_details): This.
362 (option): Rename "-N/--full-section-name" to
363 "-t/--section-details".
364 (usage): Likewise.
365 (parse_args): Likewise.
366 (get_elf_section_flags): Support do_section_details.
367 (process_section_headers): Updated for do_section_details.
368
eec8f817
DA
3692005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
370
371 * readelf.c (get_parisc_dynamic_type): Add new dynamic types.
372 (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when
373 e_machine is EM_PARISC.
374 (get_parisc_segment_type): Add new segment types.
375 (get_parisc_section_type_name): Add new section names.
376 (dynamic_section_parisc_val): Add new table entries.
377
c6972290
NC
3782005-08-01 Filip Navara <navaraf@reactos.com>
379
380 * dlltool.c (alphafunc): Remove and replace usage with nfunc.
381 (nfunc): Fix sorting of fastcall symbols when --kill-at is used.
382
3b22753a
L
3832005-07-25 H.J. Lu <hongjiu.lu@intel.com>
384
385 * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
386 (get_symbol_index_type): Likewise.
387 (get_elf_section_flags): Handle SHF_X86_64_LARGE.
388
f1969386
EC
3892005-07-21 Eric Christopher <echristo@apple.com>
390
391 * MAINTAINERS: Change affiliation.
392
32204df4
BE
3932005-07-19 Ben Elliston <bje@au.ibm.com>
394
395 * readelf.c (read_and_display_attr_value): Remove comment adjacent
396 to DW_ATE_decimal_float about it being a GNU extension.
397
85da3a56
NC
3982005-07-18 Nick Clifton <nickc@redhat.com>
399
400 * binemul.c: Fix name of Red Hat.
401 * binemul.h: Likewise.
402 * emul_aix.c: Likewise.
403 * emul_vanilla: Likewise.
404
df45824a
BE
4052005-07-18 Ben Elliston <bje@au.ibm.com>
406
407 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
408 value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
409
0f82ff91
AM
4102005-07-16 Alan Modra <amodra@bigpond.net.au>
411
412 * Makefile.am: Run "make dep-am".
413 * Makefile.in: Regenerate.
414
ba2a7846
EC
4152005-07-15 Eric Christopher <echristo@redhat.com>
416
417 * MAINTAINERS: Change affiliation.
418
49f58d10
JB
4192005-07-14 Jim Blandy <jimb@redhat.com>
420
421 * readelf.c: #include "elf/m32c.h"
422 (guess_is_rela, dump_relocations, get_machine_name): Add cases for
423 EM_M32C.
424 * Makefile.am (readelf.o): Update dependencies.
425 * Makefile.in: Regenerated.
426
d52d45a4
BE
4272005-07-08 Ben Elliston <bje@au.ibm.com>
428
429 * bucomm.h: Include <stdarg.h> unconditionally, not only when
430 ANSI_PROTOTYPES is defined. Remove #ifdef logic.
431 * dlltool.c: Likewise.
432 * dllwrap.c: Likewise.
433
0fd3a477
JW
4342005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
435
436 * bucomm.h (report): Add format attribute.
437 * dlltool.c (inform): Likewise.
438 * dllwrap.c (display, inform, warn): Likewise.
439 * objdump.c (objdump_sprintf): Likewise.
440 * readelf.c (error, warn): Likewise. Fix format bugs.
441
06803313
NC
4422005-07-05 Dmitry V. Levin <ldv@altlinux.org>
443 Nick Clifton <nickc@redhat.com>
444
445 * strings.c (filename_and_size_t): New typedef.
446 (strings_a_section): Skip sections with size greater or equal to
447 the file size. Cache the file size to avoid repeated stat()s.
448 (strings_object_file): Pass filename_and_size_t argument to
449 strings_a_section() via bfd_map_over_sections().
450
551b43fd
AM
4512005-07-04 Alan Modra <amodra@bigpond.net.au>
452
453 PR 1004
454 * objcopy.c (copy_object): Use bfd_make_section_with_flags.
455 (write_debugging_info): Likewise.
456 (setup_section): Use bfd_make_section_anyway_with_flags.
457
398ee8f1
SE
4582005-07-01 Steve Ellcey <sje@cup.hp.com>
459
460 * configure.in (AM_BINUTILS_WARNINGS): Add.
461 (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
462 * configure: Regenerate.
463 * config.in: Regenerate.
464 * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
465 * bucomm.h: (NEED_DECLARATION_*): Ditto.
466
b753922c
BE
4672005-06-30 Ben Elliston <bje@gnu.org>
468
469 * Makefile.am (check-DEJAGNU): Don't search for expect.
470 * Makefile.in: Regenerate.
471
c3298874
BE
4722005-06-30 Ben Elliston <bje@gnu.org>
473
474 * Makefile.am (EXPECT): Set to expect.
475 (RUNTEST): Likewise, set to runtest.
476 * Makefile.in: Regenerate.
477
08d8fa11
JJ
4782005-06-17 Jakub Jelinek <jakub@redhat.com>
479
480 * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
481 (process_section_headers): Use it.
482 (process_relocs): Don't crash if symsec is not SHT_SYMTAB
483 or SHT_DYNSYM.
484 (process_version_sections): Use sizeof (Elf_External_Versym)
485 instead of sh_entsize.
486
cbee2975
NC
4872005-06-16 Nick Clifton <nickc@redhat.com>
488
489 * rename.c (simple_copy): Only define if it is going to be used.
490 (smart_rename): Mark the preserve_dates parameter as possibly
491 being unused.
492
493 * resres.c (write_res_data): Prevent a potential compile time
494 warning by casting the return value from fwrite.
495
77f762d6
L
4962005-06-14 H.J. Lu <hongjiu.lu@intel.com>
497
498 PR 995
499 * ar.c (BUFSIZE): Moved to ...
500 * bucomm.h (BUFSIZE): Here.
501
502 * bucomm.c: Include <assert.h>.
503 (bfd_get_archive_filename): New.
504 * bucomm.h (bfd_get_archive_filename): New.
505
506 * objcopy.c (copy_unknown_object): New.
507 (copy_object): Use bfd_get_archive_filename when reporting input
508 error. Don't call fatal on unknown arch.
509 (copy_archive): Call copy_unknown_object on unknown format or
510 arch.
511
c256ffe7
JJ
5122005-06-14 Jakub Jelinek <jakub@redhat.com>
513
514 * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
515 (get_data): Add nmemb argument. Return NULL if nmemb * size
516 overflows. If var == NULL, allocate one extra byte and
517 clear it.
518 (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
519 get_64bit_program_headers, get_program_headers,
520 get_32bit_section_headers, get_64bit_section_headers,
521 get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
522 process_section_groups, process_relocs, slurp_ia64_unwind_table,
523 ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
524 get_32bit_dynamic_section, get_64bit_dynamic_section,
525 process_dynamic_section, process_version_sections, get_dynamic_data,
526 process_symbol_table, dump_section, load_debug_str, load_debug_loc,
527 load_debug_range, read_and_display_attr_value, process_debug_info,
528 get_debug_info, frame_need_space, display_debug_frames,
529 display_debug_section, process_mips_specific, process_gnu_liblist,
530 process_corefile_note_segment): Adjust get_data callers. Use
531 cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
532 passed size is a product of 2 numbers.
533
534 * readelf.c (print_mode): Fix comment typo.
535 (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
536 (dump_relocations): Fix a thinko in check for invalid st_name.
537 (process_program_headers): Don't crash if string_table is NULL.
538 (process_section_headers): Don't crash if e_shstrndx is invalid.
539 Ensure string_table_length is 0 if string_table == NULL.
540 Don't return just because string_table is NULL.
541 (process_section_groups): Don't crash if symtab's sh_link or
542 symbol's st_name is invalid. Fix a memory leak. Fix check for
543 invalid section number entry.
544 (process_relocs): Don't crash if relocation or symbol section's
545 sh_link is invalid.
546 (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
547 relocation section's sh_info is invalid.
548 (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
549 table's sh_link is invalid.
550 (process_version_sections): Don't crash on version or symbol
551 section's sh_link is invalid. Don't crash if symbol's st_shndx
552 is invalid.
553 (process_symbol_table): Don't crash if string table is corrupt
554 or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
555 (debug_apply_rela_addends): Don't crash if relocation section's
556 sh_info or sh_link is invalid.
557 (display_debug_loc): Warn for unterminated .debug_loc section
558 or start offsets not within .debug_loc section boundaries.
559 (process_gnu_liblist): Don't crash if liblist section's sh_link
560 or entry's l_name is invalid.
561
f9ecb0a4
JJ
5622005-06-09 Jakub Jelinek <jakub@redhat.com>
563
564 * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
565 If q->howto->name == NULL, print q->howto->type as number instead.
566 (dump_reloc_set): Likewise.
567
a34e3ecb
EC
5682005-06-07 Eric Christopher <echristo@redhat.com>
569
570 * readelf.c (guess_is_rela): Support ms1.
571 (dump_relocations): Ditto.
572 (get_machine_name): Ditto.
573
1ae72221
AH
5742005-06-07 Aldy Hernandez <aldyh@redhat.com>
575 Michael Snyder <msnyder@redhat.com>
576 Stan Cox <scox@redhat.com>
577
578 * Makefile.am (readelf.o): Depend on ms1.h.
579
580 * Makefile.in: Regenerate.
581
582 * readelf.c: Include ms1.h.
583
5420f73d
L
5842005-06-06 H.J. Lu <hongjiu.lu@intel.com>
585
586 PR 990
587 * nm.c (print_symbol): Call bfd_find_line before
588 bfd_find_nearest_line.
589
b12fe839
AM
5902005-06-06 Alan Modra <amodra@bigpond.net.au>
591
592 * NEWS: Mention new powerpc ld support.
593
b7d4af3a
JW
5942005-06-03 Steve Ellcey <sje@cup.hp.com>
595
596 * configure.in: Check for getc_unlocked prototype.
597 * configure: Regenerate.
598 * config.in: Regenerate.
599 * strings.c (get_char): Only call getc_unlocked if we have seen a
600 prototype.
601
82d457f6
NC
6022005-06-03 Nick Clifton <nickc@redhat.com>
603
604 * configure.in (ALL_LINGUAS): Add zh_TW
605 * configure: Regenerate.
606 * po/zh_TW.po: New Chinese (traditional) translation.
607
7ace3541
RH
6082005-05-31 Richard Henderson <rth@redhat.com>
609
610 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
611
fabcb361
RH
6122005-05-29 Richard Henderson <rth@redhat.com>
613
614 * readelf.c (get_alpha_dynamic_type): New.
615 (get_dynamic_type): Call it.
616
391cb864
L
6172005-05-24 H.J. Lu <hongjiu.lu@intel.com>
618
619 * readelf.c (process_section_groups): Report group section
620 index. Check if the section member index is valid.
621
0c552dc1
FF
6222005-05-23 Fred Fish <fnf@specifixinc.com>
623
624 * addr2line.c (unwind_inlines): New flag for 'i' option.
625 (usage): Document '-i' option.
626 (long_options): Recognize '--inlines'.
627 (translate_addresses): Loop, calling bfd_find_inliner_info as
628 necessary and printing multiple output lines.
629 (main): Handle 'i' option.
630 * doc/binutils.texi (addr2line): Document '-i' option.
631 * NEWS: Mention new addr2line '-i' option.
632
41a865ba
NC
6332005-05-23 Nick Clifton <nickc@redhat.com>
634
635 * readelf.c (fetch_indirect_string): Display a warning message
636 when a corrupt DW_FORM_strp value is encountered.
b12fe839 637
41a865ba
NC
638 (process_debug_info): Mention that the compilation unit offset is
639 being displayed in hexadecimal.
b12fe839 640
41a865ba
NC
641 (display_debug_lines): Fix typo in name of .debug_line section.
642
e3e71e27
ZW
6432005-05-19 Zack Weinberg <zack@codesourcery.com>
644
645 * Makefile.am: Have 'all' depend on 'info'.
646 * Makefile.in: Regenerate.
647
d68f4033
BE
6482005-05-19 Ben Elliston <bje@au.ibm.com>
649
650 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
651 value of DW_ATE_GNU_decimal_float.
652
970c3dbc
DJ
6532005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
654
655 * doc/Makefile.am (config.texi): Don't use $<.
656 * doc/Makefile.in: Regenerated.
657
39ddb54e
NC
6582005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
659
e3e71e27 660 * deflex.l: Ignore CRs
39ddb54e 661
42ecbf5e
DJ
6622005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
663
664 * acinclude.m4: Remove obsolete code.
665 * configure.in: Update AC_PREREQ.
666 * doc/Makefile.am (binutils_TEXINFOS): Define.
667 (config.texi): Depend on distributed files instead of built
668 files.
669 (binutils.dvi, binutils.info): Remove unnecessary rules.
670 (DISTCLEANFILES): Remove.
671 (install-data-local): Renamed from install.
672 (info-local): Renamed from info.
673 * Makefile.in, aclocal.m4, config.in, configure,
674 doc/Makefile.in: Regenerated.
675
1fe44d79
AM
6762005-05-14 Alan Modra <amodra@bigpond.net.au>
677
678 * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
679 DT_PPC_GLINK.
680
f59f7c79
FF
6812005-05-13 Fred Fish <fnf@specifixinc.com>
682
683 * readelf.c: Fix a couple of obvious comment typos,
684 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
685
a4a00738
L
6862005-05-13 H.J. Lu <hongjiu.lu@intel.com>
687
688 * readelf.c (dump_ia64_unwind): Get stamp with proper size.
689
52d1fb02
NC
6902005-05-12 Nick Clifton <nickc@redhat.com>
691
692 * readelf.c (display_debug_lines): If pointer_size has not been
693 found then assume that it is 4 in order to prevent a seg fault
694 when process_extend_line_op attempts to read the line data.
695
7490d522
AM
6962005-05-11 Alan Modra <amodra@bigpond.net.au>
697
698 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
699 (get_dynamic_type): Call the above.
700
b43b5d5f
NC
7012005-05-07 Nick Clifton <nickc@redhat.com>
702
703 * Update the address and phone number of the FSF organization in
704 the GPL notices in the following files:
705 aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
706 arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
707 budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
708 cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
709 dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
710 ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
711 objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
712 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
713 size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
714 syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
715 windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
716
a580b8e0
JB
7172005-05-06 Jan Beulich <jbeulich@novell.com>
718
719 * objcopy.c (copy_file): Don't delete output upon error here.
720 (copy_main): Delete output upon error.
721
27eed06b
BE
7222005-05-02 Ben Elliston <bje@au.ibm.com>
723
724 * dlltool.c (dtab): Remove empty function.
725 (process_duplicates): Remove calls to dtab().
726
36d3b955
MR
7272005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
728
729 * doc/binutils.texi (strip, objcopy): Clarify the description of
730 the "--strip-debug" option. Fix a typo.
731
cba12006
L
7322005-04-29 H.J. Lu <hongjiu.lu@intel.com>
733
734 * bucomm.c: Undo the last change.
735 * bucomm.h: Likewise.
736
89b78896
BE
7372005-04-29 Ben Elliston <bje@au.ibm.com>
738
739 * syslex.l (word, number, unit): Remove unused variables.
740 * nlmheader.y (keyword_tokens): Make static.
741 * coffdump.c (dump_coff_symbol, coff_dump): Make static.
742 * coffgrok.c (lofile, last_function_symbol, last_function_type,
743 last_struct, last_enum, cur_sfile): Make variables static.
744 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
745 sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
746 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
747 names, pnames): Likewise.
748
85b1c36d
BE
7492005-04-29 Ben Elliston <bje@au.ibm.com>
750
751 * ar.c (mri_mode): Make static.
752 * arsup.c (obfd, real_name, outfile): Likewise.
753 * binemul.c (ar_emul_create): Remove unused function.
754 (ar_emul_default_create): Likewise.
755 * binemul.h (ar_emul_create): Remove declaration.
756 (ar_emul_default_create): Likewise.
757 (struct bin_emulation_xfer_struct): Remove ar_create member.
758 * bucomm.c (report): Make static.
759 * bucomm.h (report): Remove declaration.
760 * cxxfilt.c (mbuffer): Make static.
761 (main): Use unsigned ints for some loop control variables.
762 * readelf.c: Make many global variables static.
763 * size.c (berkeley_format): Make static.
764 (long_options): Likewise.
765 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
766 structure initialiser.
767 (bin_aix5_emulation): Likewise.
768 * emul_vanilla.c (bin_vanilla_emulation): Likewise.
769
943ea8a2
BE
7702005-04-27 Ben Elliston <bje@au.ibm.com>
771
772 * syslex.l: Adjust top-of-file comment: this file is part of GNU
773 binutils, not GNU ld.
774
e7f918ad
NC
7752005-04-25 Nick Clifton <nickc@redhat.com>
776
bee59fd2
NC
777 PR872
778 * objcopy.c (copy_archive): Initialise 'obfd' field of new
779 name_list structure.
7490d522 780
e7f918ad 781 * objcopy.c (copy_usage): Fix description of -K switch.
bee59fd2 782
e7f918ad
NC
783 * doc/binutils.texi (strip, objcopy): Fix description of -K
784 switch.
785
ae67fcb5
DJ
7862005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
787
788 * readelf.c (display_debug_frames): Use data factor for
789 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
790
3bee8bcd
L
7912005-04-19 H.J. Lu <hongjiu.lu@intel.com>
792
793 * objdump.c (dump_section_header): Skip linker created section.
794
64c1196b
L
7952005-04-17 H.J. Lu <hongjiu.lu@intel.com>
796
797 * objdump.c (dump_section_header): Support SEC_GROUP.
798
520494b6
NC
7992005-04-16 Nick Clifton <nickc@redhat.com>
800
801 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
802 printf string.
803
ac559f4a
NC
8042005-04-15 Nick Clifton <nickc@redhat.com>
805
806 * objcopy.c (copy_file): Issue an error message when attmepting to
807 copy an empty input file.
808
9e9b66a9
AM
8092005-04-14 Alan Modra <amodra@bigpond.net.au>
810
811 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
812 * configure.in: Include ../bfd/warning.m4 contents.
813 * Makefile.in: Regenerate.
814 * configure: Regenerate.
815 * doc/Makefile.in: Regenerate.
816
ceae3e33
AM
8172005-04-12 Alan Modra <amodra@bigpond.net.au>
818
819 * Makefile.am: Run "make dep-am".
820 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
821 (sysroff.o, defparse.o, deflex.o): Likewise.
822 (nlmheader.o, rcparse.o, rclex.o): Likewise.
823 * Makefile.in: Regenerate.
824 * aclocal.m4: Regenerate.
825 * config.in: Regenerate.
826 * configure: Regenerate.
827
53260797
JB
8282005-04-11 Jan Beulich <jbeulich@novell.com>
829
830 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
831
52f3cf45
L
8322005-04-06 Nick Clifton <nickc@redhat.com>
833 H.J. Lu <hongjiu.lu@intel.com>
834
835 * po/rw.po: New translation: Kinyarwanda.
836 * configure.in (ALL_LINGUAS): Add rw.
837 * configure: Regenerate.
838
a8b683fc
MR
8392005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
840
841 * readelf.c (debug_apply_rela_addends): Reorder r_info as
842 necessary for 64-bit MIPS.
843
470e4bd1
MR
8442005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
845
846 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
847
661f7c35
NC
8482005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
849
850 PR binutils/813
851 * objdump.c (dump_symbols): Add a check to see if the section for
852 the symbol is chosen using process_section_p.
853
81fc812e
L
8542005-04-01 H.J. Lu <hongjiu.lu@intel.com>
855
856 * NEWS: Mention new readelf options, "-N/--full-section-name"
857 and "-g/--section-groups".
858
859 * doc/binutils.texi: Document new readelf options,
860 "-N/--full-section-name" and "-g/--section-groups".
861
595cf52e
L
8622005-03-31 H.J. Lu <hongjiu.lu@intel.com>
863
864 * readelf.c (do_full_section_name): New.
865 (options): Add "--full-section-name"/'N'.
866 (usage): Add -N/--full-section-name.
867 (parse_args): Handle 'N'.
868 (process_section_headers): Print out the full section name if
869 do_full_section_name isn't 0.
870
e46eba98
NC
8712005-03-31 Nick Clifton <nickc@redhat.com>
872
873 * configure.in: Add a check for <unistd.h> providing a prototype
874 for getopt() which is compatible with the one in
875 include/getopt.h. If so then define HAVE_DECL_GETOPT.
876 * configure: Regenerate.
877 * config.in (HAVE_DECL_GETOPT): Add.
878 * aclocal.m4: Regenerate.
879 * addr2line.c: Include "config.h" before "bfd.h" so that
880 HAVE_DECL_GETOPT is defined before getopt.h is included.
881
ec72cfe5
NC
8822005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
883
884 * doc/binutils.texi: Document new VAX disassembler-specific option
885 -M entry:0xfooba8.
886 * NEWS: Mention the new option.
7490d522 887
abd18680
AP
8882005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
889
890 * MAINTAINERS: Add myself as H8300 maintainer.
891
5810296b
AL
8922005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
893
894 * objdump.c (disassemble_bytes): Remove cast.
895
335a0d39
DJ
8962005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
897
898 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
899 binutils-2_16-branch.
900
163730f0
MK
9012005-03-25 Mark Kettenis <kettenis@gnu.org>
902
903 * MAINTAINERS: Add myself as M88k maintainer.
904
bcfb5d77
DS
9052005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
906
907 * winduni.c (unicode_from_ascii): Don't declare variables
908 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
909 string len.
910
1acfb01b
DD
9112005-03-24 Dmitry Diky <diwil@spec.ru>
912
7490d522 913 * MAINTAINERS: Add myself as MSP430 maintainer.
1acfb01b 914
fa0c5056
NC
9152005-03-23 Nick Clifton <nickc@redhat.com>
916
917 * po/fr.po: Updated translation.
918
41772c33
NC
9192005-03-22 Nick Clifton <nickc@redhat.com>
920
921 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
922 privileges list.
923
b294bdf8
MM
9242005-03-17 Paul Brook <paul@codesourcery.com>
925 Dan Jacobowitz <dan@codesourcery.com>
926 Mark Mitchell <mark@codesourcery.com>
927
928 * binutils/readelf.c (get_arm_segment_type): New function.
929 (get_segment_type): Use it.
930
58450b3b
PB
9312005-03-18 Paul Brook <paul@codesourcery.com>
932
933 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
934
2115ce97
DN
9352005-03-17 Diego Novillo <dnovillo@redhat.com>
936
937 * MAINTAINERS: Remove self as maintainer of x86 intel
938 mode.
939
1ad12f97
NC
9402005-03-16 Nick Clifton <nickc@redhat.com>
941 Ben Elliston <bje@au.ibm.com>
942
569acd2c 943 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 944 compiler command line. Enabled by default. Disable via
569acd2c 945 --disable-werror.
1ad12f97
NC
946 * configure: Regenerate.
947
7b4a0685 9482005-03-15 Daniel Marques <marques@cs.cornell.edu>
7490d522 949 Nick Clifton <nickc@redhat.com>
7b4a0685
NC
950
951 * objcopy.c (globalize_specific_list): New linked list of symbols
952 to convert from local binding into global binding.
953 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
954 OPTION_GLOBALIZE_SYMBOLS.
955 (copy_options): Add "globalize-symbol" and "globalize-symbols".
956 (copy_usage): Document the new switches.
957 (filter_symbols): Convert defined local symbols mentioned on the
958 globalize_specific_list into global symbols.
959 (copy_object): Perform actions if the globalize_specific_list is
960 not empty.
961 (copy_main): Handle new switches.
962 * NEWS: Mention new feature.
963 * doc/binutils.texi: Document new switches.
964
ea8409f7
AM
9652005-03-15 Alan Modra <amodra@bigpond.net.au>
966
729ae8d2
AM
967 * po/es.po: Commit new Spanish translation.
968
ea8409f7
AM
969 * po/fr.po: Commit new French translation.
970
248642ab
AM
9712005-03-14 Alan Modra <amodra@bigpond.net.au>
972
973 * po/tr.po: Commit new Turkish translation.
974
e8d46048
NC
9752005-03-11 Nick Clifton <nickc@redhat.com>
976
977 * po/fr.po: Updated French translation.
978
953130a5
NC
9792005-03-10 Nick Clifton <nickc@redhat.com>
980
981 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
953130a5 982 * configure: Regenerate.
af99dc6d
NC
983 * po/ro.po: New file.
984
985 * po/ru.po: Updated file.
953130a5 986
06647dfd
AM
9872005-03-05 Alan Modra <amodra@bigpond.net.au>
988
989 * po/binutils.pot: Regenerate.
990
bb14f524
JB
9912005-03-02 Jan Beulich <jbeulich@novell.com>
992
993 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
994 * objcopy.c (copy_file): Likewise.
995 (strip_main): Likewise.
996
ce04548a
NC
9972005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
998 Nick Clifton <nickc@redhat.com>
999
1000 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
1001 (struct objdump_disasm_info): Add 'reloc' field.
1002 (disassemble_bytes): Fix check for when an insn has a reloc
1003 associated with it. Improve comment explaining why the use of
1004 octets is wrong. Set the 'reloc' field in objdump_disasm_info
1005 structure.
1006 (objdump_print_addr): Use new 'reloc' field to lookup the correct
1007 address for the symbol associated with the current instruction's
1008 relocation.
1009 (disassemble_info): Initialise 'reloc' field.
1010
e9e44622
JJ
10112005-02-28 Jakub Jelinek <jakub@redhat.com>
1012
1013 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
1014 get_segment_type, get_section_type_name, get_elf_class,
1015 get_data_encoding, get_group_flags, dynamic_section_mips_val,
1016 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
1017 get_AT_name, process_mips_specific, process_gnu_liblist,
1018 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
1019 sprintf where needed.
1020 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
1021 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
1022 using strcat.
1023 (get_dynamic_flags): Renamed to...
1024 (print_dynamic_flags): ... this. Print the flags to stdout instead
1025 of returning them as string.
1026 (process_dynamic_section): Adjust caller.
1027
35515c66
L
10282005-02-25 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * readelf.c (display_debug_ranges): Print out offset for end of
1031 list.
1032
9210d879
AM
10332005-02-23 Alan Modra <amodra@bigpond.net.au>
1034
1035 * dlltool.c: Warning fixes.
1036 * objdump.c: Likewise.
1037
dc3c06c2
AM
10382005-02-22 Alan Modra <amodra@bigpond.net.au>
1039
1040 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
1041 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
1042 dependencies. Run "make dep-am".
1043 * nlmconv.c: Warning fixes.
1044 * readelf.c: Likewise.
1045 * srconv.c: Likewise.
1046 * sysdump.c: Likewise.
1047 * sysinfo.y: Likewise.
1048 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
1049 of strcpy.
1050 * Makefile.in: Regenerate.
1051
ebe372c1
L
10522005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 * objcopy.c (parse_flags): Replace SEC_SHARED with
1055 SEC_COFF_SHARED.
1056
1057 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
1058 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
1059 SEC_COFF_SHARED for COFF only.
1060
72f47744
AM
10612005-02-21 Alan Modra <amodra@bigpond.net.au>
1062
1063 * Makefile.am: Run "make dep-am"
1064 * Makefile.in: Regenerate.
1065 * doc/Makefile.in: Regenerate.
1066
66543521
AM
10672005-02-21 Alan Modra <amodra@bigpond.net.au>
1068
1069 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
1070 (byte_get_little_endian): Don't handle size of -8.
1071 (byte_get_signed, byte_get_big_endian): Likewise.
1072 (print_dec_vma, print_hex_vma): New functions.
1073 (print_vma): Use them. Return chars output.
1074 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
1075 (process_symbol_table): Handle alpha and s390 .hash.
1076
904c75ac
L
10772005-02-18 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * readelf.c (display_debug_loc): Print out offset for end of
1080 list.
1081
ac40b919
JM
10822005-02-18 Joseph S. Myers <joseph@codesourcery.com>
1083
1084 * Makefile.am (TOOL_PROGS): Add objdump.
1085 * Makefile.in: Regenerate.
1086
0af6db78
AM
10872005-02-17 Alan Modra <amodra@bigpond.net.au>
1088
1089 * deflex.l (YY_NO_UNPUT): Define.
1090 * rclex.l (YY_NO_UNPUT): Define.
1091 * rcparse.y (null_unichar): New static var.
1092 (res_null_text): Use it rather than attempting to init from wchar_t.
1093 * windres.c: Include assert.h and time.h before getopt.h.
1094 Include config.h and unistd.h too.
1095
b5e6aa63
NC
10962005-02-15 Nick Clifton <nickc@redhat.com>
1097
1098 * nlmconv.c: Provide a full prototype for the localtime() function
1099 in order to avoid a compile time warning.
1100
d1f5c6e3
L
11012005-02-11 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * readelf.c (group_count): Don't initialize it.
1104 (process_section_groups): Reurn 1 if we won't do unwind nor
1105 section groups. Set group_count to 0 before counting group
1106 sections and return 1 if there are no group sections. Reread
1107 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
1108 section 0.
1109 (process_object): Only set do_unwind to 0 if
1110 process_section_groups return 0.
1111
3517749c
ILT
11122005-02-10 Ian Lance Taylor <ian@airs.com>
1113
1114 * MAINTAINERS: Update my e-mail address.
1115
0dffe982
MM
11162005-02-10 Mark Mitchell <mark@codesourcery.com>
1117
1118 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
1119 maintainers.
1120
c4cf3821
NC
11212005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
1122
1123 * MAINTAINERS: Add self as maintainer of MAXQ.
1124
89fac5e3
RS
11252005-01-31 Richard Sandiford <rsandifo@redhat.com>
1126
1127 * readelf.c (eh_addr_size): New variable.
1128 (find_section): Move earlier in file. Return empty sections too.
1129 (process_program_headers): Use find_section to find .dynamic.
1130 (process_section_headers): Initialize eh_addr_size.
1131 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
1132 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
1133 (display_debug_frames): Use it instead of local addr_size variable.
1134 (size_of_encoded_value): Get pointer size from eh_addr_size rather
1135 than is_32bit_elf.
1136
c46f8c51
AC
11372005-01-31 Andrew Cagney <cagney@gnu.org>
1138
1139 * configure: Regenerate to track ../gettext.m4.
1140
d342277e
NC
11412005-01-31 Nick Clifton <nickc@redhat.com>
1142
1143 * version.c (print_version): Bump the copyright date to 2005.
1144
8615f3f2
AM
11452005-01-25 Alan Modra <amodra@bigpond.net.au>
1146
1147 * nm.c (display_rel_file): Read dynamic syms before calling
1148 bfd_get_synthetic_symtab.
1149
84e43642
BE
11502005-01-21 Ben Elliston <bje@au.ibm.com>
1151
1152 * dlltool.c (dump_iat): Remove unused function.
1153 (gen_exp_file): Remove #if 0'd code.
1154 (make_one_lib_file): Likewise.
1155 * srconv.c: Remove #if 0'd code throughout.
1156 * size.c (lprint_number): Remove.
1157 (print_berkeley_format): Remove #if 0'd code.
1158 * ar.c (do_quick_append): Remove declaration and definiton.
1159 (main): Remove #if 0'd code.
1160 * filemode.c (filemodestring): Remove #if 0'd function.
1161 * sysdump.c (unit_info_list): Remove function.
1162 (object_body_list): Likewise.
1163 (program_structure): Likewise.
1164 (debug_list): Likewise.
1165 (module): Remove #if 0'd code.
1166
619b8b60
MM
11672005-01-20 Mark Mitchell <mark@codesourcery.com>
1168
a332ee82
MM
1169 * BRANCHES: Add binutils-2_15-branch.
1170
619b8b60
MM
1171 * MAINTAINERS: Document branch policy.
1172 * BRANCHES: New file.
1173
e39893d7
FF
11742005-01-19 Fred Fish <fnf@specifixinc.com>
1175
1176 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
1177 * doc/binutils.texi (objdump): Document the "no-aliases"
1178 disassembly option.
1179
b09a7772
NC
11802005-01-17 Eugene Kotlyarov <ekot@narod.ru>
1181
1182 PR binutils/647
1183 * rcparse.y (RCDATA): Allow a filename to be supplied as the
1184 parameter. Parse it with define_rcdata_file().
1185 * resrc.c (define_rcdata_file): New function.
1186 * windres.h: Provide a prototype for the new function.
1187
1188 * resrc.c (define_user_file): Fix typo by replacing "font file"
1189 with "file".
1190
ccf33464
JT
11912005-01-16 Jason Thorpe <thorpej@netbsd.org>
1192
1193 * MAINTAINERS: Update my email address.
1194
a0ce7f12
DS
11952005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1196
1197 * dlltool.c (set_dll_name_from_def): New function. Strip name
1198 to basename, with warning.
8615f3f2 1199 (def_name): Use it.
a0ce7f12
DS
1200 (def_library): Likwise.
1201 (main): Strip arg of --dllname to basename, with warning.
1202 Only use basename of exp_name when inferring dll_name.
1203
195a97ce
NC
12042005-01-11 Nick Clifton <nickc@redhat.com>
1205
1206 PR binutils/637
1207 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
1208 footnote in order to prevent the sed script in the Makefile from
1209 converting it into c++filt.
1210
0853c092
L
12112005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1212
1213 BZ 635
1214 readelf.c (saved_base_address): Removed.
1215 (decode_64bit_range): Likewise.
1216 (decode_range): Likewise.
1217 (display_64bit_debug_ranges): Likewise.
1218 (debug_info): Add range_lists, num_range_lists and
1219 max_range_lists.
1220 (read_and_display_attr_value): Handle do_debug_ranges.
1221 (process_debug_info): Likewise.
1222 (display_debug_ranges): Rewrite.
1223 (process_object): Free range_lists.
1224
0bcb06d2
AS
12252005-01-10 Andreas Schwab <schwab@suse.de>
1226
1227 * configure.in: Don't define SKIP_ZEROES.
1228 * configure: Regenerate.
1229 * objdump.c (disassemble_data): Set skip_zeroes and
1230 skip_zeroes_at_end in disasm_info to defaults.
1231 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
1232 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
1233 always define.
1234 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
1235 objdump_disasm_info.
1236
e54b12b7
L
12372005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 * readelf.c (display_debug_loc): Display base address
1240 specifiers. Always output <End of list>.
1241
b38c7015
L
12422005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1243
1244 * readelf.c (have_frame_base): New.
1245 (need_base_address): Likewise.
1246 (saved_base_address): Likewise.
1247 (decode_location_expression): Return 1 if DW_AT_frame_base is
1248 needed.
1249 (debug_info): Add base_address and a have_frame_base pointer.
1250 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
1251 saved_base_address. Record base address. Set have_frame_base.
1252 Record if a location list has DW_AT_frame_base. Display if a
1253 location expression has no DW_AT_frame_base but needs one. Set
1254 saved_base_address only if needed.
1255 (process_debug_info): Clear have_frame_base, saved_base_address
1256 and set need_base_address.
1257 (display_debug_loc): Display if a location expression has no
1258 DW_AT_frame_base but needs one. Display if start >= end. Don't
1259 adjust for section address. Properly handle base address.
1260 (process_object): Free the have_frame_base pointer in
1261 debug_info.
1262
b0660586
L
12632005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1264
1265 * readelf.c (display_debug_loc): Display offsets for hole and
1266 overlap.
1267 (display_debug_str): Add a newline at the end.
1268
8b626bcf
NC
12692005-01-04 Armin Diehl <diehl@nordrhein.de>
1270
1271 PR binutils/630
1272 * nlmconv.c (main): Only store the basename of the output filename
1273 in the module table.
1274
5b18a4bc
NC
12752005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1276
1277 BZ 615
1278 * readelf.c (process_debug_info): New.
1279 (debug_info): Add num_loc_offsets, loc_offsets and
1280 last_loc_offset_p.
1281 (get_debug_info): Use process_debug_info.
1282 (display_debug_loc): Properly handle location list. Warn if bad
1283 location lists are encoutnered.
1284 (read_and_process_attr_value): New.
1285 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
1286 (display_debug_info): Use process_debug_info.
1287 (process_object): Also free loc_offsets in debug_information.
1288
180e47e2
AM
12892004-12-31 Alan Modra <amodra@bigpond.net.au>
1290
1291 * objdump.c (remove_useless_symbols): Discard section symbols.
1292
0c548fce
L
12932004-12-27 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 * readelf.c (read_leb128): Support 64bit host.
1296
5b18a4bc
NC
12972004-12-23 Nick Clifton <nickc@redhat.com>
1298
1299 PR binutils/616
1300 * readelf.c (debug_info): Add 'cu_offset' field.
1301 (get+pointer_size_of_comp_unit): Rename to
1302 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
1303 the offset of the comp_unit if requested.
1304 (get_debug_info): Record comp_unit offsets as well.
1305 (display_debug_lines): Call get_pointer_size_of_comp_unit.
1306 (decode_location_expression): Add an extra parameter - the offset
1307 of the current comp-unit. Use this when decoding the DW_OP_call2
1308 and DW_OP_call4 operators.
1309 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
1310 comp_unit offset on the decode_location_expression.
1311 (read_and_display_attr_value): Pass the comp_unit offset on the
1312 decode_location_expression.
1313 (display_debug_frames): Pass 0 as the comp_unit offset to
1314 decode_location_expression.
8615f3f2 1315
76a56260
NC
13162004-12-22 Nick Clifton <nickc@redhat.com>
1317
1318 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
1319 New variables associated with obtaining the pointer size for a
1320 comp_unit.
1321 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
1322 of the section requesting the pointer size. Use this name in
1323 error messages. If there are not enough comp_units available
1324 produce a warning message, but return the last known pointer size
1325 so that section dumping can continue.
1326 (get_debug_info): Reset the new variables.
1327 (display_debug_lines): Add extra parameter to invocation of
1328 get_pointer_size_of_comp_unit and remove error message when it
1329 returns 0.
1330 (display_debug_loc): Likewise.
1331
bcf32829
JB
13322004-12-15 Jan Beulich <jbeulich@novell.com>
1333
1334 * doc/binutils.texi: Document --strip-unneeded-symbol and
1335 --strip-unneeded-symbols.
1336 * objcopy.c (strip_unneeded_list): New.
1337 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
1338 and OPTION_STRIP_UNNEEDED_SYMBOLS.
1339 (copy_options): Add --strip-unneeded-symbol and
1340 --strip-unneeded-symbols.
1341 (copy_usage): Likewise.
1342 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
1343 and the symbol is not needed.
1344 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
1345 OPTION_STRIP_UNNEEDED_SYMBOLS.
1346
ebcb91b7
ILT
13472004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
1348
1349 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
1350
a2f33459
BE
13512004-12-08 Ben Elliston <bje@au.ibm.com>
1352
1353 * arlex.l: Fix formatting.
1354
36607f99
BE
13552004-12-08 Ben Elliston <bje@au.ibm.com>
1356
1357 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
1358 config.texi whose value is the current month and year.
1359 * doc/Makefile.in: Rebuild.
1360 * doc/binutils.texi: Set the document subtitle to be the value of
1361 the Texinfo UPDATED variable (obtained from config.texi).
1362
2aa9814e
BE
13632004-12-07 Ben Elliston <bje@au.ibm.com>
1364
1365 PR binutils/249
1366 * doc/binutils.texi (def file format): New node.
1367 (dlltool): Use the tool name as the @chapter name, like all the
1368 other binutils. Use @file{.def} throughout for consistency.
1369
c7de9216
BE
13702004-12-06 Ben Elliston <bje@au.ibm.com>
1371
1372 * dlltool.c: Comment fix.
1373
2423fbe6
BE
13742004-12-06 Ben Elliston <bje@au.ibm.com>
1375
1376 * doc/binutils.texi: Update copyright years.
1377
73fb7068
RS
13782004-12-03 Richard Sandiford <rsandifo@redhat.com>
1379
1380 * MAINTAINERS: Remove mention of config.if.
1381
32118081
NC
13822004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1383
1384 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1385 * Makefile.in: Regenerate.
1386
2b25cacb
ILT
13872004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
1388
1389 PR binutils/536
1390 * stabs.c (stab_demangle_template): Call stab_demangle_count
1391 rather than stab_demangle_get_count to get the length of a pointer
1392 target.
1393
74aba8aa
DS
13942004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
1395
1396 * defparse.y: Remove unnecessary commas from token list.
1397
977cdf5a
NC
13982004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1399
1400 * doc/binutils.texi (nm): Update description of weak symbols.
1401
18bd398b
NC
14022004-11-03 Nick Clifton <nickc@redhat.com>
1403
1404 * readelf.c (do_debug_ranges): New variable.
1405 (usage): Document new switch: -wR or --debug-dump=Ranges.
1406 (parse_args): Handle new switch. Replace switch statement for the
1407 long options with a more compact table structure.
1408 (process_section_headers): Allow the dumping of .debug_ranges
1409 sections if so requested.
1410 (debug_displays): Likewise.
1411 (load_debug_range): New function: Grabs the contents of a
1412 .debug_ranges section.
1413 (free_debug_range): New function: Releases the grabbed
1414 .debug_ranges section.
1415 (decode_64bit_range): New function: Displays a 64-bit range in a
1416 .debug_ranges section.
1417 (decode_range): New function: Displays a 32-bit range in a
1418 .debug_ranges section.
1419 (read_and_display_attr_value): Record the value of DW_AT_low_pc
1420 attributes. Use decode_ranges() to display a DW_AT_ranges
1421 attribute.
1422 (display_debug_info): Use load_debug_range() and
1423 free_debug_range().
1424 (display_64bit_debug_ranges): New function. Displays the contents
1425 of a 64-bit format .debug_ranges section.
1426 (display_debug_ranges): New function: Displays the contents of a
1427 32-bit .debug_ranges section.
8615f3f2 1428
18bd398b
NC
1429 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
1430 global scope.
1431 (process_object): Initialise the dump_sects array from the
1432 cmdline_dump_sects array before processing each object file.
1433
1434 (streq, strneq): New macros. Use them to replace occurrences of
1435 strcmp() and strncmp().
1436
1437 (debug_information): New structure array to replace
1438 debug_line_pointer_sizes array.
1439 (num_debug_info_entries): New variable to replace
1440 num_debug_line_pointers.
1441 (get_pointer_size_of_comp_unit): New function: Returns the pointer
1442 size of a given compilation unit.
1443 (get_debug_info): New function to replace
1444 get_debug_line_pointer_sizes.
1445 (display_debug_lines): Use the new functions.
1446 (display_debug_loc): Likewise.
8615f3f2 1447
18bd398b
NC
1448 (disassemble_section): Change return type to int.
1449 (display_debug_lines): Move local variables to their
1450 innermost scope.
1451 (display_debug_section): Likewise. Also record the return value
1452 of functions called and pass this back to the parent. Also only
1453 warn about undumped sections when the user explicitly requested
1454 their dumping.
1455
1456 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
1457 types as well.
8615f3f2 1458
18bd398b
NC
1459 * NEWS: Mention the support for decoding .debug_ranges sections.
1460 * doc/binutils.texi: Document the new command line switch to
1461 readelf.
1462
57346661
AM
14632004-11-03 Randolph Chung <tausq@debian.org>
1464
1465 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
1466 unw_aux_info and unw_table_entry.
1467 (find_symbol_for_address): Pass symtab and strtab info explicitly.
1468 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
1469 prefix.
1470 (slurp_ia64_unwind_table): Likewise.
1471 (ia64_process_unwind): Rename from old process_unwind.
1472 (hppa_unw_aux_info): New.
1473 (dump_hppa_unwind): New.
1474 (slurp_hppa_unwind_table): New.
1475 (hppa_process_unwind): New.
1476 (process_unwind): Factor out common unwinding checks; dispatch to
1477 unwind handler based on machine type.
1478
935d0bca
NC
14792004-11-02 Nick Clifton <nickc@redhat.com>
1480
1481 * readelf.c (display_debug_lines): Fix typo in error message.
1482
1ec5cd37
NC
14832004-10-26 Mark Mitchell <mark@codesourcery.com>
1484
1485 * readelf.c (get_note_type): Handle notes not in core files.
1486 (process_note_sections): New function.
1487 (process_corefile_contents): Rename to ...
1488 (process_notes): ... this.
1489 (process_object): Call process_notes, not
1490 process_corefile_contents.
1491 * doc/binutils.texi: Update readelf -n documentation.
1492
b3f21e4a
JJ
14932004-10-26 Jakub Jelinek <jakub@redhat.com>
1494
1495 * ar.c (extract_file): Set atime to mtime for ar xo.
1496
2b4c4cc4
ILT
14972004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
1498
1499 * stabs.c (stab_demangle_v3_arglist): New static function, broken
1500 out of stab_demangle_v3_argtypes.
1501 (stab_demangle_v3_argtypes): Call it.
1502 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
1503 If we find an unrecognized component, print out its number.
1504
1ffa9a18
L
15052004-10-25 David Mosberger <davidm@hpl.hp.com>
1506
1507 * readelf.c (slurp_ia64_unwind_table): Support relocations against
1508 non-section symbols by adding in the symbol value.
1509
d79b3d50
NC
15102004-10-25 Nick Clifton <nickc@redhat.com>
1511
1512 PR 465
1513 * readelf.c (dynamic_strings_length): New global variable.
1514 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
1515 strings in the dynamic string table.
1516 (process_section_headers): Initialise dynamic_strings_length.
1517 (process_dynamic_section): Likewise.
1518 (process_object): Reset dynamic_string_length when the buffer is freed.
1519 (dynamic_sections_mips_val): Use the new macros.
1520 (process_dynamic_section): Likewise.
1521 (process_version_sections): Likewise.
1522 (process_symbol_table): Likewise.
1523 (process_syminfo): Likewise.
1524 (process_mips_specific): Likewise.
1525 (dump_relocations): Add a new parameter 'strtablen' and use this
1526 to verify that string offset in a given reloc is valid. Print a
1527 suitable error message otherwise.
1528 (process_relocs): Pass the new argument to dump_relocations.
1529
0fd555c4
NC
15302004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1531
1532 * dlltool.c: Include <assert.h>.
1533 (PREFIX_ALIAS_BASE): Define.
1534 (struct export): Add member import_name;
1535 (def_exports): Set import_name.
1536 (make_one_lib_file): Remove prefix alias code, use import_name
1537 in .idata$6.
1538 (gen_lib_file): Create and delete aliases.
1539
5ab0c1a1
L
15402004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * readelf.c (process_section_groups): Free symtab after use.
1543
d412a550
NC
15442004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
1545 Nick Clifton <nickc@redhat.com>
1546
1547 * strings.c (usage): Place radix values for -t option into the
1548 correct order.
1549
1550 * objcopy.c (add_redefine_syms_file): Change error messages to use
1551 <filename>:<linenumber>: format for easier parsing by automatic
1552 tools.
1553
1554 * srconv.c (show_usage): Fix spelling typo.
1555
1556 * windres.c (format_from_filename): Suggest the use of -J instead
1557 of -I if the file type cannot be determined.
1558
fb608b92
NC
15592004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1560
1561 * strings.c: Include <sys/stat.h>.
1562
2bb2d727
AM
15632004-10-18 Alan Modra <amodra@bigpond.net.au>
1564
7f67d4c9
AM
1565 * budemang.c (demangle): Fix thinko.
1566
2bb2d727
AM
1567 * budemang.c (demangle): Handle "@plt" suffix.
1568
61bbd35b
NC
15692004-10-14 Nick Clifton <nickc@redhat.com>
1570
1571 * nm.c (usage): Fix description of --special-syms switch.
1572
fb5b5478
JJ
15732004-10-13 Jakub Jelinek <jakub@redhat.com>
1574
1575 * strings.c (statbuf): New typedef.
1576 (file_stat): Define.
1577 (strings_object_file): Avoid using get_file_size, instead do the
1578 checks here, using file_stat.
1579 * configure.in (HAVE_STAT64): New test.
1580 * configure: Rebuilt.
1581 * config.in: Rebuilt.
1582
8cb51566
PB
15832004-10-12 Paul Brook <paul@codesourcery.com>
1584
1585 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
1586
83ef0798
AM
15872004-10-11 Alan Modra <amodra@bigpond.net.au>
1588
1589 * objdump.c (dump_symbols): Fix thinko last change. Improve error
1590 messages.
1591
3c9458e9
NC
15922004-10-08 Nick Clifton <nickc@redhat.com>
1593
1594 * nm.c: Add a new switch --special-syms which, if enabled, will
1595 include the ARM Mapping symbols in nm's output.
1596 (usage): Mention the switch.
1597 (filter_symbols): Handle the switch.
1598 * objdump.c: Add a similar switch.
1599 (usage): Mention the switch.
1600 (dump_symbols): Handle the switch.
1601 * doc/binutils.texi: Document the new switches.
1602 * NEWS: Mention the new switches.
1603
d2b2c203
DJ
16042004-10-08 Daniel Jacobowitz <dan@debian.org>
1605
1606 * readelf.c (get_x86_64_section_type_name): New function.
1607 (get_section_type_name): Use it.
1608
d67a454c
NC
16092004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1610
1611 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
1612 patches.
1613 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
1614
1c877e87
AO
16152004-10-07 Alexandre Oliva <aoliva@redhat.com>
1616
1617 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
1618 types.
1619
40a18ebd
NC
16202004-10-01 Paul Brook <paul@codesourcery.com>
1621
1622 * readelf.c (get_arm_section_type_name): New function.
1623 (get_section_type_name): Use it.
1624
382c1116
NC
16252004-09-28 Nick Clifton <nickc@redhat.com>
1626
eb1ab0cf 1627 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
1628 prototypes.
1629
cbaa0dc5
AM
16302004-09-22 Alan Modra <amodra@bigpond.net.au>
1631
1632 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
1633 segments.
1634
3443c1ae
AM
16352004-09-17 Alan Modra <amodra@bigpond.net.au>
1636
1637 * Makefile.am: Run "make dep-am".
1638 * Makefile.in: Regenerate.
1639 * config.in: Regenerate.
1640 * configure: Regenerate.
1641 * doc/Makefile.in: Regenerate.
1642 * po/binutils.pot: Regenerate.
1643
74013231
AM
16442004-09-12 Alan Modra <amodra@bigpond.net.au>
1645
1646 * readelf.c (decode_location_expression): Sign extend value for
1647 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
1648
360589e8
NC
16492004-09-09 Nick Clifton <nickc@redhat.com>
1650
1651 PR 363
1652 * ar.c (replace_members): Do not use get_file_size as
1653 ar_emul_append correctly handles missing files.
1654
d15b04bd
L
16552004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * configure: Regenerated with autconfig 2.13.
1658
d597aff7
DS
16592004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1660
74013231
AM
1661 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
1662 documentation.
d597aff7 1663
04c34128
NC
16642004-09-06 Michael Wardle <mbw@endbracket.net>
1665
3023b782 1666 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
1667 the effect of the -p switch.
1668
d597aff7 16692004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 1670
6cef8f72
DS
1671 * dlltool.c (make_one_lib_file): Test if internal_name was
1672 specified by user before using it.
5df31fad 1673
74013231 16742004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
1675
1676 PR binutils/351
1677 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
1678 exp->internal_name if it is present.
1679
ec2dfb42
AO
16802004-09-02 Alexandre Oliva <aoliva@redhat.com>
1681
1682 * MAINTAINERS: Add self as co-maintainer of FR-V.
1683 * readelf.c (get_machine_flags): Print FR-V cpu types.
1684
0873df2a
AM
16852004-08-28 Alan Modra <amodra@bigpond.net.au>
1686
1687 * nm.c (show_synthetic): New var.
1688 (long_options): Add "synthetic".
1689 (usage): Here too.
1690 (display_rel_file): Handle show_synthetic.
1691
c9727e01
AM
16922004-08-28 Alan Modra <amodra@bigpond.net.au>
1693
1694 * objdump.c (dump_bfd): Pass both symbol tables to
1695 bfd_get_synthetic_symtab.
1696
90e3cdf2
JJ
16972004-08-17 Jakub Jelinek <jakub@redhat.com>
1698
1699 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
1700 of dynsyms to bfd_get_synthetic_symtab.
1701
d84de024
AM
17022004-08-16 Alan Modra <amodra@bigpond.net.au>
1703
1704 * readelf.c (debug_apply_rela_addends): New function, extracted from..
1705 (display_debug_info): ..here.
1706 (display_debug_frames): Call debug_apply_rela_addends. Don't do
1707 DW_EH_PE_pcrel adjustment for ET_REL.
1708
efcb5b0e
AS
17092004-08-06 Andreas Schwab <schwab@suse.de>
1710
1711 * readelf.c (dump_relocations): Fix typo when calculating
1712 sec_index.
1713
d3cde3af
NC
17142004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
1715
1716 * dllwrap.c (deduce_name): Fix typos introduced when program_name
1717 was renamed to prog_name.
1718
1d70c7fb
AO
17192004-07-29 Alexandre Oliva <aoliva@redhat.com>
1720
1721 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
1722 EF_SH2A_NOFPU.
1723
ccde1100
AO
17242004-07-28 Alexandre Oliva <aoliva@redhat.com>
1725
1726 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
1727 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
1728 EF_SH4A_NOFPU.
1729 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
1730 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
1731
082b7297
L
17322004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
1735 to access comdat.
1736 * objdump.c (dump_section_header): Likewise.
1737
44a6d974
NC
17382004-07-15 Aravinda PR <aravindapr@rediffmail.com>
1739
1740 * nlmconv.c (main): Pass map_file argument to link_inputs.
1741 (link_inputs): Use map_file argument if it is defined.
1742
61513dc1
NC
17432004-07-13 Nick Clifton <nickc@redhat.com>
1744
1745 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
1746 conflicts with exported global defined in bucomm.h.
1747 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
1748 shadowing the global defined in bucomm.h.
1749
607dea97
NC
17502004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1751
1752 * dlltool.c (ext_prefix_alias): New global variable.
1753 (make_one_lib_file): Add aliases with prefixes for external
1754 and import definitions.
1755 (usage): Document -p option.
1756 (long_options): Add --ext-prefix-alias option.
1757 (main): Handle -p.
1758 * doc/binutils.texi: Document new switch.
1759 * NEWS: Mention new switch.
1760
2758961a
NC
17612004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1762
1763 * binutils/dlltool.c (asm_prefix): Add parameter: name.
1764 No underscore for symbols beginning with ?.
1765 (ASM_PREFIX): Add parameter: NAME.
1766 (gen_exp_file): Use new parameter.
1767 (make_label): Likewise.
1768 (make_imp_label): Likewise.
1769 (make_one_lib_file): Likewise.
1770
1fe1f39c
NC
17712004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
1772
1773 * MAINTAINERS: Added myself to the list.
1774 * readelf.c: Include "elf/crx.h".
1775 (guess_is_rela): Handle EM_CRX.
1776 (get_machine_name): Likewise.
1777 (dump_relocations): Likewise.
1778
c87db184
CF
17792004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1780
1781 * doc/binutils.texi (nm): Clarify weak symbol description.
1782
fb7b006e
BE
17832004-06-24 Ben Elliston <bje@au.ibm.com>
1784
1785 * readelf.c (get_segment_type): Display "GNU_STACK", not just
1786 "STACK", when a PT_GNU_STACK segment is encountered.
1787
eea6121a
AM
17882004-06-24 Alan Modra <amodra@bigpond.net.au>
1789
1790 * objcopy.c (copy_section): Don't set _cooked_size.
1791
fb514b26
AM
17922004-06-22 Alan Modra <amodra@bigpond.net.au>
1793
ba2685cc
AM
1794 * readelf.c (Elf32_Word): Delete.
1795 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
1796 (get_64bit_dynamic_section): Likewise.
1797
1798 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
1799 (get_64bit_dynamic_section): Likewise.
1800
86dba8ee
AM
1801 * readelf.c (dynamic_nent): New variable.
1802 (get_32bit_dynamic_section): Set it.
1803 (get_64bit_dynamic_section): Here too.
1804 (process_dynamic_section): Use it instead of dynamic_size.
1805 (process_syminfo): Likewise.
1806
fb514b26
AM
1807 * readelf.c (get_32bit_dynamic_section): Correct number of entries
1808 translated from external to internal form.
1809 (get_64bit_dynamic_section): Likewise.
1810
b2d38a17
NC
18112004-06-18 Jie Zhang <zhangjie@magima.com.cn>
1812
1813 * readelf.c (process_program_headers): When locating the dynamic
1814 section use the section table if it is present.
1815 (dynamic_segment): Renamed to dynamic_section.
1816 Replace references to dynamic segment with references to dynamic
1817 section, except where appropriate.
1818 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
1819 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
1820 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
1821 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
1822 Remove tag counting code as it is no longer needed.
1823 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
1824 Remove tag counting code as it is no longer needed.
1825 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 1826
135dfb4a
AM
18272004-06-15 Alan Modra <amodra@bigpond.net.au>
1828
1829 * objcopy.c (copy_section): Use bfd_get_section_size instead of
1830 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
1831 (compare_section_lma): Likewise.
1832 * addr2line.c (find_address_in_section): Likewise.
1833 * coffgrok.c (do_sections_p1): Likewise.
1834 * dlltool.c (scan_drectve_symbols): Likewise.
1835 * nlmconv.c (main): Likewise.
1836 (copy_sections): Likewise.
1837 (powerpc_mangle_relocs): Likewise.
1838 * objdump.c (disassemble_section): Likewise.
1839 * prdbg.c (find_address_in_section): Likewise.
1840 * size.c (berkeley_sum): Likewise.
1841 * srconv.c (wr_ob): Likewise.
1842 * strings.c (strings_a_section): Likewise.
1843
90e01f86
ILT
18442004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
1845
1846 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
1847
80fccad2
BW
18482004-05-17 David Heine <dlheine@tensilica.com>
1849
eea6121a 1850 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
1851 (copy_object): Call setup_bfd_headers.
1852
0da76f83
NC
18532004-05-13 Paul Brook <paul@codesourcery.com>
1854
1855 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
1856 entries.
1857
9598fbe5
NC
18582004-05-13 Nick Clifton <nickc@redhat.com>
1859
1860 * po/fr.po: Updated French translation.
1861
8c37241b
JJ
18622004-05-11 Jakub Jelinek <jakub@redhat.com>
1863
1864 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
1865
e4b17d5c
L
18662004-05-07 H.J. Lu <hongjiu.lu@intel.com>
1867
1868 * readelf.c (section_groups): New.
1869 (group_count): New.
1870 (section_headers_groups): New.
1871 (process_section_groups): Populate group_count, section_groups
1872 and section_headers_groups.
1873 (process_unwind): Support section group.
1874 (process_object): Always call process_section_groups. Free
1875 section_groups and section_headers_groups.
1876
f2da459f
L
18772004-04-30 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * readelf.c (process_section_headers): Use %3lu on sh_info.
1880
f8935895
NC
18812004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
1882
1883 * ranlib.sh: Quote $1 argument in case it contains spaces.
1884
18852004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
1886
1887 * objcopy.c (copy_usage, strip_usage): Fix spelling.
1888
f5842774
L
18892004-04-26 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 * readelf.c (do_section_groups): New.
1892 (options): Add --section-groups/-g.
1893 (usage): Mention --section-groups/-g.
1894 (parse_args): Support --section-groups/-g.
1895 (get_group_flags): New.
1896 (process_section_groups): New.
1897 (process_object): Call process_section_groups.
1898
46212538
AM
18992004-04-24 Alan Modra <amodra@bigpond.net.au>
1900
1901 * objdump.c (disassemble_section): Don't disassemble sections
1902 without SEC_HAS_CONTENTS.
1903
4c45e5c9
JJ
19042004-04-22 Jakub Jelinek <jakub@redhat.com>
1905
1906 * objdump.c (synthsyms, synthcount): New variables.
1907 (disassemble_data): Use dynsyms for stripped binaries or libraries.
1908 Add synthetized symbols.
1909 (dump_bfd): For disassemble, initialize dynsyms always and
1910 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
1911 before returning.
1912
e9f87780
AM
19132004-04-14 Alan Modra <amodra@bigpond.net.au>
1914
1915 * strings.c (print_strings): Cast file_off to unsigned long in
1916 printf arg list.
1917
1ba93119
AM
19182004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
1919
1920 PR 86
1921 * arsup.c (ar_save): Use smart_rename.
1922
935a41f5
NC
19232004-04-01 Dean Luick <luick@cray.com>
1924
1925 * readelf.c (display_debug_pubnames): Align offset and data
1926 columns.
1927 (read_and_display_attr_value): Add missing break;
1928 (debug_displays): Enable the display of the .debug_pubtypes
1929 section.
1930
92e25cf8
SS
19312004-03-30 Stan Shebs <shebs@apple.com>
1932
1933 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
1934 support files, no longer used.
1935
d507cf36
PB
19362004-03-23 Paul Brook <paul@codesourcery.com>
1937
1938 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
1939
8c9a9879
RH
19402004-03-21 Richard Henderson <rth@redhat.com>
1941
1942 * readelf.c (display_debug_frames): Don't crash for mismatched
1943 DW_CFA_restore_state.
1944
6ece5c52
AM
19452004-03-19 Alan Modra <amodra@bigpond.net.au>
1946
1947 * Makefile.am: Run "make dep-am".
1948 * Makefile.in: Regenerate.
1949 * aclocal.m4: Regenerate.
1950 * config.in: Regenerate.
1951 * configure: Regenerate.
1952 * po/binutils.pot: Regenerate.
1953
6f104306
NS
19542004-03-15 Nathan Sidwell <nathan@codesourcery.com>
1955
1956 * objdump.c (struct SFILE): Replace current pointer with pos
1957 offset, rename size to alloc.
1958 (objdump_sprintf): Avoid unnecessary copies in the common case
1959 (disassemble_bytes): Keep sfile live throughout the
1960 function. Adjust usage appropriately.
1961
523f6a27
BE
19622004-03-10 Ben Elliston <bje@gnu.org>
1963
1964 * MAINTAINERS: Update my mail address.
1965
7aa52b1f
NC
19662004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1967
1968 * deflex.l: Handle "PRIVATE" string.
1969 * defparse.y (%token): Add PRIVATE.
1970 (%type): Add opt_PRIVATE.
1971 (expline): Pass opt_PRIVATE to def_exports.
1972 (opt_PRIVATE): Handle PRIVATE token.
1973 * dlltool.h (def_exports): Add 7th param for private flag to
1974 declaration.
1975 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1976 (struct export): Add 'private' field.
1977 (def_exports): Set 'private' field of struct exports.
1978 (scan_drectve_symbols): Adjust calls to def_exports.
1979 (scan_filtered_symbols): Likewise.
1980 (dump_def_info): Print 'private' field.
1981 (gen_def_file): Likewise.
1982 (gen_lib_file): Skip generation of lib object if private.
1983 Delete tmp object files in same order as they were generated.
1984 Don't delete non-existent private object files.
1985
af865222
AS
19862004-02-27 Andreas Schwab <schwab@suse.de>
1987
1988 * ar.c (main): Support POSIX-compatible argument parsing.
1989
c7e7ca54
NC
19902004-02-23 Daniel Lucq <daniel@lucq.org>
1991
1992 * readelf.c (process_mips_specific): Print conflictsno as an
1993 unsigned long.
1994
eff21b8e
CF
19952004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1996
1997 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1998
2f01ffbf
JJ
19992004-02-19 Jakub Jelinek <jakub@redhat.com>
2000
2001 * objcopy.c (copy_section): Avoid warnings.
2002
c92c35e7
AC
20032004-02-14 Andrew Cagney <cagney@redhat.com>
2004
2005 * ar.c (remove_output): Use bfd_cache_close.
2006 * arsup.c (ar_end): Ditto.
2007
9d241085
RM
20082004-01-21 Roland McGrath <roland@redhat.com>
2009
2010 * readelf.c (get_note_type): Match NT_AUXV.
2011
d99e9f4d
NC
20122004-01-20 Nick Clifton <nickc@redhat.com>
2013
2014 * version.c (print_version): Update copyright year to 2004.
2015
f8b73030
MR
20162004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2017
2018 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
2019 throughout.
2020 * aclocal.m4: Regenerate.
2021 * configure: Regenerate.
2022
f0312d39
JJ
20232004-01-12 Jakub Jelinek <jakub@redhat.com>
2024
2025 * objcopy.c: Include elf-bfd.h.
2026 (is_strip_section): Don't strip debugging sections if
2027 STRIP_NONDEBUG.
2028 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
2029 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
2030
2031 * objcopy.c (copy_section): Free relpp if relcount == 0.
2032
041821e6
ILT
20332004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
2034
2035 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
2036 (stab_demangle_argtypes): Likewise.
2037 (stab_demangle_v3_argtypes): New static function.
2038 (stab_demangle_v3_arg): New static function.
2039
950d48e7
NC
20402004-01-12 Nick Clifton <nickc@redhat.com>
2041
2042 * objcopy.c (copy_object): Make the function boolean, returning
2043 FALSE upon failure.
eea6121a
AM
2044 (copy_archive): Handle the return value from copy_object.
2045 (copy_file): Likewise.
950d48e7 2046
d9296b18
NC
20472004-01-07 Nick Clifton <nickc@redhat.com>
2048
2049 * readelf.c (find_section): New function. Locates a named
2050 section.
2051 (get_debug_line_pointer_sizes): New function: Initialises the
2052 debug_line_pointer_sizes array.
eea6121a
AM
2053 (display_debug_lines): Call get_debug_line_pointer_sizes.
2054 (display_debug_loc): Likewise.
2055 (load_debug_loc): Use find_section.
2056 (load_debug_str): Likewise.
2057 (display_debug_info): Likewise.
2058 (prescan_debug_info): Delete.
2059 (debug_displays): Remove prescan field.
2060 (process_section_contents): Do not perform prescans.
d9296b18 2061
5e675b72
AM
20622004-01-03 Alan Modra <amodra@bigpond.net.au>
2063
2064 * objcopy.c (filter_bytes): Delete. Move code to..
2065 (copy_section): ..here. Simplify size adjustment. Divide
2066 section lma by interleave.
2067
f0660b73
NC
20682004-01-02 Nick Clifton <nickc@redhat.com>
2069
2070 * po/ru.po: New file: Russian translation.
2071 * configure.in (ALL_LINGUAS): Add ru
2072 * configure: Regenerate.
eb18fd22 2073
c9e214e5 2074For older changes see ChangeLog-0203
252b5132
RH
2075\f
2076Local Variables:
2077mode: change-log
2078left-margin: 8
2079fill-column: 74
2080version-control: never
2081End: