daily update
[binutils.git] / binutils / ChangeLog
blob788080736db08414989df1379052971b29cc9b25
1 2004-07-13  Nick Clifton  <nickc@redhat.com>
3         * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
4         conflicts with exported global defined in bucomm.h.
5         (deduce_name): Rename parameter 'program_name' to 'name' to avoid
6         shadowing the global defined in bucomm.h.
8 2004-07-12  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
10         * dlltool.c (ext_prefix_alias): New global variable.
11         (make_one_lib_file): Add aliases with prefixes for external
12         and import definitions.
13         (usage): Document -p option.
14         (long_options): Add --ext-prefix-alias option.
15         (main): Handle -p.
16         * doc/binutils.texi: Document new switch.
17         * NEWS: Mention new switch.
19 2004-07-09  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
21         * binutils/dlltool.c (asm_prefix): Add parameter: name.
22         No underscore for symbols beginning with ?.
23         (ASM_PREFIX): Add parameter: NAME.
24         (gen_exp_file): Use new parameter.
25         (make_label): Likewise.
26         (make_imp_label): Likewise.
27         (make_one_lib_file): Likewise.
29 2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
31         * MAINTAINERS: Added myself to the list.
32         * readelf.c: Include "elf/crx.h".
33         (guess_is_rela): Handle EM_CRX.
34         (get_machine_name): Likewise.
35         (dump_relocations): Likewise.
37 2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
39         * doc/binutils.texi (nm): Clarify weak symbol description.
41 2004-06-24  Ben Elliston  <bje@au.ibm.com>
43         * readelf.c (get_segment_type): Display "GNU_STACK", not just
44         "STACK", when a PT_GNU_STACK segment is encountered.
46 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
48         * objcopy.c (copy_section): Don't set _cooked_size.
50 2004-06-22  Alan Modra  <amodra@bigpond.net.au>
52         * readelf.c (Elf32_Word): Delete.
53         (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
54         (get_64bit_dynamic_section): Likewise.
56         * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
57         (get_64bit_dynamic_section): Likewise.
59         * readelf.c (dynamic_nent): New variable.
60         (get_32bit_dynamic_section): Set it.
61         (get_64bit_dynamic_section): Here too.
62         (process_dynamic_section): Use it instead of dynamic_size.
63         (process_syminfo): Likewise.
65         * readelf.c (get_32bit_dynamic_section): Correct number of entries
66         translated from external to internal form.
67         (get_64bit_dynamic_section): Likewise.
69 2004-06-18  Jie Zhang  <zhangjie@magima.com.cn>
71         * readelf.c (process_program_headers): When locating the dynamic
72         section use the section table if it is present.
73         (dynamic_segment): Renamed to dynamic_section.
74         Replace references to dynamic segment with references to dynamic
75         section, except where appropriate.
76         (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
77         (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
78         (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
79         (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
80         Remove tag counting code as it is no longer needed.
81         (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
82         Remove tag counting code as it is no longer needed.
83         (process_dynamic_segment): Rename to process_dynamic_section.
85 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
87         * objcopy.c (copy_section): Use bfd_get_section_size instead of
88         _raw_size or bfd_get_section_size_before_reloc.  Don't set reloc_done.
89         (compare_section_lma): Likewise.
90         * addr2line.c (find_address_in_section): Likewise.
91         * coffgrok.c (do_sections_p1): Likewise.
92         * dlltool.c (scan_drectve_symbols): Likewise.
93         * nlmconv.c (main): Likewise.
94         (copy_sections): Likewise.
95         (powerpc_mangle_relocs): Likewise.
96         * objdump.c (disassemble_section): Likewise.
97         * prdbg.c (find_address_in_section): Likewise.
98         * size.c (berkeley_sum): Likewise.
99         * srconv.c (wr_ob): Likewise.
100         * strings.c (strings_a_section): Likewise.
102 2004-05-28  Ian Lance Taylor  <ian@wasabisystems.com>
104         * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
106 2004-05-17  David Heine  <dlheine@tensilica.com>
108         * objcopy.c (setup_bfd_headers): New function.
109         (copy_object): Call setup_bfd_headers.
111 2004-05-13  Paul Brook  <paul@codesourcery.com>
113         * readelf.c (display_debug_frames): Handle dwarf3 format CIE
114         entries.
116 2004-05-13  Nick Clifton  <nickc@redhat.com>
118         * po/fr.po: Updated French translation.
120 2004-05-11  Jakub Jelinek  <jakub@redhat.com>
122         * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
124 2004-05-07  H.J. Lu  <hongjiu.lu@intel.com>
126         * readelf.c (section_groups): New.
127         (group_count): New.
128         (section_headers_groups): New.
129         (process_section_groups): Populate group_count, section_groups
130         and section_headers_groups.
131         (process_unwind): Support section group.
132         (process_object): Always call process_section_groups. Free
133         section_groups and section_headers_groups.
135 2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>
137         * readelf.c (process_section_headers): Use %3lu on sh_info.
139 2004-04-30  Michael Deutschmann  <michael@talamasca.ocis.net>
141         * ranlib.sh: Quote $1 argument in case it contains spaces.
143 2004-04-27  John Paul Wallington  <jpw@gnu.org>
145         * objcopy.c (copy_usage, strip_usage): Fix spelling.
147 2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>
149         * readelf.c (do_section_groups): New.
150         (options): Add --section-groups/-g.
151         (usage): Mention --section-groups/-g.
152         (parse_args): Support --section-groups/-g.
153         (get_group_flags): New.
154         (process_section_groups): New.
155         (process_object): Call process_section_groups.
157 2004-04-24  Alan Modra  <amodra@bigpond.net.au>
159         * objdump.c (disassemble_section): Don't disassemble sections
160         without SEC_HAS_CONTENTS.
162 2004-04-22  Jakub Jelinek  <jakub@redhat.com>
164         * objdump.c (synthsyms, synthcount): New variables.
165         (disassemble_data): Use dynsyms for stripped binaries or libraries.
166         Add synthetized symbols.
167         (dump_bfd): For disassemble, initialize dynsyms always and
168         also synthsyms.  Free synthsyms and clear {sym,dynsym,synth}count
169         before returning.
171 2004-04-14  Alan Modra  <amodra@bigpond.net.au>
173         * strings.c (print_strings): Cast file_off to unsigned long in
174         printf arg list.
176 2004-04-07  Benjamin Monate  <benjamin.monate@cea.fr>
178         PR 86
179         * arsup.c (ar_save): Use smart_rename.
181 2004-04-01  Dean Luick <luick@cray.com>
183         * readelf.c (display_debug_pubnames): Align offset and data
184         columns.
185         (read_and_display_attr_value): Add missing break;
186         (debug_displays): Enable the display of the .debug_pubtypes
187         section.
189 2004-03-30  Stan Shebs  <shebs@apple.com>
191         * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
192         support files, no longer used.
194 2004-03-23  Paul Brook  <paul@codesourcery.com>
196         * readelf.c (decode_ARM_machine_flags): Add EABI v3.
198 2004-03-21  Richard Henderson  <rth@redhat.com>
200         * readelf.c (display_debug_frames): Don't crash for mismatched
201         DW_CFA_restore_state.
203 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
205         * Makefile.am: Run "make dep-am".
206         * Makefile.in: Regenerate.
207         * aclocal.m4: Regenerate.
208         * config.in: Regenerate.
209         * configure: Regenerate.
210         * po/binutils.pot: Regenerate.
212 2004-03-15  Nathan Sidwell  <nathan@codesourcery.com>
214         * objdump.c (struct SFILE): Replace current pointer with pos
215         offset, rename size to alloc.
216         (objdump_sprintf): Avoid unnecessary copies in the common case
217         (disassemble_bytes): Keep sfile live throughout the
218         function. Adjust usage appropriately.
220 2004-03-10  Ben Elliston  <bje@gnu.org>
222         * MAINTAINERS: Update my mail address.
224 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
226         * deflex.l: Handle "PRIVATE" string.
227         * defparse.y (%token): Add PRIVATE.
228         (%type): Add opt_PRIVATE.
229         (expline): Pass opt_PRIVATE to def_exports.
230         (opt_PRIVATE): Handle PRIVATE token.
231         * dlltool.h (def_exports): Add 7th param for private flag to
232         declaration.
233         * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
234         (struct export): Add 'private' field.
235         (def_exports): Set 'private' field of struct exports.
236         (scan_drectve_symbols): Adjust calls to def_exports.
237         (scan_filtered_symbols): Likewise.
238         (dump_def_info): Print 'private' field.
239         (gen_def_file): Likewise.
240         (gen_lib_file): Skip generation of lib object if private.
241         Delete tmp object files in same order as they were generated.
242         Don't delete non-existent private object files.
244 2004-02-27  Andreas Schwab  <schwab@suse.de>
246         * ar.c (main): Support POSIX-compatible argument parsing.
248 2004-02-23  Daniel Lucq  <daniel@lucq.org>
250         * readelf.c (process_mips_specific): Print conflictsno as an
251         unsigned long.
253 2004-02-21  Dmitry Timoshkov  <dmitry@baikal.ru>
255         * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
257 2004-02-19  Jakub Jelinek  <jakub@redhat.com>
259         * objcopy.c (copy_section): Avoid warnings.
261 2004-02-14  Andrew Cagney  <cagney@redhat.com>
263         * ar.c (remove_output): Use bfd_cache_close.
264         * arsup.c (ar_end): Ditto.
266 2004-01-21  Roland McGrath  <roland@redhat.com>
268         * readelf.c (get_note_type): Match NT_AUXV.
270 2004-01-20  Nick Clifton  <nickc@redhat.com>
272         * version.c (print_version): Update copyright year to 2004.
274 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
276         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
277         throughout.
278         * aclocal.m4: Regenerate.
279         * configure: Regenerate.
281 2004-01-12  Jakub Jelinek  <jakub@redhat.com>
283         * objcopy.c: Include elf-bfd.h.
284         (is_strip_section): Don't strip debugging sections if
285         STRIP_NONDEBUG.
286         (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
287         ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
289         * objcopy.c (copy_section): Free relpp if relcount == 0.
291 2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
293         * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
294         (stab_demangle_argtypes): Likewise.
295         (stab_demangle_v3_argtypes): New static function.
296         (stab_demangle_v3_arg): New static function.
298 2004-01-12  Nick Clifton  <nickc@redhat.com>
300         * objcopy.c (copy_object): Make the function boolean, returning
301         FALSE upon failure.
302         (copy_archive): Handle the return value from copy_object.
303         (copy_file): Likewise.
305 2004-01-07  Nick Clifton  <nickc@redhat.com>
307         * readelf.c (find_section): New function.  Locates a named
308         section.
309         (get_debug_line_pointer_sizes): New function:  Initialises the
310         debug_line_pointer_sizes array.
311         (display_debug_lines): Call get_debug_line_pointer_sizes.
312         (display_debug_loc): Likewise.
313         (load_debug_loc): Use find_section.
314         (load_debug_str): Likewise.
315         (display_debug_info): Likewise.
316         (prescan_debug_info): Delete.
317         (debug_displays): Remove prescan field.
318         (process_section_contents): Do not perform prescans.
320 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
322         * objcopy.c (filter_bytes): Delete.  Move code to..
323         (copy_section): ..here.  Simplify size adjustment.  Divide
324         section lma by interleave.
326 2004-01-02  Nick Clifton  <nickc@redhat.com>
328         * po/ru.po: New file: Russian translation.
329         * configure.in (ALL_LINGUAS): Add ru
330         * configure: Regenerate.
332 For older changes see ChangeLog-0203
334 Local Variables:
335 mode: change-log
336 left-margin: 8
337 fill-column: 74
338 version-control: never
339 End: