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