1 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
5 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
7 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
9 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
12 2004-10-01 Paul Brook <paul@codesourcery.com>
14 * readelf.c (get_arm_section_type_name): New function.
15 (get_section_type_name): Use it.
17 2004-09-28 Nick Clifton <nickc@redhat.com>
19 * nm.c: Reorder functions to eliminate most of the static function
22 2004-09-22 Alan Modra <amodra@bigpond.net.au>
24 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
27 2004-09-17 Alan Modra <amodra@bigpond.net.au>
29 * Makefile.am: Run "make dep-am".
30 * Makefile.in: Regenerate.
31 * config.in: Regenerate.
32 * configure: Regenerate.
33 * doc/Makefile.in: Regenerate.
34 * po/binutils.pot: Regenerate.
36 2004-09-12 Alan Modra <amodra@bigpond.net.au>
38 * readelf.c (decode_location_expression): Sign extend value for
39 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
41 2004-09-09 Nick Clifton <nickc@redhat.com>
44 * ar.c (replace_members): Do not use get_file_size as
45 ar_emul_append correctly handles missing files.
47 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
49 * configure: Regenerated with autconfig 2.13.
51 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
53 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
56 2004-09-06 Michael Wardle <mbw@endbracket.net>
58 * doc/binutils.texi (objdump): Document that the -x switch includes
59 the effect of the -p switch.
61 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
63 * dlltool.c (make_one_lib_file): Test if internal_name was
64 specified by user before using it.
66 2004-09-02 Carlo Wood <carlo@alinoe.com>
69 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
70 exp->internal_name if it is present.
72 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
74 * MAINTAINERS: Add self as co-maintainer of FR-V.
75 * readelf.c (get_machine_flags): Print FR-V cpu types.
77 2004-08-28 Alan Modra <amodra@bigpond.net.au>
79 * nm.c (show_synthetic): New var.
80 (long_options): Add "synthetic".
82 (display_rel_file): Handle show_synthetic.
84 2004-08-28 Alan Modra <amodra@bigpond.net.au>
86 * objdump.c (dump_bfd): Pass both symbol tables to
87 bfd_get_synthetic_symtab.
89 2004-08-17 Jakub Jelinek <jakub@redhat.com>
91 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
92 of dynsyms to bfd_get_synthetic_symtab.
94 2004-08-16 Alan Modra <amodra@bigpond.net.au>
96 * readelf.c (debug_apply_rela_addends): New function, extracted from..
97 (display_debug_info): ..here.
98 (display_debug_frames): Call debug_apply_rela_addends. Don't do
99 DW_EH_PE_pcrel adjustment for ET_REL.
101 2004-08-06 Andreas Schwab <schwab@suse.de>
103 * readelf.c (dump_relocations): Fix typo when calculating
106 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
108 * dllwrap.c (deduce_name): Fix typos introduced when program_name
109 was renamed to prog_name.
111 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
113 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
116 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
118 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
119 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
121 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
122 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
124 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
126 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
128 * objdump.c (dump_section_header): Likewise.
130 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
132 * nlmconv.c (main): Pass map_file argument to link_inputs.
133 (link_inputs): Use map_file argument if it is defined.
135 2004-07-13 Nick Clifton <nickc@redhat.com>
137 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
138 conflicts with exported global defined in bucomm.h.
139 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
140 shadowing the global defined in bucomm.h.
142 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
144 * dlltool.c (ext_prefix_alias): New global variable.
145 (make_one_lib_file): Add aliases with prefixes for external
146 and import definitions.
147 (usage): Document -p option.
148 (long_options): Add --ext-prefix-alias option.
150 * doc/binutils.texi: Document new switch.
151 * NEWS: Mention new switch.
153 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
155 * binutils/dlltool.c (asm_prefix): Add parameter: name.
156 No underscore for symbols beginning with ?.
157 (ASM_PREFIX): Add parameter: NAME.
158 (gen_exp_file): Use new parameter.
159 (make_label): Likewise.
160 (make_imp_label): Likewise.
161 (make_one_lib_file): Likewise.
163 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
165 * MAINTAINERS: Added myself to the list.
166 * readelf.c: Include "elf/crx.h".
167 (guess_is_rela): Handle EM_CRX.
168 (get_machine_name): Likewise.
169 (dump_relocations): Likewise.
171 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
173 * doc/binutils.texi (nm): Clarify weak symbol description.
175 2004-06-24 Ben Elliston <bje@au.ibm.com>
177 * readelf.c (get_segment_type): Display "GNU_STACK", not just
178 "STACK", when a PT_GNU_STACK segment is encountered.
180 2004-06-24 Alan Modra <amodra@bigpond.net.au>
182 * objcopy.c (copy_section): Don't set _cooked_size.
184 2004-06-22 Alan Modra <amodra@bigpond.net.au>
186 * readelf.c (Elf32_Word): Delete.
187 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
188 (get_64bit_dynamic_section): Likewise.
190 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
191 (get_64bit_dynamic_section): Likewise.
193 * readelf.c (dynamic_nent): New variable.
194 (get_32bit_dynamic_section): Set it.
195 (get_64bit_dynamic_section): Here too.
196 (process_dynamic_section): Use it instead of dynamic_size.
197 (process_syminfo): Likewise.
199 * readelf.c (get_32bit_dynamic_section): Correct number of entries
200 translated from external to internal form.
201 (get_64bit_dynamic_section): Likewise.
203 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
205 * readelf.c (process_program_headers): When locating the dynamic
206 section use the section table if it is present.
207 (dynamic_segment): Renamed to dynamic_section.
208 Replace references to dynamic segment with references to dynamic
209 section, except where appropriate.
210 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
211 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
212 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
213 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
214 Remove tag counting code as it is no longer needed.
215 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
216 Remove tag counting code as it is no longer needed.
217 (process_dynamic_segment): Rename to process_dynamic_section.
219 2004-06-15 Alan Modra <amodra@bigpond.net.au>
221 * objcopy.c (copy_section): Use bfd_get_section_size instead of
222 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
223 (compare_section_lma): Likewise.
224 * addr2line.c (find_address_in_section): Likewise.
225 * coffgrok.c (do_sections_p1): Likewise.
226 * dlltool.c (scan_drectve_symbols): Likewise.
227 * nlmconv.c (main): Likewise.
228 (copy_sections): Likewise.
229 (powerpc_mangle_relocs): Likewise.
230 * objdump.c (disassemble_section): Likewise.
231 * prdbg.c (find_address_in_section): Likewise.
232 * size.c (berkeley_sum): Likewise.
233 * srconv.c (wr_ob): Likewise.
234 * strings.c (strings_a_section): Likewise.
236 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
238 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
240 2004-05-17 David Heine <dlheine@tensilica.com>
242 * objcopy.c (setup_bfd_headers): New function.
243 (copy_object): Call setup_bfd_headers.
245 2004-05-13 Paul Brook <paul@codesourcery.com>
247 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
250 2004-05-13 Nick Clifton <nickc@redhat.com>
252 * po/fr.po: Updated French translation.
254 2004-05-11 Jakub Jelinek <jakub@redhat.com>
256 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
258 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
260 * readelf.c (section_groups): New.
262 (section_headers_groups): New.
263 (process_section_groups): Populate group_count, section_groups
264 and section_headers_groups.
265 (process_unwind): Support section group.
266 (process_object): Always call process_section_groups. Free
267 section_groups and section_headers_groups.
269 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
271 * readelf.c (process_section_headers): Use %3lu on sh_info.
273 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
275 * ranlib.sh: Quote $1 argument in case it contains spaces.
277 2004-04-27 John Paul Wallington <jpw@gnu.org>
279 * objcopy.c (copy_usage, strip_usage): Fix spelling.
281 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
283 * readelf.c (do_section_groups): New.
284 (options): Add --section-groups/-g.
285 (usage): Mention --section-groups/-g.
286 (parse_args): Support --section-groups/-g.
287 (get_group_flags): New.
288 (process_section_groups): New.
289 (process_object): Call process_section_groups.
291 2004-04-24 Alan Modra <amodra@bigpond.net.au>
293 * objdump.c (disassemble_section): Don't disassemble sections
294 without SEC_HAS_CONTENTS.
296 2004-04-22 Jakub Jelinek <jakub@redhat.com>
298 * objdump.c (synthsyms, synthcount): New variables.
299 (disassemble_data): Use dynsyms for stripped binaries or libraries.
300 Add synthetized symbols.
301 (dump_bfd): For disassemble, initialize dynsyms always and
302 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
305 2004-04-14 Alan Modra <amodra@bigpond.net.au>
307 * strings.c (print_strings): Cast file_off to unsigned long in
310 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
313 * arsup.c (ar_save): Use smart_rename.
315 2004-04-01 Dean Luick <luick@cray.com>
317 * readelf.c (display_debug_pubnames): Align offset and data
319 (read_and_display_attr_value): Add missing break;
320 (debug_displays): Enable the display of the .debug_pubtypes
323 2004-03-30 Stan Shebs <shebs@apple.com>
325 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
326 support files, no longer used.
328 2004-03-23 Paul Brook <paul@codesourcery.com>
330 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
332 2004-03-21 Richard Henderson <rth@redhat.com>
334 * readelf.c (display_debug_frames): Don't crash for mismatched
335 DW_CFA_restore_state.
337 2004-03-19 Alan Modra <amodra@bigpond.net.au>
339 * Makefile.am: Run "make dep-am".
340 * Makefile.in: Regenerate.
341 * aclocal.m4: Regenerate.
342 * config.in: Regenerate.
343 * configure: Regenerate.
344 * po/binutils.pot: Regenerate.
346 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
348 * objdump.c (struct SFILE): Replace current pointer with pos
349 offset, rename size to alloc.
350 (objdump_sprintf): Avoid unnecessary copies in the common case
351 (disassemble_bytes): Keep sfile live throughout the
352 function. Adjust usage appropriately.
354 2004-03-10 Ben Elliston <bje@gnu.org>
356 * MAINTAINERS: Update my mail address.
358 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
360 * deflex.l: Handle "PRIVATE" string.
361 * defparse.y (%token): Add PRIVATE.
362 (%type): Add opt_PRIVATE.
363 (expline): Pass opt_PRIVATE to def_exports.
364 (opt_PRIVATE): Handle PRIVATE token.
365 * dlltool.h (def_exports): Add 7th param for private flag to
367 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
368 (struct export): Add 'private' field.
369 (def_exports): Set 'private' field of struct exports.
370 (scan_drectve_symbols): Adjust calls to def_exports.
371 (scan_filtered_symbols): Likewise.
372 (dump_def_info): Print 'private' field.
373 (gen_def_file): Likewise.
374 (gen_lib_file): Skip generation of lib object if private.
375 Delete tmp object files in same order as they were generated.
376 Don't delete non-existent private object files.
378 2004-02-27 Andreas Schwab <schwab@suse.de>
380 * ar.c (main): Support POSIX-compatible argument parsing.
382 2004-02-23 Daniel Lucq <daniel@lucq.org>
384 * readelf.c (process_mips_specific): Print conflictsno as an
387 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
389 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
391 2004-02-19 Jakub Jelinek <jakub@redhat.com>
393 * objcopy.c (copy_section): Avoid warnings.
395 2004-02-14 Andrew Cagney <cagney@redhat.com>
397 * ar.c (remove_output): Use bfd_cache_close.
398 * arsup.c (ar_end): Ditto.
400 2004-01-21 Roland McGrath <roland@redhat.com>
402 * readelf.c (get_note_type): Match NT_AUXV.
404 2004-01-20 Nick Clifton <nickc@redhat.com>
406 * version.c (print_version): Update copyright year to 2004.
408 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
410 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
412 * aclocal.m4: Regenerate.
413 * configure: Regenerate.
415 2004-01-12 Jakub Jelinek <jakub@redhat.com>
417 * objcopy.c: Include elf-bfd.h.
418 (is_strip_section): Don't strip debugging sections if
420 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
421 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
423 * objcopy.c (copy_section): Free relpp if relcount == 0.
425 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
427 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
428 (stab_demangle_argtypes): Likewise.
429 (stab_demangle_v3_argtypes): New static function.
430 (stab_demangle_v3_arg): New static function.
432 2004-01-12 Nick Clifton <nickc@redhat.com>
434 * objcopy.c (copy_object): Make the function boolean, returning
436 (copy_archive): Handle the return value from copy_object.
437 (copy_file): Likewise.
439 2004-01-07 Nick Clifton <nickc@redhat.com>
441 * readelf.c (find_section): New function. Locates a named
443 (get_debug_line_pointer_sizes): New function: Initialises the
444 debug_line_pointer_sizes array.
445 (display_debug_lines): Call get_debug_line_pointer_sizes.
446 (display_debug_loc): Likewise.
447 (load_debug_loc): Use find_section.
448 (load_debug_str): Likewise.
449 (display_debug_info): Likewise.
450 (prescan_debug_info): Delete.
451 (debug_displays): Remove prescan field.
452 (process_section_contents): Do not perform prescans.
454 2004-01-03 Alan Modra <amodra@bigpond.net.au>
456 * objcopy.c (filter_bytes): Delete. Move code to..
457 (copy_section): ..here. Simplify size adjustment. Divide
458 section lma by interleave.
460 2004-01-02 Nick Clifton <nickc@redhat.com>
462 * po/ru.po: New file: Russian translation.
463 * configure.in (ALL_LINGUAS): Add ru
464 * configure: Regenerate.
466 For older changes see ChangeLog-0203
472 version-control: never