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