1 2004-10-11 Alan Modra <amodra@bigpond.net.au>
3 * objdump.c (dump_symbols): Fix thinko last change. Improve error
6 2004-10-08 Nick Clifton <nickc@redhat.com>
8 * nm.c: Add a new switch --special-syms which, if enabled, will
9 include the ARM Mapping symbols in nm's output.
10 (usage): Mention the switch.
11 (filter_symbols): Handle the switch.
12 * objdump.c: Add a similar switch.
13 (usage): Mention the switch.
14 (dump_symbols): Handle the switch.
15 * doc/binutils.texi: Document the new switches.
16 * NEWS: Mention the new switches.
18 2004-10-08 Daniel Jacobowitz <dan@debian.org>
20 * readelf.c (get_x86_64_section_type_name): New function.
21 (get_section_type_name): Use it.
23 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
25 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
27 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
29 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
31 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
34 2004-10-01 Paul Brook <paul@codesourcery.com>
36 * readelf.c (get_arm_section_type_name): New function.
37 (get_section_type_name): Use it.
39 2004-09-28 Nick Clifton <nickc@redhat.com>
41 * nm.c: Reorder functions to eliminate most of the static function
44 2004-09-22 Alan Modra <amodra@bigpond.net.au>
46 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
49 2004-09-17 Alan Modra <amodra@bigpond.net.au>
51 * Makefile.am: Run "make dep-am".
52 * Makefile.in: Regenerate.
53 * config.in: Regenerate.
54 * configure: Regenerate.
55 * doc/Makefile.in: Regenerate.
56 * po/binutils.pot: Regenerate.
58 2004-09-12 Alan Modra <amodra@bigpond.net.au>
60 * readelf.c (decode_location_expression): Sign extend value for
61 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
63 2004-09-09 Nick Clifton <nickc@redhat.com>
66 * ar.c (replace_members): Do not use get_file_size as
67 ar_emul_append correctly handles missing files.
69 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
71 * configure: Regenerated with autconfig 2.13.
73 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
75 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
78 2004-09-06 Michael Wardle <mbw@endbracket.net>
80 * doc/binutils.texi (objdump): Document that the -x switch includes
81 the effect of the -p switch.
83 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
85 * dlltool.c (make_one_lib_file): Test if internal_name was
86 specified by user before using it.
88 2004-09-02 Carlo Wood <carlo@alinoe.com>
91 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
92 exp->internal_name if it is present.
94 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
96 * MAINTAINERS: Add self as co-maintainer of FR-V.
97 * readelf.c (get_machine_flags): Print FR-V cpu types.
99 2004-08-28 Alan Modra <amodra@bigpond.net.au>
101 * nm.c (show_synthetic): New var.
102 (long_options): Add "synthetic".
104 (display_rel_file): Handle show_synthetic.
106 2004-08-28 Alan Modra <amodra@bigpond.net.au>
108 * objdump.c (dump_bfd): Pass both symbol tables to
109 bfd_get_synthetic_symtab.
111 2004-08-17 Jakub Jelinek <jakub@redhat.com>
113 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
114 of dynsyms to bfd_get_synthetic_symtab.
116 2004-08-16 Alan Modra <amodra@bigpond.net.au>
118 * readelf.c (debug_apply_rela_addends): New function, extracted from..
119 (display_debug_info): ..here.
120 (display_debug_frames): Call debug_apply_rela_addends. Don't do
121 DW_EH_PE_pcrel adjustment for ET_REL.
123 2004-08-06 Andreas Schwab <schwab@suse.de>
125 * readelf.c (dump_relocations): Fix typo when calculating
128 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
130 * dllwrap.c (deduce_name): Fix typos introduced when program_name
131 was renamed to prog_name.
133 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
135 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
138 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
140 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
141 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
143 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
144 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
146 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
148 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
150 * objdump.c (dump_section_header): Likewise.
152 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
154 * nlmconv.c (main): Pass map_file argument to link_inputs.
155 (link_inputs): Use map_file argument if it is defined.
157 2004-07-13 Nick Clifton <nickc@redhat.com>
159 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
160 conflicts with exported global defined in bucomm.h.
161 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
162 shadowing the global defined in bucomm.h.
164 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
166 * dlltool.c (ext_prefix_alias): New global variable.
167 (make_one_lib_file): Add aliases with prefixes for external
168 and import definitions.
169 (usage): Document -p option.
170 (long_options): Add --ext-prefix-alias option.
172 * doc/binutils.texi: Document new switch.
173 * NEWS: Mention new switch.
175 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
177 * binutils/dlltool.c (asm_prefix): Add parameter: name.
178 No underscore for symbols beginning with ?.
179 (ASM_PREFIX): Add parameter: NAME.
180 (gen_exp_file): Use new parameter.
181 (make_label): Likewise.
182 (make_imp_label): Likewise.
183 (make_one_lib_file): Likewise.
185 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
187 * MAINTAINERS: Added myself to the list.
188 * readelf.c: Include "elf/crx.h".
189 (guess_is_rela): Handle EM_CRX.
190 (get_machine_name): Likewise.
191 (dump_relocations): Likewise.
193 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
195 * doc/binutils.texi (nm): Clarify weak symbol description.
197 2004-06-24 Ben Elliston <bje@au.ibm.com>
199 * readelf.c (get_segment_type): Display "GNU_STACK", not just
200 "STACK", when a PT_GNU_STACK segment is encountered.
202 2004-06-24 Alan Modra <amodra@bigpond.net.au>
204 * objcopy.c (copy_section): Don't set _cooked_size.
206 2004-06-22 Alan Modra <amodra@bigpond.net.au>
208 * readelf.c (Elf32_Word): Delete.
209 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
210 (get_64bit_dynamic_section): Likewise.
212 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
213 (get_64bit_dynamic_section): Likewise.
215 * readelf.c (dynamic_nent): New variable.
216 (get_32bit_dynamic_section): Set it.
217 (get_64bit_dynamic_section): Here too.
218 (process_dynamic_section): Use it instead of dynamic_size.
219 (process_syminfo): Likewise.
221 * readelf.c (get_32bit_dynamic_section): Correct number of entries
222 translated from external to internal form.
223 (get_64bit_dynamic_section): Likewise.
225 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
227 * readelf.c (process_program_headers): When locating the dynamic
228 section use the section table if it is present.
229 (dynamic_segment): Renamed to dynamic_section.
230 Replace references to dynamic segment with references to dynamic
231 section, except where appropriate.
232 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
233 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
234 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
235 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
236 Remove tag counting code as it is no longer needed.
237 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
238 Remove tag counting code as it is no longer needed.
239 (process_dynamic_segment): Rename to process_dynamic_section.
241 2004-06-15 Alan Modra <amodra@bigpond.net.au>
243 * objcopy.c (copy_section): Use bfd_get_section_size instead of
244 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
245 (compare_section_lma): Likewise.
246 * addr2line.c (find_address_in_section): Likewise.
247 * coffgrok.c (do_sections_p1): Likewise.
248 * dlltool.c (scan_drectve_symbols): Likewise.
249 * nlmconv.c (main): Likewise.
250 (copy_sections): Likewise.
251 (powerpc_mangle_relocs): Likewise.
252 * objdump.c (disassemble_section): Likewise.
253 * prdbg.c (find_address_in_section): Likewise.
254 * size.c (berkeley_sum): Likewise.
255 * srconv.c (wr_ob): Likewise.
256 * strings.c (strings_a_section): Likewise.
258 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
260 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
262 2004-05-17 David Heine <dlheine@tensilica.com>
264 * objcopy.c (setup_bfd_headers): New function.
265 (copy_object): Call setup_bfd_headers.
267 2004-05-13 Paul Brook <paul@codesourcery.com>
269 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
272 2004-05-13 Nick Clifton <nickc@redhat.com>
274 * po/fr.po: Updated French translation.
276 2004-05-11 Jakub Jelinek <jakub@redhat.com>
278 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
280 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
282 * readelf.c (section_groups): New.
284 (section_headers_groups): New.
285 (process_section_groups): Populate group_count, section_groups
286 and section_headers_groups.
287 (process_unwind): Support section group.
288 (process_object): Always call process_section_groups. Free
289 section_groups and section_headers_groups.
291 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
293 * readelf.c (process_section_headers): Use %3lu on sh_info.
295 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
297 * ranlib.sh: Quote $1 argument in case it contains spaces.
299 2004-04-27 John Paul Wallington <jpw@gnu.org>
301 * objcopy.c (copy_usage, strip_usage): Fix spelling.
303 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
305 * readelf.c (do_section_groups): New.
306 (options): Add --section-groups/-g.
307 (usage): Mention --section-groups/-g.
308 (parse_args): Support --section-groups/-g.
309 (get_group_flags): New.
310 (process_section_groups): New.
311 (process_object): Call process_section_groups.
313 2004-04-24 Alan Modra <amodra@bigpond.net.au>
315 * objdump.c (disassemble_section): Don't disassemble sections
316 without SEC_HAS_CONTENTS.
318 2004-04-22 Jakub Jelinek <jakub@redhat.com>
320 * objdump.c (synthsyms, synthcount): New variables.
321 (disassemble_data): Use dynsyms for stripped binaries or libraries.
322 Add synthetized symbols.
323 (dump_bfd): For disassemble, initialize dynsyms always and
324 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
327 2004-04-14 Alan Modra <amodra@bigpond.net.au>
329 * strings.c (print_strings): Cast file_off to unsigned long in
332 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
335 * arsup.c (ar_save): Use smart_rename.
337 2004-04-01 Dean Luick <luick@cray.com>
339 * readelf.c (display_debug_pubnames): Align offset and data
341 (read_and_display_attr_value): Add missing break;
342 (debug_displays): Enable the display of the .debug_pubtypes
345 2004-03-30 Stan Shebs <shebs@apple.com>
347 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
348 support files, no longer used.
350 2004-03-23 Paul Brook <paul@codesourcery.com>
352 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
354 2004-03-21 Richard Henderson <rth@redhat.com>
356 * readelf.c (display_debug_frames): Don't crash for mismatched
357 DW_CFA_restore_state.
359 2004-03-19 Alan Modra <amodra@bigpond.net.au>
361 * Makefile.am: Run "make dep-am".
362 * Makefile.in: Regenerate.
363 * aclocal.m4: Regenerate.
364 * config.in: Regenerate.
365 * configure: Regenerate.
366 * po/binutils.pot: Regenerate.
368 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
370 * objdump.c (struct SFILE): Replace current pointer with pos
371 offset, rename size to alloc.
372 (objdump_sprintf): Avoid unnecessary copies in the common case
373 (disassemble_bytes): Keep sfile live throughout the
374 function. Adjust usage appropriately.
376 2004-03-10 Ben Elliston <bje@gnu.org>
378 * MAINTAINERS: Update my mail address.
380 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
382 * deflex.l: Handle "PRIVATE" string.
383 * defparse.y (%token): Add PRIVATE.
384 (%type): Add opt_PRIVATE.
385 (expline): Pass opt_PRIVATE to def_exports.
386 (opt_PRIVATE): Handle PRIVATE token.
387 * dlltool.h (def_exports): Add 7th param for private flag to
389 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
390 (struct export): Add 'private' field.
391 (def_exports): Set 'private' field of struct exports.
392 (scan_drectve_symbols): Adjust calls to def_exports.
393 (scan_filtered_symbols): Likewise.
394 (dump_def_info): Print 'private' field.
395 (gen_def_file): Likewise.
396 (gen_lib_file): Skip generation of lib object if private.
397 Delete tmp object files in same order as they were generated.
398 Don't delete non-existent private object files.
400 2004-02-27 Andreas Schwab <schwab@suse.de>
402 * ar.c (main): Support POSIX-compatible argument parsing.
404 2004-02-23 Daniel Lucq <daniel@lucq.org>
406 * readelf.c (process_mips_specific): Print conflictsno as an
409 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
411 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
413 2004-02-19 Jakub Jelinek <jakub@redhat.com>
415 * objcopy.c (copy_section): Avoid warnings.
417 2004-02-14 Andrew Cagney <cagney@redhat.com>
419 * ar.c (remove_output): Use bfd_cache_close.
420 * arsup.c (ar_end): Ditto.
422 2004-01-21 Roland McGrath <roland@redhat.com>
424 * readelf.c (get_note_type): Match NT_AUXV.
426 2004-01-20 Nick Clifton <nickc@redhat.com>
428 * version.c (print_version): Update copyright year to 2004.
430 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
432 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
434 * aclocal.m4: Regenerate.
435 * configure: Regenerate.
437 2004-01-12 Jakub Jelinek <jakub@redhat.com>
439 * objcopy.c: Include elf-bfd.h.
440 (is_strip_section): Don't strip debugging sections if
442 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
443 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
445 * objcopy.c (copy_section): Free relpp if relcount == 0.
447 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
449 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
450 (stab_demangle_argtypes): Likewise.
451 (stab_demangle_v3_argtypes): New static function.
452 (stab_demangle_v3_arg): New static function.
454 2004-01-12 Nick Clifton <nickc@redhat.com>
456 * objcopy.c (copy_object): Make the function boolean, returning
458 (copy_archive): Handle the return value from copy_object.
459 (copy_file): Likewise.
461 2004-01-07 Nick Clifton <nickc@redhat.com>
463 * readelf.c (find_section): New function. Locates a named
465 (get_debug_line_pointer_sizes): New function: Initialises the
466 debug_line_pointer_sizes array.
467 (display_debug_lines): Call get_debug_line_pointer_sizes.
468 (display_debug_loc): Likewise.
469 (load_debug_loc): Use find_section.
470 (load_debug_str): Likewise.
471 (display_debug_info): Likewise.
472 (prescan_debug_info): Delete.
473 (debug_displays): Remove prescan field.
474 (process_section_contents): Do not perform prescans.
476 2004-01-03 Alan Modra <amodra@bigpond.net.au>
478 * objcopy.c (filter_bytes): Delete. Move code to..
479 (copy_section): ..here. Simplify size adjustment. Divide
480 section lma by interleave.
482 2004-01-02 Nick Clifton <nickc@redhat.com>
484 * po/ru.po: New file: Russian translation.
485 * configure.in (ALL_LINGUAS): Add ru
486 * configure: Regenerate.
488 For older changes see ChangeLog-0203
494 version-control: never