OSDN Git Service

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