* messages.c (as_internal_value_out_of_range): Cast values passed
[binutils.git] / binutils / ChangeLog
blobf1f374f66cb1234f0442634435ca7f687ab76c8d
1 2004-09-12  Alan Modra  <amodra@bigpond.net.au>
3         * readelf.c (decode_location_expression): Sign extend value for
4         DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
6 2004-09-09  Nick Clifton  <nickc@redhat.com>
8         PR 363
9         * ar.c (replace_members): Do not use get_file_size as
10         ar_emul_append correctly handles missing files.
12 2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14         * configure: Regenerated with autconfig 2.13.
16 2004-09-06  Danny Smith  <dannysmith@users.sourceforge.net>
18         * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
19         documentation.
21 2004-09-06  Michael Wardle  <mbw@endbracket.net>
23         * doc/binutils.texi (objdump): Document that the -x switch includes
24         the effect of the -p switch.
26 2004-09-04  Danny Smith  <dannysmith@users.sourceforge.net>
28         * dlltool.c (make_one_lib_file): Test if internal_name was
29         specified by user before using it.
31 2004-09-02  Carlo Wood  <carlo@alinoe.com>
33         PR binutils/351
34         * dlltool.c (make_one_lib_file): For IDATA6 take the name from
35         exp->internal_name if it is present.
37 2004-09-02  Alexandre Oliva  <aoliva@redhat.com>
39         * MAINTAINERS: Add self as co-maintainer of FR-V.
40         * readelf.c (get_machine_flags): Print FR-V cpu types.
42 2004-08-28  Alan Modra  <amodra@bigpond.net.au>
44         * nm.c (show_synthetic): New var.
45         (long_options): Add "synthetic".
46         (usage): Here too.
47         (display_rel_file): Handle show_synthetic.
49 2004-08-28  Alan Modra  <amodra@bigpond.net.au>
51         * objdump.c (dump_bfd): Pass both symbol tables to
52         bfd_get_synthetic_symtab.
54 2004-08-17  Jakub Jelinek  <jakub@redhat.com>
56         * objdump.c (dump_bfd): For relocatable objects, pass syms instead
57         of dynsyms to bfd_get_synthetic_symtab.
59 2004-08-16  Alan Modra  <amodra@bigpond.net.au>
61         * readelf.c (debug_apply_rela_addends): New function, extracted from..
62         (display_debug_info): ..here.
63         (display_debug_frames): Call debug_apply_rela_addends.  Don't do
64         DW_EH_PE_pcrel adjustment for ET_REL.
66 2004-08-06  Andreas Schwab  <schwab@suse.de>
68         * readelf.c (dump_relocations): Fix typo when calculating
69         sec_index.
71 2004-08-02  Jakub Bogusz  <qboosh@pld-linux.org>
73         * dllwrap.c (deduce_name): Fix typos introduced when program_name
74         was renamed to prog_name.
76 2004-07-29  Alexandre Oliva  <aoliva@redhat.com>
78         * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
79         EF_SH2A_NOFPU.
81 2004-07-28  Alexandre Oliva  <aoliva@redhat.com>
83         2003-07-08  Alexandre Oliva  <aoliva@redhat.com>
84         * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
85         EF_SH4A_NOFPU.
86         2003-06-12  Alexandre Oliva  <aoliva@redhat.com>
87         * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
89 2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
91         * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
92         to access comdat.
93         * objdump.c (dump_section_header): Likewise.
95 2004-07-15  Aravinda PR  <aravindapr@rediffmail.com>
97         * nlmconv.c (main): Pass map_file argument to link_inputs.
98         (link_inputs): Use map_file argument if it is defined.
100 2004-07-13  Nick Clifton  <nickc@redhat.com>
102         * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
103         conflicts with exported global defined in bucomm.h.
104         (deduce_name): Rename parameter 'program_name' to 'name' to avoid
105         shadowing the global defined in bucomm.h.
107 2004-07-12  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
109         * dlltool.c (ext_prefix_alias): New global variable.
110         (make_one_lib_file): Add aliases with prefixes for external
111         and import definitions.
112         (usage): Document -p option.
113         (long_options): Add --ext-prefix-alias option.
114         (main): Handle -p.
115         * doc/binutils.texi: Document new switch.
116         * NEWS: Mention new switch.
118 2004-07-09  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
120         * binutils/dlltool.c (asm_prefix): Add parameter: name.
121         No underscore for symbols beginning with ?.
122         (ASM_PREFIX): Add parameter: NAME.
123         (gen_exp_file): Use new parameter.
124         (make_label): Likewise.
125         (make_imp_label): Likewise.
126         (make_one_lib_file): Likewise.
128 2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
130         * MAINTAINERS: Added myself to the list.
131         * readelf.c: Include "elf/crx.h".
132         (guess_is_rela): Handle EM_CRX.
133         (get_machine_name): Likewise.
134         (dump_relocations): Likewise.
136 2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
138         * doc/binutils.texi (nm): Clarify weak symbol description.
140 2004-06-24  Ben Elliston  <bje@au.ibm.com>
142         * readelf.c (get_segment_type): Display "GNU_STACK", not just
143         "STACK", when a PT_GNU_STACK segment is encountered.
145 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
147         * objcopy.c (copy_section): Don't set _cooked_size.
149 2004-06-22  Alan Modra  <amodra@bigpond.net.au>
151         * readelf.c (Elf32_Word): Delete.
152         (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
153         (get_64bit_dynamic_section): Likewise.
155         * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
156         (get_64bit_dynamic_section): Likewise.
158         * readelf.c (dynamic_nent): New variable.
159         (get_32bit_dynamic_section): Set it.
160         (get_64bit_dynamic_section): Here too.
161         (process_dynamic_section): Use it instead of dynamic_size.
162         (process_syminfo): Likewise.
164         * readelf.c (get_32bit_dynamic_section): Correct number of entries
165         translated from external to internal form.
166         (get_64bit_dynamic_section): Likewise.
168 2004-06-18  Jie Zhang  <zhangjie@magima.com.cn>
170         * readelf.c (process_program_headers): When locating the dynamic
171         section use the section table if it is present.
172         (dynamic_segment): Renamed to dynamic_section.
173         Replace references to dynamic segment with references to dynamic
174         section, except where appropriate.
175         (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
176         (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
177         (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
178         (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
179         Remove tag counting code as it is no longer needed.
180         (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
181         Remove tag counting code as it is no longer needed.
182         (process_dynamic_segment): Rename to process_dynamic_section.
184 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
186         * objcopy.c (copy_section): Use bfd_get_section_size instead of
187         _raw_size or bfd_get_section_size_before_reloc.  Don't set reloc_done.
188         (compare_section_lma): Likewise.
189         * addr2line.c (find_address_in_section): Likewise.
190         * coffgrok.c (do_sections_p1): Likewise.
191         * dlltool.c (scan_drectve_symbols): Likewise.
192         * nlmconv.c (main): Likewise.
193         (copy_sections): Likewise.
194         (powerpc_mangle_relocs): Likewise.
195         * objdump.c (disassemble_section): Likewise.
196         * prdbg.c (find_address_in_section): Likewise.
197         * size.c (berkeley_sum): Likewise.
198         * srconv.c (wr_ob): Likewise.
199         * strings.c (strings_a_section): Likewise.
201 2004-05-28  Ian Lance Taylor  <ian@wasabisystems.com>
203         * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
205 2004-05-17  David Heine  <dlheine@tensilica.com>
207         * objcopy.c (setup_bfd_headers): New function.
208         (copy_object): Call setup_bfd_headers.
210 2004-05-13  Paul Brook  <paul@codesourcery.com>
212         * readelf.c (display_debug_frames): Handle dwarf3 format CIE
213         entries.
215 2004-05-13  Nick Clifton  <nickc@redhat.com>
217         * po/fr.po: Updated French translation.
219 2004-05-11  Jakub Jelinek  <jakub@redhat.com>
221         * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
223 2004-05-07  H.J. Lu  <hongjiu.lu@intel.com>
225         * readelf.c (section_groups): New.
226         (group_count): New.
227         (section_headers_groups): New.
228         (process_section_groups): Populate group_count, section_groups
229         and section_headers_groups.
230         (process_unwind): Support section group.
231         (process_object): Always call process_section_groups. Free
232         section_groups and section_headers_groups.
234 2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>
236         * readelf.c (process_section_headers): Use %3lu on sh_info.
238 2004-04-30  Michael Deutschmann  <michael@talamasca.ocis.net>
240         * ranlib.sh: Quote $1 argument in case it contains spaces.
242 2004-04-27  John Paul Wallington  <jpw@gnu.org>
244         * objcopy.c (copy_usage, strip_usage): Fix spelling.
246 2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>
248         * readelf.c (do_section_groups): New.
249         (options): Add --section-groups/-g.
250         (usage): Mention --section-groups/-g.
251         (parse_args): Support --section-groups/-g.
252         (get_group_flags): New.
253         (process_section_groups): New.
254         (process_object): Call process_section_groups.
256 2004-04-24  Alan Modra  <amodra@bigpond.net.au>
258         * objdump.c (disassemble_section): Don't disassemble sections
259         without SEC_HAS_CONTENTS.
261 2004-04-22  Jakub Jelinek  <jakub@redhat.com>
263         * objdump.c (synthsyms, synthcount): New variables.
264         (disassemble_data): Use dynsyms for stripped binaries or libraries.
265         Add synthetized symbols.
266         (dump_bfd): For disassemble, initialize dynsyms always and
267         also synthsyms.  Free synthsyms and clear {sym,dynsym,synth}count
268         before returning.
270 2004-04-14  Alan Modra  <amodra@bigpond.net.au>
272         * strings.c (print_strings): Cast file_off to unsigned long in
273         printf arg list.
275 2004-04-07  Benjamin Monate  <benjamin.monate@cea.fr>
277         PR 86
278         * arsup.c (ar_save): Use smart_rename.
280 2004-04-01  Dean Luick <luick@cray.com>
282         * readelf.c (display_debug_pubnames): Align offset and data
283         columns.
284         (read_and_display_attr_value): Add missing break;
285         (debug_displays): Enable the display of the .debug_pubtypes
286         section.
288 2004-03-30  Stan Shebs  <shebs@apple.com>
290         * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
291         support files, no longer used.
293 2004-03-23  Paul Brook  <paul@codesourcery.com>
295         * readelf.c (decode_ARM_machine_flags): Add EABI v3.
297 2004-03-21  Richard Henderson  <rth@redhat.com>
299         * readelf.c (display_debug_frames): Don't crash for mismatched
300         DW_CFA_restore_state.
302 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
304         * Makefile.am: Run "make dep-am".
305         * Makefile.in: Regenerate.
306         * aclocal.m4: Regenerate.
307         * config.in: Regenerate.
308         * configure: Regenerate.
309         * po/binutils.pot: Regenerate.
311 2004-03-15  Nathan Sidwell  <nathan@codesourcery.com>
313         * objdump.c (struct SFILE): Replace current pointer with pos
314         offset, rename size to alloc.
315         (objdump_sprintf): Avoid unnecessary copies in the common case
316         (disassemble_bytes): Keep sfile live throughout the
317         function. Adjust usage appropriately.
319 2004-03-10  Ben Elliston  <bje@gnu.org>
321         * MAINTAINERS: Update my mail address.
323 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
325         * deflex.l: Handle "PRIVATE" string.
326         * defparse.y (%token): Add PRIVATE.
327         (%type): Add opt_PRIVATE.
328         (expline): Pass opt_PRIVATE to def_exports.
329         (opt_PRIVATE): Handle PRIVATE token.
330         * dlltool.h (def_exports): Add 7th param for private flag to
331         declaration.
332         * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
333         (struct export): Add 'private' field.
334         (def_exports): Set 'private' field of struct exports.
335         (scan_drectve_symbols): Adjust calls to def_exports.
336         (scan_filtered_symbols): Likewise.
337         (dump_def_info): Print 'private' field.
338         (gen_def_file): Likewise.
339         (gen_lib_file): Skip generation of lib object if private.
340         Delete tmp object files in same order as they were generated.
341         Don't delete non-existent private object files.
343 2004-02-27  Andreas Schwab  <schwab@suse.de>
345         * ar.c (main): Support POSIX-compatible argument parsing.
347 2004-02-23  Daniel Lucq  <daniel@lucq.org>
349         * readelf.c (process_mips_specific): Print conflictsno as an
350         unsigned long.
352 2004-02-21  Dmitry Timoshkov  <dmitry@baikal.ru>
354         * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
356 2004-02-19  Jakub Jelinek  <jakub@redhat.com>
358         * objcopy.c (copy_section): Avoid warnings.
360 2004-02-14  Andrew Cagney  <cagney@redhat.com>
362         * ar.c (remove_output): Use bfd_cache_close.
363         * arsup.c (ar_end): Ditto.
365 2004-01-21  Roland McGrath  <roland@redhat.com>
367         * readelf.c (get_note_type): Match NT_AUXV.
369 2004-01-20  Nick Clifton  <nickc@redhat.com>
371         * version.c (print_version): Update copyright year to 2004.
373 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
375         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
376         throughout.
377         * aclocal.m4: Regenerate.
378         * configure: Regenerate.
380 2004-01-12  Jakub Jelinek  <jakub@redhat.com>
382         * objcopy.c: Include elf-bfd.h.
383         (is_strip_section): Don't strip debugging sections if
384         STRIP_NONDEBUG.
385         (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
386         ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
388         * objcopy.c (copy_section): Free relpp if relcount == 0.
390 2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
392         * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
393         (stab_demangle_argtypes): Likewise.
394         (stab_demangle_v3_argtypes): New static function.
395         (stab_demangle_v3_arg): New static function.
397 2004-01-12  Nick Clifton  <nickc@redhat.com>
399         * objcopy.c (copy_object): Make the function boolean, returning
400         FALSE upon failure.
401         (copy_archive): Handle the return value from copy_object.
402         (copy_file): Likewise.
404 2004-01-07  Nick Clifton  <nickc@redhat.com>
406         * readelf.c (find_section): New function.  Locates a named
407         section.
408         (get_debug_line_pointer_sizes): New function:  Initialises the
409         debug_line_pointer_sizes array.
410         (display_debug_lines): Call get_debug_line_pointer_sizes.
411         (display_debug_loc): Likewise.
412         (load_debug_loc): Use find_section.
413         (load_debug_str): Likewise.
414         (display_debug_info): Likewise.
415         (prescan_debug_info): Delete.
416         (debug_displays): Remove prescan field.
417         (process_section_contents): Do not perform prescans.
419 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
421         * objcopy.c (filter_bytes): Delete.  Move code to..
422         (copy_section): ..here.  Simplify size adjustment.  Divide
423         section lma by interleave.
425 2004-01-02  Nick Clifton  <nickc@redhat.com>
427         * po/ru.po: New file: Russian translation.
428         * configure.in (ALL_LINGUAS): Add ru
429         * configure: Regenerate.
431 For older changes see ChangeLog-0203
433 Local Variables:
434 mode: change-log
435 left-margin: 8
436 fill-column: 74
437 version-control: never
438 End: