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