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