binutils/
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2004-12-15 Jan Beulich  <jbeulich@novell.com>
2
3         * doc/binutils.texi: Document --strip-unneeded-symbol and
4         --strip-unneeded-symbols.
5         * objcopy.c (strip_unneeded_list): New.
6         (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
7         and OPTION_STRIP_UNNEEDED_SYMBOLS.
8         (copy_options): Add  --strip-unneeded-symbol and
9         --strip-unneeded-symbols.
10         (copy_usage): Likewise.
11         (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
12         and the symbol is not needed.
13         (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
14         OPTION_STRIP_UNNEEDED_SYMBOLS.
15
16 2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
17
18         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
19
20 2004-12-08  Ben Elliston  <bje@au.ibm.com>
21
22         * arlex.l: Fix formatting.
23
24 2004-12-08  Ben Elliston  <bje@au.ibm.com>
25
26         * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
27         config.texi whose value is the current month and year.
28         * doc/Makefile.in: Rebuild.
29         * doc/binutils.texi: Set the document subtitle to be the value of
30         the Texinfo UPDATED variable (obtained from config.texi).
31
32 2004-12-07  Ben Elliston  <bje@au.ibm.com>
33
34         PR binutils/249
35         * doc/binutils.texi (def file format): New node.
36         (dlltool): Use the tool name as the @chapter name, like all the
37         other binutils.  Use @file{.def} throughout for consistency.
38
39 2004-12-06  Ben Elliston  <bje@au.ibm.com>
40
41         * dlltool.c: Comment fix.
42
43 2004-12-06  Ben Elliston  <bje@au.ibm.com>
44
45         * doc/binutils.texi: Update copyright years.
46
47 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
48
49         * MAINTAINERS: Remove mention of config.if.
50
51 2004-11-30  Tero Niemela  <tero_niemela@yahoo.com>
52
53         * Makefile.am: Change LOCALEDIR to $(datadir)/share.
54         * Makefile.in: Regenerate.
55
56 2004-11-10  Ian Lance Taylor  <ian@wasabisystems.com>
57
58         PR binutils/536
59         * stabs.c (stab_demangle_template): Call stab_demangle_count
60         rather than stab_demangle_get_count to get the length of a pointer
61         target.
62
63 2004-11-10  Danny Smith  <dannysmith@users.sourceforge.net>
64
65         * defparse.y: Remove unnecessary commas from token list.
66
67 2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
68
69         * doc/binutils.texi (nm): Update description of weak symbols.
70
71 2004-11-03  Nick Clifton  <nickc@redhat.com>
72
73         * readelf.c (do_debug_ranges): New variable.
74         (usage): Document new switch: -wR or --debug-dump=Ranges.
75         (parse_args): Handle new switch.  Replace switch statement for the
76         long options with a more compact table structure.
77         (process_section_headers): Allow the dumping of .debug_ranges
78         sections if so requested.
79         (debug_displays): Likewise.
80         (load_debug_range): New function: Grabs the contents of a
81         .debug_ranges section.
82         (free_debug_range): New function: Releases the grabbed
83         .debug_ranges section.
84         (decode_64bit_range): New function: Displays a 64-bit range in a
85         .debug_ranges section.
86         (decode_range): New function: Displays a 32-bit range in a
87         .debug_ranges section.
88         (read_and_display_attr_value): Record the value of DW_AT_low_pc
89         attributes.  Use decode_ranges() to display a DW_AT_ranges
90         attribute.
91         (display_debug_info): Use load_debug_range() and
92         free_debug_range().
93         (display_64bit_debug_ranges): New function.  Displays the contents
94         of a 64-bit format .debug_ranges section.
95         (display_debug_ranges): New function: Displays the contents of a
96         32-bit .debug_ranges section.
97         
98         (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
99         global scope.
100         (process_object): Initialise the dump_sects array from the
101         cmdline_dump_sects array before processing each object file.
102
103         (streq, strneq): New macros.  Use them to replace occurrences of
104         strcmp() and strncmp().
105
106         (debug_information): New structure array to replace
107         debug_line_pointer_sizes array.
108         (num_debug_info_entries): New variable to replace
109         num_debug_line_pointers.
110         (get_pointer_size_of_comp_unit): New function: Returns the pointer
111         size of a given compilation unit.
112         (get_debug_info): New function to replace
113         get_debug_line_pointer_sizes.
114         (display_debug_lines): Use the new functions.
115         (display_debug_loc): Likewise.
116         
117         (disassemble_section): Change return type to int.
118         (display_debug_lines): Move local variables to their
119         innermost scope.
120         (display_debug_section): Likewise.  Also record the return value
121         of functions called and pass this back to the parent.  Also only
122         warn about undumped sections when the user explicitly requested
123         their dumping.
124
125         (debug_apply_rela_addends): Allow relocations against STT_OBJECT
126         types as well.
127         
128         * NEWS: Mention the support for decoding .debug_ranges sections.
129         * doc/binutils.texi: Document the new command line switch to
130         readelf.
131
132 2004-11-03  Randolph Chung  <tausq@debian.org>
133
134         * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
135         unw_aux_info and unw_table_entry.
136         (find_symbol_for_address): Pass symtab and strtab info explicitly.
137         (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
138         prefix.
139         (slurp_ia64_unwind_table): Likewise.
140         (ia64_process_unwind): Rename from old process_unwind.
141         (hppa_unw_aux_info): New.
142         (dump_hppa_unwind): New.
143         (slurp_hppa_unwind_table): New.
144         (hppa_process_unwind): New.
145         (process_unwind): Factor out common unwinding checks; dispatch to
146         unwind handler based on machine type.
147
148 2004-11-02  Nick Clifton  <nickc@redhat.com>
149
150         * readelf.c (display_debug_lines): Fix typo in error message.
151
152 2004-10-26  Mark Mitchell  <mark@codesourcery.com>
153
154         * readelf.c (get_note_type): Handle notes not in core files.
155         (process_note_sections): New function.
156         (process_corefile_contents): Rename to ...
157         (process_notes): ... this.
158         (process_object): Call process_notes, not
159         process_corefile_contents.
160         * doc/binutils.texi: Update readelf -n documentation.
161
162 2004-10-26  Jakub Jelinek  <jakub@redhat.com>
163
164         * ar.c (extract_file): Set atime to mtime for ar xo.
165
166 2004-10-25  Ian Lance Taylor  <ian@wasabisystems.com>
167
168         * stabs.c (stab_demangle_v3_arglist): New static function, broken
169         out of stab_demangle_v3_argtypes.
170         (stab_demangle_v3_argtypes): Call it.
171         (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
172         If we find an unrecognized component, print out its number.
173
174 2004-10-25  David Mosberger  <davidm@hpl.hp.com>
175
176         * readelf.c (slurp_ia64_unwind_table): Support relocations against
177         non-section symbols by adding in the symbol value.
178
179 2004-10-25  Nick Clifton  <nickc@redhat.com>
180
181         PR 465
182         * readelf.c (dynamic_strings_length): New global variable.
183         (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
184         strings in the dynamic string table.
185         (process_section_headers): Initialise dynamic_strings_length.
186         (process_dynamic_section): Likewise.
187         (process_object): Reset dynamic_string_length when the buffer is freed.
188         (dynamic_sections_mips_val): Use the new macros.
189         (process_dynamic_section): Likewise.
190         (process_version_sections): Likewise.
191         (process_symbol_table): Likewise.
192         (process_syminfo): Likewise.
193         (process_mips_specific): Likewise.
194         (dump_relocations): Add a new parameter 'strtablen' and use this
195         to verify that string offset in a given reloc is valid.  Print a
196         suitable error message otherwise.
197         (process_relocs): Pass the new argument to dump_relocations.
198
199 2004-10-23  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
200
201         * dlltool.c: Include <assert.h>.
202         (PREFIX_ALIAS_BASE): Define.
203         (struct export): Add member import_name;
204         (def_exports): Set import_name.
205         (make_one_lib_file): Remove prefix alias code, use import_name
206         in .idata$6.
207         (gen_lib_file): Create and delete aliases.
208
209 2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>
210
211         * readelf.c (process_section_groups): Free symtab after use.
212
213 2004-10-18  Tommy Pettersson <ptp@lysator.liu.se>
214             Nick Clifton  <nickc@redhat.com>
215
216         * strings.c (usage): Place radix values for -t option into the
217         correct order.
218
219         * objcopy.c (add_redefine_syms_file): Change error messages to use
220         <filename>:<linenumber>: format for easier parsing by automatic
221         tools.
222
223         * srconv.c (show_usage): Fix spelling typo.
224
225         * windres.c (format_from_filename): Suggest the use of -J instead
226         of -I if the file type cannot be determined.
227
228 2004-10-18  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
229
230         * strings.c: Include <sys/stat.h>.
231
232 2004-10-18  Alan Modra  <amodra@bigpond.net.au>
233
234         * budemang.c (demangle): Fix thinko.
235
236         * budemang.c (demangle): Handle "@plt" suffix.
237
238 2004-10-14  Nick Clifton  <nickc@redhat.com>
239
240         * nm.c (usage): Fix description of --special-syms switch.
241
242 2004-10-13  Jakub Jelinek  <jakub@redhat.com>
243
244         * strings.c (statbuf): New typedef.
245         (file_stat): Define.
246         (strings_object_file): Avoid using get_file_size, instead do the
247         checks here, using file_stat.
248         * configure.in (HAVE_STAT64): New test.
249         * configure: Rebuilt.
250         * config.in: Rebuilt.
251
252 2004-10-12  Paul Brook  <paul@codesourcery.com>
253
254         * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
255
256 2004-10-11  Alan Modra  <amodra@bigpond.net.au>
257
258         * objdump.c (dump_symbols): Fix thinko last change.  Improve error
259         messages.
260
261 2004-10-08  Nick Clifton  <nickc@redhat.com>
262
263         * nm.c: Add a new switch --special-syms which, if enabled, will
264         include the ARM Mapping symbols in nm's output.
265         (usage): Mention the switch.
266         (filter_symbols): Handle the switch.
267         * objdump.c: Add a similar switch.
268         (usage): Mention the switch.
269         (dump_symbols): Handle the switch.
270         * doc/binutils.texi: Document the new switches.
271         * NEWS: Mention the new switches.
272
273 2004-10-08  Daniel Jacobowitz  <dan@debian.org>
274
275         * readelf.c (get_x86_64_section_type_name): New function.
276         (get_section_type_name): Use it.
277
278 2004-10-08  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
279
280         * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
281         patches.
282         * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
283
284 2004-10-07  Alexandre Oliva  <aoliva@redhat.com>
285
286         * readelf.c (get_machine_flags): Don't fall through into m68k cpu
287         types.
288
289 2004-10-01  Paul Brook  <paul@codesourcery.com>
290
291         * readelf.c (get_arm_section_type_name): New function.
292         (get_section_type_name): Use it.
293
294 2004-09-28  Nick Clifton  <nickc@redhat.com>
295
296         * nm.c: Reorder functions to eliminate most of the static function
297         prototypes.
298
299 2004-09-22  Alan Modra  <amodra@bigpond.net.au>
300
301         * readelf.c (process_program_headers): Don't include .tbss in non-TLS
302         segments.
303
304 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
305
306         * Makefile.am: Run "make dep-am".
307         * Makefile.in: Regenerate.
308         * config.in: Regenerate.
309         * configure: Regenerate.
310         * doc/Makefile.in: Regenerate.
311         * po/binutils.pot: Regenerate.
312
313 2004-09-12  Alan Modra  <amodra@bigpond.net.au>
314
315         * readelf.c (decode_location_expression): Sign extend value for
316         DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
317
318 2004-09-09  Nick Clifton  <nickc@redhat.com>
319
320         PR 363
321         * ar.c (replace_members): Do not use get_file_size as
322         ar_emul_append correctly handles missing files.
323
324 2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>
325
326         * configure: Regenerated with autconfig 2.13.
327
328 2004-09-06  Danny Smith  <dannysmith@users.sourceforge.net>
329
330         * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
331         documentation.
332
333 2004-09-06  Michael Wardle  <mbw@endbracket.net>
334
335         * doc/binutils.texi (objdump): Document that the -x switch includes
336         the effect of the -p switch.
337
338 2004-09-04  Danny Smith  <dannysmith@users.sourceforge.net>
339
340         * dlltool.c (make_one_lib_file): Test if internal_name was
341         specified by user before using it.
342
343 2004-09-02  Carlo Wood  <carlo@alinoe.com>
344
345         PR binutils/351
346         * dlltool.c (make_one_lib_file): For IDATA6 take the name from
347         exp->internal_name if it is present.
348
349 2004-09-02  Alexandre Oliva  <aoliva@redhat.com>
350
351         * MAINTAINERS: Add self as co-maintainer of FR-V.
352         * readelf.c (get_machine_flags): Print FR-V cpu types.
353
354 2004-08-28  Alan Modra  <amodra@bigpond.net.au>
355
356         * nm.c (show_synthetic): New var.
357         (long_options): Add "synthetic".
358         (usage): Here too.
359         (display_rel_file): Handle show_synthetic.
360
361 2004-08-28  Alan Modra  <amodra@bigpond.net.au>
362
363         * objdump.c (dump_bfd): Pass both symbol tables to
364         bfd_get_synthetic_symtab.
365
366 2004-08-17  Jakub Jelinek  <jakub@redhat.com>
367
368         * objdump.c (dump_bfd): For relocatable objects, pass syms instead
369         of dynsyms to bfd_get_synthetic_symtab.
370
371 2004-08-16  Alan Modra  <amodra@bigpond.net.au>
372
373         * readelf.c (debug_apply_rela_addends): New function, extracted from..
374         (display_debug_info): ..here.
375         (display_debug_frames): Call debug_apply_rela_addends.  Don't do
376         DW_EH_PE_pcrel adjustment for ET_REL.
377
378 2004-08-06  Andreas Schwab  <schwab@suse.de>
379
380         * readelf.c (dump_relocations): Fix typo when calculating
381         sec_index.
382
383 2004-08-02  Jakub Bogusz  <qboosh@pld-linux.org>
384
385         * dllwrap.c (deduce_name): Fix typos introduced when program_name
386         was renamed to prog_name.
387
388 2004-07-29  Alexandre Oliva  <aoliva@redhat.com>
389
390         * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
391         EF_SH2A_NOFPU.
392
393 2004-07-28  Alexandre Oliva  <aoliva@redhat.com>
394
395         2003-07-08  Alexandre Oliva  <aoliva@redhat.com>
396         * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
397         EF_SH4A_NOFPU.
398         2003-06-12  Alexandre Oliva  <aoliva@redhat.com>
399         * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
400
401 2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
402
403         * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
404         to access comdat.
405         * objdump.c (dump_section_header): Likewise.
406
407 2004-07-15  Aravinda PR  <aravindapr@rediffmail.com>
408
409         * nlmconv.c (main): Pass map_file argument to link_inputs.
410         (link_inputs): Use map_file argument if it is defined.
411
412 2004-07-13  Nick Clifton  <nickc@redhat.com>
413
414         * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
415         conflicts with exported global defined in bucomm.h.
416         (deduce_name): Rename parameter 'program_name' to 'name' to avoid
417         shadowing the global defined in bucomm.h.
418
419 2004-07-12  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
420
421         * dlltool.c (ext_prefix_alias): New global variable.
422         (make_one_lib_file): Add aliases with prefixes for external
423         and import definitions.
424         (usage): Document -p option.
425         (long_options): Add --ext-prefix-alias option.
426         (main): Handle -p.
427         * doc/binutils.texi: Document new switch.
428         * NEWS: Mention new switch.
429
430 2004-07-09  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
431
432         * binutils/dlltool.c (asm_prefix): Add parameter: name.
433         No underscore for symbols beginning with ?.
434         (ASM_PREFIX): Add parameter: NAME.
435         (gen_exp_file): Use new parameter.
436         (make_label): Likewise.
437         (make_imp_label): Likewise.
438         (make_one_lib_file): Likewise.
439
440 2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
441
442         * MAINTAINERS: Added myself to the list.
443         * readelf.c: Include "elf/crx.h".
444         (guess_is_rela): Handle EM_CRX.
445         (get_machine_name): Likewise.
446         (dump_relocations): Likewise.
447
448 2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
449
450         * doc/binutils.texi (nm): Clarify weak symbol description.
451
452 2004-06-24  Ben Elliston  <bje@au.ibm.com>
453
454         * readelf.c (get_segment_type): Display "GNU_STACK", not just
455         "STACK", when a PT_GNU_STACK segment is encountered.
456
457 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
458
459         * objcopy.c (copy_section): Don't set _cooked_size.
460
461 2004-06-22  Alan Modra  <amodra@bigpond.net.au>
462
463         * readelf.c (Elf32_Word): Delete.
464         (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
465         (get_64bit_dynamic_section): Likewise.
466
467         * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
468         (get_64bit_dynamic_section): Likewise.
469
470         * readelf.c (dynamic_nent): New variable.
471         (get_32bit_dynamic_section): Set it.
472         (get_64bit_dynamic_section): Here too.
473         (process_dynamic_section): Use it instead of dynamic_size.
474         (process_syminfo): Likewise.
475
476         * readelf.c (get_32bit_dynamic_section): Correct number of entries
477         translated from external to internal form.
478         (get_64bit_dynamic_section): Likewise.
479
480 2004-06-18  Jie Zhang  <zhangjie@magima.com.cn>
481
482         * readelf.c (process_program_headers): When locating the dynamic
483         section use the section table if it is present.
484         (dynamic_segment): Renamed to dynamic_section.
485         Replace references to dynamic segment with references to dynamic
486         section, except where appropriate.
487         (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
488         (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
489         (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
490         (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
491         Remove tag counting code as it is no longer needed.
492         (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
493         Remove tag counting code as it is no longer needed.
494         (process_dynamic_segment): Rename to process_dynamic_section.
495
496 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
497
498         * objcopy.c (copy_section): Use bfd_get_section_size instead of
499         _raw_size or bfd_get_section_size_before_reloc.  Don't set reloc_done.
500         (compare_section_lma): Likewise.
501         * addr2line.c (find_address_in_section): Likewise.
502         * coffgrok.c (do_sections_p1): Likewise.
503         * dlltool.c (scan_drectve_symbols): Likewise.
504         * nlmconv.c (main): Likewise.
505         (copy_sections): Likewise.
506         (powerpc_mangle_relocs): Likewise.
507         * objdump.c (disassemble_section): Likewise.
508         * prdbg.c (find_address_in_section): Likewise.
509         * size.c (berkeley_sum): Likewise.
510         * srconv.c (wr_ob): Likewise.
511         * strings.c (strings_a_section): Likewise.
512
513 2004-05-28  Ian Lance Taylor  <ian@wasabisystems.com>
514
515         * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
516
517 2004-05-17  David Heine  <dlheine@tensilica.com>
518
519         * objcopy.c (setup_bfd_headers): New function.
520         (copy_object): Call setup_bfd_headers.
521
522 2004-05-13  Paul Brook  <paul@codesourcery.com>
523
524         * readelf.c (display_debug_frames): Handle dwarf3 format CIE
525         entries.
526
527 2004-05-13  Nick Clifton  <nickc@redhat.com>
528
529         * po/fr.po: Updated French translation.
530
531 2004-05-11  Jakub Jelinek  <jakub@redhat.com>
532
533         * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
534
535 2004-05-07  H.J. Lu  <hongjiu.lu@intel.com>
536
537         * readelf.c (section_groups): New.
538         (group_count): New.
539         (section_headers_groups): New.
540         (process_section_groups): Populate group_count, section_groups
541         and section_headers_groups.
542         (process_unwind): Support section group.
543         (process_object): Always call process_section_groups. Free
544         section_groups and section_headers_groups.
545
546 2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>
547
548         * readelf.c (process_section_headers): Use %3lu on sh_info.
549
550 2004-04-30  Michael Deutschmann  <michael@talamasca.ocis.net>
551
552         * ranlib.sh: Quote $1 argument in case it contains spaces.
553
554 2004-04-27  John Paul Wallington  <jpw@gnu.org>
555
556         * objcopy.c (copy_usage, strip_usage): Fix spelling.
557
558 2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>
559
560         * readelf.c (do_section_groups): New.
561         (options): Add --section-groups/-g.
562         (usage): Mention --section-groups/-g.
563         (parse_args): Support --section-groups/-g.
564         (get_group_flags): New.
565         (process_section_groups): New.
566         (process_object): Call process_section_groups.
567
568 2004-04-24  Alan Modra  <amodra@bigpond.net.au>
569
570         * objdump.c (disassemble_section): Don't disassemble sections
571         without SEC_HAS_CONTENTS.
572
573 2004-04-22  Jakub Jelinek  <jakub@redhat.com>
574
575         * objdump.c (synthsyms, synthcount): New variables.
576         (disassemble_data): Use dynsyms for stripped binaries or libraries.
577         Add synthetized symbols.
578         (dump_bfd): For disassemble, initialize dynsyms always and
579         also synthsyms.  Free synthsyms and clear {sym,dynsym,synth}count
580         before returning.
581
582 2004-04-14  Alan Modra  <amodra@bigpond.net.au>
583
584         * strings.c (print_strings): Cast file_off to unsigned long in
585         printf arg list.
586
587 2004-04-07  Benjamin Monate  <benjamin.monate@cea.fr>
588
589         PR 86
590         * arsup.c (ar_save): Use smart_rename.
591
592 2004-04-01  Dean Luick <luick@cray.com>
593
594         * readelf.c (display_debug_pubnames): Align offset and data
595         columns.
596         (read_and_display_attr_value): Add missing break;
597         (debug_displays): Enable the display of the .debug_pubtypes
598         section.
599
600 2004-03-30  Stan Shebs  <shebs@apple.com>
601
602         * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
603         support files, no longer used.
604
605 2004-03-23  Paul Brook  <paul@codesourcery.com>
606
607         * readelf.c (decode_ARM_machine_flags): Add EABI v3.
608
609 2004-03-21  Richard Henderson  <rth@redhat.com>
610
611         * readelf.c (display_debug_frames): Don't crash for mismatched
612         DW_CFA_restore_state.
613
614 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
615
616         * Makefile.am: Run "make dep-am".
617         * Makefile.in: Regenerate.
618         * aclocal.m4: Regenerate.
619         * config.in: Regenerate.
620         * configure: Regenerate.
621         * po/binutils.pot: Regenerate.
622
623 2004-03-15  Nathan Sidwell  <nathan@codesourcery.com>
624
625         * objdump.c (struct SFILE): Replace current pointer with pos
626         offset, rename size to alloc.
627         (objdump_sprintf): Avoid unnecessary copies in the common case
628         (disassemble_bytes): Keep sfile live throughout the
629         function. Adjust usage appropriately.
630
631 2004-03-10  Ben Elliston  <bje@gnu.org>
632
633         * MAINTAINERS: Update my mail address.
634
635 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
636
637         * deflex.l: Handle "PRIVATE" string.
638         * defparse.y (%token): Add PRIVATE.
639         (%type): Add opt_PRIVATE.
640         (expline): Pass opt_PRIVATE to def_exports.
641         (opt_PRIVATE): Handle PRIVATE token.
642         * dlltool.h (def_exports): Add 7th param for private flag to
643         declaration.
644         * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
645         (struct export): Add 'private' field.
646         (def_exports): Set 'private' field of struct exports.
647         (scan_drectve_symbols): Adjust calls to def_exports.
648         (scan_filtered_symbols): Likewise.
649         (dump_def_info): Print 'private' field.
650         (gen_def_file): Likewise.
651         (gen_lib_file): Skip generation of lib object if private.
652         Delete tmp object files in same order as they were generated.
653         Don't delete non-existent private object files.
654
655 2004-02-27  Andreas Schwab  <schwab@suse.de>
656
657         * ar.c (main): Support POSIX-compatible argument parsing.
658
659 2004-02-23  Daniel Lucq  <daniel@lucq.org>
660
661         * readelf.c (process_mips_specific): Print conflictsno as an
662         unsigned long.
663
664 2004-02-21  Dmitry Timoshkov  <dmitry@baikal.ru>
665
666         * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
667
668 2004-02-19  Jakub Jelinek  <jakub@redhat.com>
669
670         * objcopy.c (copy_section): Avoid warnings.
671
672 2004-02-14  Andrew Cagney  <cagney@redhat.com>
673
674         * ar.c (remove_output): Use bfd_cache_close.
675         * arsup.c (ar_end): Ditto.
676
677 2004-01-21  Roland McGrath  <roland@redhat.com>
678
679         * readelf.c (get_note_type): Match NT_AUXV.
680
681 2004-01-20  Nick Clifton  <nickc@redhat.com>
682
683         * version.c (print_version): Update copyright year to 2004.
684
685 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
686
687         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
688         throughout.
689         * aclocal.m4: Regenerate.
690         * configure: Regenerate.
691
692 2004-01-12  Jakub Jelinek  <jakub@redhat.com>
693
694         * objcopy.c: Include elf-bfd.h.
695         (is_strip_section): Don't strip debugging sections if
696         STRIP_NONDEBUG.
697         (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
698         ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
699
700         * objcopy.c (copy_section): Free relpp if relcount == 0.
701
702 2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
703
704         * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
705         (stab_demangle_argtypes): Likewise.
706         (stab_demangle_v3_argtypes): New static function.
707         (stab_demangle_v3_arg): New static function.
708
709 2004-01-12  Nick Clifton  <nickc@redhat.com>
710
711         * objcopy.c (copy_object): Make the function boolean, returning
712         FALSE upon failure.
713         (copy_archive): Handle the return value from copy_object.
714         (copy_file): Likewise.
715
716 2004-01-07  Nick Clifton  <nickc@redhat.com>
717
718         * readelf.c (find_section): New function.  Locates a named
719         section.
720         (get_debug_line_pointer_sizes): New function:  Initialises the
721         debug_line_pointer_sizes array.
722         (display_debug_lines): Call get_debug_line_pointer_sizes.
723         (display_debug_loc): Likewise.
724         (load_debug_loc): Use find_section.
725         (load_debug_str): Likewise.
726         (display_debug_info): Likewise.
727         (prescan_debug_info): Delete.
728         (debug_displays): Remove prescan field.
729         (process_section_contents): Do not perform prescans.
730
731 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
732
733         * objcopy.c (filter_bytes): Delete.  Move code to..
734         (copy_section): ..here.  Simplify size adjustment.  Divide
735         section lma by interleave.
736
737 2004-01-02  Nick Clifton  <nickc@redhat.com>
738
739         * po/ru.po: New file: Russian translation.
740         * configure.in (ALL_LINGUAS): Add ru
741         * configure: Regenerate.
742
743 For older changes see ChangeLog-0203
744 \f
745 Local Variables:
746 mode: change-log
747 left-margin: 8
748 fill-column: 74
749 version-control: never
750 End: