OSDN Git Service

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