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