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