1 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
3 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
5 * objdump.c (dump_section_header): Likewise.
7 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
9 * nlmconv.c (main): Pass map_file argument to link_inputs.
10 (link_inputs): Use map_file argument if it is defined.
12 2004-07-13 Nick Clifton <nickc@redhat.com>
14 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
15 conflicts with exported global defined in bucomm.h.
16 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
17 shadowing the global defined in bucomm.h.
19 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
21 * dlltool.c (ext_prefix_alias): New global variable.
22 (make_one_lib_file): Add aliases with prefixes for external
23 and import definitions.
24 (usage): Document -p option.
25 (long_options): Add --ext-prefix-alias option.
27 * doc/binutils.texi: Document new switch.
28 * NEWS: Mention new switch.
30 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
32 * binutils/dlltool.c (asm_prefix): Add parameter: name.
33 No underscore for symbols beginning with ?.
34 (ASM_PREFIX): Add parameter: NAME.
35 (gen_exp_file): Use new parameter.
36 (make_label): Likewise.
37 (make_imp_label): Likewise.
38 (make_one_lib_file): Likewise.
40 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
42 * MAINTAINERS: Added myself to the list.
43 * readelf.c: Include "elf/crx.h".
44 (guess_is_rela): Handle EM_CRX.
45 (get_machine_name): Likewise.
46 (dump_relocations): Likewise.
48 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
50 * doc/binutils.texi (nm): Clarify weak symbol description.
52 2004-06-24 Ben Elliston <bje@au.ibm.com>
54 * readelf.c (get_segment_type): Display "GNU_STACK", not just
55 "STACK", when a PT_GNU_STACK segment is encountered.
57 2004-06-24 Alan Modra <amodra@bigpond.net.au>
59 * objcopy.c (copy_section): Don't set _cooked_size.
61 2004-06-22 Alan Modra <amodra@bigpond.net.au>
63 * readelf.c (Elf32_Word): Delete.
64 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
65 (get_64bit_dynamic_section): Likewise.
67 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
68 (get_64bit_dynamic_section): Likewise.
70 * readelf.c (dynamic_nent): New variable.
71 (get_32bit_dynamic_section): Set it.
72 (get_64bit_dynamic_section): Here too.
73 (process_dynamic_section): Use it instead of dynamic_size.
74 (process_syminfo): Likewise.
76 * readelf.c (get_32bit_dynamic_section): Correct number of entries
77 translated from external to internal form.
78 (get_64bit_dynamic_section): Likewise.
80 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
82 * readelf.c (process_program_headers): When locating the dynamic
83 section use the section table if it is present.
84 (dynamic_segment): Renamed to dynamic_section.
85 Replace references to dynamic segment with references to dynamic
86 section, except where appropriate.
87 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
88 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
89 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
90 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
91 Remove tag counting code as it is no longer needed.
92 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
93 Remove tag counting code as it is no longer needed.
94 (process_dynamic_segment): Rename to process_dynamic_section.
96 2004-06-15 Alan Modra <amodra@bigpond.net.au>
98 * objcopy.c (copy_section): Use bfd_get_section_size instead of
99 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
100 (compare_section_lma): Likewise.
101 * addr2line.c (find_address_in_section): Likewise.
102 * coffgrok.c (do_sections_p1): Likewise.
103 * dlltool.c (scan_drectve_symbols): Likewise.
104 * nlmconv.c (main): Likewise.
105 (copy_sections): Likewise.
106 (powerpc_mangle_relocs): Likewise.
107 * objdump.c (disassemble_section): Likewise.
108 * prdbg.c (find_address_in_section): Likewise.
109 * size.c (berkeley_sum): Likewise.
110 * srconv.c (wr_ob): Likewise.
111 * strings.c (strings_a_section): Likewise.
113 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
115 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
117 2004-05-17 David Heine <dlheine@tensilica.com>
119 * objcopy.c (setup_bfd_headers): New function.
120 (copy_object): Call setup_bfd_headers.
122 2004-05-13 Paul Brook <paul@codesourcery.com>
124 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
127 2004-05-13 Nick Clifton <nickc@redhat.com>
129 * po/fr.po: Updated French translation.
131 2004-05-11 Jakub Jelinek <jakub@redhat.com>
133 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
135 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
137 * readelf.c (section_groups): New.
139 (section_headers_groups): New.
140 (process_section_groups): Populate group_count, section_groups
141 and section_headers_groups.
142 (process_unwind): Support section group.
143 (process_object): Always call process_section_groups. Free
144 section_groups and section_headers_groups.
146 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
148 * readelf.c (process_section_headers): Use %3lu on sh_info.
150 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
152 * ranlib.sh: Quote $1 argument in case it contains spaces.
154 2004-04-27 John Paul Wallington <jpw@gnu.org>
156 * objcopy.c (copy_usage, strip_usage): Fix spelling.
158 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
160 * readelf.c (do_section_groups): New.
161 (options): Add --section-groups/-g.
162 (usage): Mention --section-groups/-g.
163 (parse_args): Support --section-groups/-g.
164 (get_group_flags): New.
165 (process_section_groups): New.
166 (process_object): Call process_section_groups.
168 2004-04-24 Alan Modra <amodra@bigpond.net.au>
170 * objdump.c (disassemble_section): Don't disassemble sections
171 without SEC_HAS_CONTENTS.
173 2004-04-22 Jakub Jelinek <jakub@redhat.com>
175 * objdump.c (synthsyms, synthcount): New variables.
176 (disassemble_data): Use dynsyms for stripped binaries or libraries.
177 Add synthetized symbols.
178 (dump_bfd): For disassemble, initialize dynsyms always and
179 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
182 2004-04-14 Alan Modra <amodra@bigpond.net.au>
184 * strings.c (print_strings): Cast file_off to unsigned long in
187 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
190 * arsup.c (ar_save): Use smart_rename.
192 2004-04-01 Dean Luick <luick@cray.com>
194 * readelf.c (display_debug_pubnames): Align offset and data
196 (read_and_display_attr_value): Add missing break;
197 (debug_displays): Enable the display of the .debug_pubtypes
200 2004-03-30 Stan Shebs <shebs@apple.com>
202 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
203 support files, no longer used.
205 2004-03-23 Paul Brook <paul@codesourcery.com>
207 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
209 2004-03-21 Richard Henderson <rth@redhat.com>
211 * readelf.c (display_debug_frames): Don't crash for mismatched
212 DW_CFA_restore_state.
214 2004-03-19 Alan Modra <amodra@bigpond.net.au>
216 * Makefile.am: Run "make dep-am".
217 * Makefile.in: Regenerate.
218 * aclocal.m4: Regenerate.
219 * config.in: Regenerate.
220 * configure: Regenerate.
221 * po/binutils.pot: Regenerate.
223 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
225 * objdump.c (struct SFILE): Replace current pointer with pos
226 offset, rename size to alloc.
227 (objdump_sprintf): Avoid unnecessary copies in the common case
228 (disassemble_bytes): Keep sfile live throughout the
229 function. Adjust usage appropriately.
231 2004-03-10 Ben Elliston <bje@gnu.org>
233 * MAINTAINERS: Update my mail address.
235 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
237 * deflex.l: Handle "PRIVATE" string.
238 * defparse.y (%token): Add PRIVATE.
239 (%type): Add opt_PRIVATE.
240 (expline): Pass opt_PRIVATE to def_exports.
241 (opt_PRIVATE): Handle PRIVATE token.
242 * dlltool.h (def_exports): Add 7th param for private flag to
244 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
245 (struct export): Add 'private' field.
246 (def_exports): Set 'private' field of struct exports.
247 (scan_drectve_symbols): Adjust calls to def_exports.
248 (scan_filtered_symbols): Likewise.
249 (dump_def_info): Print 'private' field.
250 (gen_def_file): Likewise.
251 (gen_lib_file): Skip generation of lib object if private.
252 Delete tmp object files in same order as they were generated.
253 Don't delete non-existent private object files.
255 2004-02-27 Andreas Schwab <schwab@suse.de>
257 * ar.c (main): Support POSIX-compatible argument parsing.
259 2004-02-23 Daniel Lucq <daniel@lucq.org>
261 * readelf.c (process_mips_specific): Print conflictsno as an
264 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
266 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
268 2004-02-19 Jakub Jelinek <jakub@redhat.com>
270 * objcopy.c (copy_section): Avoid warnings.
272 2004-02-14 Andrew Cagney <cagney@redhat.com>
274 * ar.c (remove_output): Use bfd_cache_close.
275 * arsup.c (ar_end): Ditto.
277 2004-01-21 Roland McGrath <roland@redhat.com>
279 * readelf.c (get_note_type): Match NT_AUXV.
281 2004-01-20 Nick Clifton <nickc@redhat.com>
283 * version.c (print_version): Update copyright year to 2004.
285 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
287 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
289 * aclocal.m4: Regenerate.
290 * configure: Regenerate.
292 2004-01-12 Jakub Jelinek <jakub@redhat.com>
294 * objcopy.c: Include elf-bfd.h.
295 (is_strip_section): Don't strip debugging sections if
297 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
298 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
300 * objcopy.c (copy_section): Free relpp if relcount == 0.
302 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
304 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
305 (stab_demangle_argtypes): Likewise.
306 (stab_demangle_v3_argtypes): New static function.
307 (stab_demangle_v3_arg): New static function.
309 2004-01-12 Nick Clifton <nickc@redhat.com>
311 * objcopy.c (copy_object): Make the function boolean, returning
313 (copy_archive): Handle the return value from copy_object.
314 (copy_file): Likewise.
316 2004-01-07 Nick Clifton <nickc@redhat.com>
318 * readelf.c (find_section): New function. Locates a named
320 (get_debug_line_pointer_sizes): New function: Initialises the
321 debug_line_pointer_sizes array.
322 (display_debug_lines): Call get_debug_line_pointer_sizes.
323 (display_debug_loc): Likewise.
324 (load_debug_loc): Use find_section.
325 (load_debug_str): Likewise.
326 (display_debug_info): Likewise.
327 (prescan_debug_info): Delete.
328 (debug_displays): Remove prescan field.
329 (process_section_contents): Do not perform prescans.
331 2004-01-03 Alan Modra <amodra@bigpond.net.au>
333 * objcopy.c (filter_bytes): Delete. Move code to..
334 (copy_section): ..here. Simplify size adjustment. Divide
335 section lma by interleave.
337 2004-01-02 Nick Clifton <nickc@redhat.com>
339 * po/ru.po: New file: Russian translation.
340 * configure.in (ALL_LINGUAS): Add ru
341 * configure: Regenerate.
343 For older changes see ChangeLog-0203
349 version-control: never