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