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