OSDN Git Service

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