1 2004-10-26 Jakub Jelinek <jakub@redhat.com>
3 * ar.c (extract_file): Set atime to mtime for ar xo.
5 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
7 * stabs.c (stab_demangle_v3_arglist): New static function, broken
8 out of stab_demangle_v3_argtypes.
9 (stab_demangle_v3_argtypes): Call it.
10 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
11 If we find an unrecognized component, print out its number.
13 2004-10-25 David Mosberger <davidm@hpl.hp.com>
15 * readelf.c (slurp_ia64_unwind_table): Support relocations against
16 non-section symbols by adding in the symbol value.
18 2004-10-25 Nick Clifton <nickc@redhat.com>
21 * readelf.c (dynamic_strings_length): New global variable.
22 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
23 strings in the dynamic string table.
24 (process_section_headers): Initialise dynamic_strings_length.
25 (process_dynamic_section): Likewise.
26 (process_object): Reset dynamic_string_length when the buffer is freed.
27 (dynamic_sections_mips_val): Use the new macros.
28 (process_dynamic_section): Likewise.
29 (process_version_sections): Likewise.
30 (process_symbol_table): Likewise.
31 (process_syminfo): Likewise.
32 (process_mips_specific): Likewise.
33 (dump_relocations): Add a new parameter 'strtablen' and use this
34 to verify that string offset in a given reloc is valid. Print a
35 suitable error message otherwise.
36 (process_relocs): Pass the new argument to dump_relocations.
38 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
40 * dlltool.c: Include <assert.h>.
41 (PREFIX_ALIAS_BASE): Define.
42 (struct export): Add member import_name;
43 (def_exports): Set import_name.
44 (make_one_lib_file): Remove prefix alias code, use import_name
46 (gen_lib_file): Create and delete aliases.
48 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
50 * readelf.c (process_section_groups): Free symtab after use.
52 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
53 Nick Clifton <nickc@redhat.com>
55 * strings.c (usage): Place radix values for -t option into the
58 * objcopy.c (add_redefine_syms_file): Change error messages to use
59 <filename>:<linenumber>: format for easier parsing by automatic
62 * srconv.c (show_usage): Fix spelling typo.
64 * windres.c (format_from_filename): Suggest the use of -J instead
65 of -I if the file type cannot be determined.
67 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
69 * strings.c: Include <sys/stat.h>.
71 2004-10-18 Alan Modra <amodra@bigpond.net.au>
73 * budemang.c (demangle): Fix thinko.
75 * budemang.c (demangle): Handle "@plt" suffix.
77 2004-10-14 Nick Clifton <nickc@redhat.com>
79 * nm.c (usage): Fix description of --special-syms switch.
81 2004-10-13 Jakub Jelinek <jakub@redhat.com>
83 * strings.c (statbuf): New typedef.
85 (strings_object_file): Avoid using get_file_size, instead do the
86 checks here, using file_stat.
87 * configure.in (HAVE_STAT64): New test.
91 2004-10-12 Paul Brook <paul@codesourcery.com>
93 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
95 2004-10-11 Alan Modra <amodra@bigpond.net.au>
97 * objdump.c (dump_symbols): Fix thinko last change. Improve error
100 2004-10-08 Nick Clifton <nickc@redhat.com>
102 * nm.c: Add a new switch --special-syms which, if enabled, will
103 include the ARM Mapping symbols in nm's output.
104 (usage): Mention the switch.
105 (filter_symbols): Handle the switch.
106 * objdump.c: Add a similar switch.
107 (usage): Mention the switch.
108 (dump_symbols): Handle the switch.
109 * doc/binutils.texi: Document the new switches.
110 * NEWS: Mention the new switches.
112 2004-10-08 Daniel Jacobowitz <dan@debian.org>
114 * readelf.c (get_x86_64_section_type_name): New function.
115 (get_section_type_name): Use it.
117 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
119 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
121 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
123 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
125 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
128 2004-10-01 Paul Brook <paul@codesourcery.com>
130 * readelf.c (get_arm_section_type_name): New function.
131 (get_section_type_name): Use it.
133 2004-09-28 Nick Clifton <nickc@redhat.com>
135 * nm.c: Reorder functions to eliminate most of the static function
138 2004-09-22 Alan Modra <amodra@bigpond.net.au>
140 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
143 2004-09-17 Alan Modra <amodra@bigpond.net.au>
145 * Makefile.am: Run "make dep-am".
146 * Makefile.in: Regenerate.
147 * config.in: Regenerate.
148 * configure: Regenerate.
149 * doc/Makefile.in: Regenerate.
150 * po/binutils.pot: Regenerate.
152 2004-09-12 Alan Modra <amodra@bigpond.net.au>
154 * readelf.c (decode_location_expression): Sign extend value for
155 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
157 2004-09-09 Nick Clifton <nickc@redhat.com>
160 * ar.c (replace_members): Do not use get_file_size as
161 ar_emul_append correctly handles missing files.
163 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
165 * configure: Regenerated with autconfig 2.13.
167 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
169 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
172 2004-09-06 Michael Wardle <mbw@endbracket.net>
174 * doc/binutils.texi (objdump): Document that the -x switch includes
175 the effect of the -p switch.
177 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
179 * dlltool.c (make_one_lib_file): Test if internal_name was
180 specified by user before using it.
182 2004-09-02 Carlo Wood <carlo@alinoe.com>
185 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
186 exp->internal_name if it is present.
188 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
190 * MAINTAINERS: Add self as co-maintainer of FR-V.
191 * readelf.c (get_machine_flags): Print FR-V cpu types.
193 2004-08-28 Alan Modra <amodra@bigpond.net.au>
195 * nm.c (show_synthetic): New var.
196 (long_options): Add "synthetic".
198 (display_rel_file): Handle show_synthetic.
200 2004-08-28 Alan Modra <amodra@bigpond.net.au>
202 * objdump.c (dump_bfd): Pass both symbol tables to
203 bfd_get_synthetic_symtab.
205 2004-08-17 Jakub Jelinek <jakub@redhat.com>
207 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
208 of dynsyms to bfd_get_synthetic_symtab.
210 2004-08-16 Alan Modra <amodra@bigpond.net.au>
212 * readelf.c (debug_apply_rela_addends): New function, extracted from..
213 (display_debug_info): ..here.
214 (display_debug_frames): Call debug_apply_rela_addends. Don't do
215 DW_EH_PE_pcrel adjustment for ET_REL.
217 2004-08-06 Andreas Schwab <schwab@suse.de>
219 * readelf.c (dump_relocations): Fix typo when calculating
222 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
224 * dllwrap.c (deduce_name): Fix typos introduced when program_name
225 was renamed to prog_name.
227 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
229 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
232 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
234 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
235 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
237 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
238 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
240 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
242 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
244 * objdump.c (dump_section_header): Likewise.
246 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
248 * nlmconv.c (main): Pass map_file argument to link_inputs.
249 (link_inputs): Use map_file argument if it is defined.
251 2004-07-13 Nick Clifton <nickc@redhat.com>
253 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
254 conflicts with exported global defined in bucomm.h.
255 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
256 shadowing the global defined in bucomm.h.
258 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
260 * dlltool.c (ext_prefix_alias): New global variable.
261 (make_one_lib_file): Add aliases with prefixes for external
262 and import definitions.
263 (usage): Document -p option.
264 (long_options): Add --ext-prefix-alias option.
266 * doc/binutils.texi: Document new switch.
267 * NEWS: Mention new switch.
269 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
271 * binutils/dlltool.c (asm_prefix): Add parameter: name.
272 No underscore for symbols beginning with ?.
273 (ASM_PREFIX): Add parameter: NAME.
274 (gen_exp_file): Use new parameter.
275 (make_label): Likewise.
276 (make_imp_label): Likewise.
277 (make_one_lib_file): Likewise.
279 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
281 * MAINTAINERS: Added myself to the list.
282 * readelf.c: Include "elf/crx.h".
283 (guess_is_rela): Handle EM_CRX.
284 (get_machine_name): Likewise.
285 (dump_relocations): Likewise.
287 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
289 * doc/binutils.texi (nm): Clarify weak symbol description.
291 2004-06-24 Ben Elliston <bje@au.ibm.com>
293 * readelf.c (get_segment_type): Display "GNU_STACK", not just
294 "STACK", when a PT_GNU_STACK segment is encountered.
296 2004-06-24 Alan Modra <amodra@bigpond.net.au>
298 * objcopy.c (copy_section): Don't set _cooked_size.
300 2004-06-22 Alan Modra <amodra@bigpond.net.au>
302 * readelf.c (Elf32_Word): Delete.
303 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
304 (get_64bit_dynamic_section): Likewise.
306 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
307 (get_64bit_dynamic_section): Likewise.
309 * readelf.c (dynamic_nent): New variable.
310 (get_32bit_dynamic_section): Set it.
311 (get_64bit_dynamic_section): Here too.
312 (process_dynamic_section): Use it instead of dynamic_size.
313 (process_syminfo): Likewise.
315 * readelf.c (get_32bit_dynamic_section): Correct number of entries
316 translated from external to internal form.
317 (get_64bit_dynamic_section): Likewise.
319 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
321 * readelf.c (process_program_headers): When locating the dynamic
322 section use the section table if it is present.
323 (dynamic_segment): Renamed to dynamic_section.
324 Replace references to dynamic segment with references to dynamic
325 section, except where appropriate.
326 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
327 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
328 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
329 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
330 Remove tag counting code as it is no longer needed.
331 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
332 Remove tag counting code as it is no longer needed.
333 (process_dynamic_segment): Rename to process_dynamic_section.
335 2004-06-15 Alan Modra <amodra@bigpond.net.au>
337 * objcopy.c (copy_section): Use bfd_get_section_size instead of
338 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
339 (compare_section_lma): Likewise.
340 * addr2line.c (find_address_in_section): Likewise.
341 * coffgrok.c (do_sections_p1): Likewise.
342 * dlltool.c (scan_drectve_symbols): Likewise.
343 * nlmconv.c (main): Likewise.
344 (copy_sections): Likewise.
345 (powerpc_mangle_relocs): Likewise.
346 * objdump.c (disassemble_section): Likewise.
347 * prdbg.c (find_address_in_section): Likewise.
348 * size.c (berkeley_sum): Likewise.
349 * srconv.c (wr_ob): Likewise.
350 * strings.c (strings_a_section): Likewise.
352 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
354 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
356 2004-05-17 David Heine <dlheine@tensilica.com>
358 * objcopy.c (setup_bfd_headers): New function.
359 (copy_object): Call setup_bfd_headers.
361 2004-05-13 Paul Brook <paul@codesourcery.com>
363 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
366 2004-05-13 Nick Clifton <nickc@redhat.com>
368 * po/fr.po: Updated French translation.
370 2004-05-11 Jakub Jelinek <jakub@redhat.com>
372 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
374 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
376 * readelf.c (section_groups): New.
378 (section_headers_groups): New.
379 (process_section_groups): Populate group_count, section_groups
380 and section_headers_groups.
381 (process_unwind): Support section group.
382 (process_object): Always call process_section_groups. Free
383 section_groups and section_headers_groups.
385 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
387 * readelf.c (process_section_headers): Use %3lu on sh_info.
389 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
391 * ranlib.sh: Quote $1 argument in case it contains spaces.
393 2004-04-27 John Paul Wallington <jpw@gnu.org>
395 * objcopy.c (copy_usage, strip_usage): Fix spelling.
397 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
399 * readelf.c (do_section_groups): New.
400 (options): Add --section-groups/-g.
401 (usage): Mention --section-groups/-g.
402 (parse_args): Support --section-groups/-g.
403 (get_group_flags): New.
404 (process_section_groups): New.
405 (process_object): Call process_section_groups.
407 2004-04-24 Alan Modra <amodra@bigpond.net.au>
409 * objdump.c (disassemble_section): Don't disassemble sections
410 without SEC_HAS_CONTENTS.
412 2004-04-22 Jakub Jelinek <jakub@redhat.com>
414 * objdump.c (synthsyms, synthcount): New variables.
415 (disassemble_data): Use dynsyms for stripped binaries or libraries.
416 Add synthetized symbols.
417 (dump_bfd): For disassemble, initialize dynsyms always and
418 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
421 2004-04-14 Alan Modra <amodra@bigpond.net.au>
423 * strings.c (print_strings): Cast file_off to unsigned long in
426 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
429 * arsup.c (ar_save): Use smart_rename.
431 2004-04-01 Dean Luick <luick@cray.com>
433 * readelf.c (display_debug_pubnames): Align offset and data
435 (read_and_display_attr_value): Add missing break;
436 (debug_displays): Enable the display of the .debug_pubtypes
439 2004-03-30 Stan Shebs <shebs@apple.com>
441 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
442 support files, no longer used.
444 2004-03-23 Paul Brook <paul@codesourcery.com>
446 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
448 2004-03-21 Richard Henderson <rth@redhat.com>
450 * readelf.c (display_debug_frames): Don't crash for mismatched
451 DW_CFA_restore_state.
453 2004-03-19 Alan Modra <amodra@bigpond.net.au>
455 * Makefile.am: Run "make dep-am".
456 * Makefile.in: Regenerate.
457 * aclocal.m4: Regenerate.
458 * config.in: Regenerate.
459 * configure: Regenerate.
460 * po/binutils.pot: Regenerate.
462 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
464 * objdump.c (struct SFILE): Replace current pointer with pos
465 offset, rename size to alloc.
466 (objdump_sprintf): Avoid unnecessary copies in the common case
467 (disassemble_bytes): Keep sfile live throughout the
468 function. Adjust usage appropriately.
470 2004-03-10 Ben Elliston <bje@gnu.org>
472 * MAINTAINERS: Update my mail address.
474 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
476 * deflex.l: Handle "PRIVATE" string.
477 * defparse.y (%token): Add PRIVATE.
478 (%type): Add opt_PRIVATE.
479 (expline): Pass opt_PRIVATE to def_exports.
480 (opt_PRIVATE): Handle PRIVATE token.
481 * dlltool.h (def_exports): Add 7th param for private flag to
483 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
484 (struct export): Add 'private' field.
485 (def_exports): Set 'private' field of struct exports.
486 (scan_drectve_symbols): Adjust calls to def_exports.
487 (scan_filtered_symbols): Likewise.
488 (dump_def_info): Print 'private' field.
489 (gen_def_file): Likewise.
490 (gen_lib_file): Skip generation of lib object if private.
491 Delete tmp object files in same order as they were generated.
492 Don't delete non-existent private object files.
494 2004-02-27 Andreas Schwab <schwab@suse.de>
496 * ar.c (main): Support POSIX-compatible argument parsing.
498 2004-02-23 Daniel Lucq <daniel@lucq.org>
500 * readelf.c (process_mips_specific): Print conflictsno as an
503 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
505 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
507 2004-02-19 Jakub Jelinek <jakub@redhat.com>
509 * objcopy.c (copy_section): Avoid warnings.
511 2004-02-14 Andrew Cagney <cagney@redhat.com>
513 * ar.c (remove_output): Use bfd_cache_close.
514 * arsup.c (ar_end): Ditto.
516 2004-01-21 Roland McGrath <roland@redhat.com>
518 * readelf.c (get_note_type): Match NT_AUXV.
520 2004-01-20 Nick Clifton <nickc@redhat.com>
522 * version.c (print_version): Update copyright year to 2004.
524 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
526 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
528 * aclocal.m4: Regenerate.
529 * configure: Regenerate.
531 2004-01-12 Jakub Jelinek <jakub@redhat.com>
533 * objcopy.c: Include elf-bfd.h.
534 (is_strip_section): Don't strip debugging sections if
536 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
537 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
539 * objcopy.c (copy_section): Free relpp if relcount == 0.
541 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
543 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
544 (stab_demangle_argtypes): Likewise.
545 (stab_demangle_v3_argtypes): New static function.
546 (stab_demangle_v3_arg): New static function.
548 2004-01-12 Nick Clifton <nickc@redhat.com>
550 * objcopy.c (copy_object): Make the function boolean, returning
552 (copy_archive): Handle the return value from copy_object.
553 (copy_file): Likewise.
555 2004-01-07 Nick Clifton <nickc@redhat.com>
557 * readelf.c (find_section): New function. Locates a named
559 (get_debug_line_pointer_sizes): New function: Initialises the
560 debug_line_pointer_sizes array.
561 (display_debug_lines): Call get_debug_line_pointer_sizes.
562 (display_debug_loc): Likewise.
563 (load_debug_loc): Use find_section.
564 (load_debug_str): Likewise.
565 (display_debug_info): Likewise.
566 (prescan_debug_info): Delete.
567 (debug_displays): Remove prescan field.
568 (process_section_contents): Do not perform prescans.
570 2004-01-03 Alan Modra <amodra@bigpond.net.au>
572 * objcopy.c (filter_bytes): Delete. Move code to..
573 (copy_section): ..here. Simplify size adjustment. Divide
574 section lma by interleave.
576 2004-01-02 Nick Clifton <nickc@redhat.com>
578 * po/ru.po: New file: Russian translation.
579 * configure.in (ALL_LINGUAS): Add ru
580 * configure: Regenerate.
582 For older changes see ChangeLog-0203
588 version-control: never