diff options
Diffstat (limited to 'contrib/binutils')
109 files changed, 3057 insertions, 2175 deletions
diff --git a/contrib/binutils/bfd/ChangeLog b/contrib/binutils/bfd/ChangeLog index 1d3c161..6c92f76 100644 --- a/contrib/binutils/bfd/ChangeLog +++ b/contrib/binutils/bfd/ChangeLog @@ -1,7 +1,276 @@ +2002-11-27 David O'Brien <obrien@FreeBSD.org> + + * elf.c (_bfd_elf_copy_private_section_data): Don't define bed. + +2002-11-21 Richard Henderson <rth@redhat.com> + + * elflink.h (elf_link_add_object_symbols): Don't overwrite the + arch's st_other bits when merging visibilities. + (elf_link_output_extsym): Tidy clearing of visibility field. + +2002-11-14 David O'Brien <obrien@FreeBSD.org> + + Merge from mainline: + 2002-11-12 Thomas Moestl <tmm@FreeBSD.org> + * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct + references to large plt symbols. + +2002-11-13 Alan Modra <amodra@bigpond.net.au> + + Merge from mainline. + 2002-11-07 Alan Modra <amodra@bigpond.net.au> + * elf64-ppc.c: Comment typo fixes. + (ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input. + +2002-11-11 Nick Clifton <nickc@redhat.com> + + Import this patch from mainline: + + 2002-09-19 Nick Clifton <nickc@redhat.com> + + * elflink.h (elf_fix_symbol_flags): When examining weak symbols, + follow indirect links. + +2002-11-07 Daniel Jacobowitz <drow@mvista.com> + + * configure.in: Clear is_release on the branch after release. + +2002-11-07 Daniel Jacobowitz <drow@mvista.com> + + * configure.in: Bump version and set is_release. + * configure: Regenerate. + +2002-11-07 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2002-11-07 Graeme Peterson <gp@qnx.com> + + * Makefile.am: Removed entries for elf32-i386qnx.c and + elf32-i386qnx.lo. + * Makefile.in: Regenerate. + * config.bfd: Changed i[3456]86-*-nto-qnx* targ_defvec from + bfd_elf32_i386qnx_vec to bfd_elf32_i386_vec. + * configure.in: Removed support for bfd_elf32_i386qnx_vec. + * configure: Regenerate. + * elf32-i386qnx.c: Removed. + * elf.c: Removed calls to QNX specific set_nonloadable_filepos, + is_contained_by_filepos, and copy_private_bfd_data_p. + * elf32-i386.c: Removed QNX specific #ifdef ELF32_I386_C_INCLUDED. + * targets.c: Removed bfd_elf32_i386qnx_vec. + * elfxx-target.h: Removed QNX specific elf_backend_set_nonloadable_filepos, + elf_backend_is_contained_by_filepos, and elf_backend_copy_private_bfd_data_p. + * elf-bfd.h: Removed QNX specific set_nonloadable_filepos, + is_contained_by_filepos, and copy_private_bfd_data_p. + +2002-11-06 David O'Brien <obrien@FreeBSD.org> + Alan Modra <amodra@bigpond.net.au> + + * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of + dynamic relocs against section symbols for the output section vma. + +2002-11-05 Elias Athanasopoulos <eathan@otenet.gr> + + * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is + non-NULL before dereferencing. + +2002-11-04 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * vms.c (vms_object_p): Restore the start address when returning + NULL. + +2002-10-31 David O'Brien <obrien@FreeBSD.org> + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix + signed and unsigned in comparison. + +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * bfd-in2.h: Regenerated. + * po/SRC-POTFILES.in: Regenerated. + * po/bfd.pot: Regenerated. + +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * coffcode.h: Remove extraneous '\'. + +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-24 John David Anglin <dave@hiauly1.hia.nrc.ca> + * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to + unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to + unsigned int. + (NAME(aout,final_link)): Cast enum used in assignment. + (aout_link_write_symbols): Cast enums in comparisons, int values to + boolean, enums in assignments to int. + (aout_link_input_section_std): Cast rel->r_index to unsigned int. + (aout_link_input_section_ext): Likewise. Cast enums used in comparisons + with unsigned ints. + (aout_link_reloc_link_order): Cast enum to int in assignment. + * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr + calls to char *. + * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in + assignment. + * bfd-in2.h (bfd_set_section_vma): Likewise. + * bfd.c (bfd_record_phdr): Cast enums in assignments. + * binary.c (bfd_alloc): Cast enum to long. + * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. + * dwarf2.c (read_abbrevs): Add casts to enum types. + (read_attribute_value): Likewise. + (arange_add): Cast result of bfd_zalloc call. + (comp_unit_contains_address): Return true and false. + (comp_unit_find_nearest_line): Cast return to boolean. + * format.c (bfd_check_format_matches, bfd_set_format): Likewise. + * gen-aout.c: define macro '_' if not defined. + * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. + (bfd_bwrite): Cast bfd_realloc to bfd_byte *. + (bfd_write_bigendian_4byte_int): Cast return to boolean. + (bfd_seek): Cast bfd_realloc to bfd_byte *. + (bfd_generic_is_local_label_name): Cast return to boolean. + * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. + * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to + struct bfd_hash_entry *. + (_bfd_generic_link_hash_newfunc): likewise. + (_bfd_generic_final_link): Cast enum to unsigned int. + * merge.c (sec_merge_emit): Cast return to boolean. + (merge_strings): Add casts to const unsigned char *. + * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. + (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. + * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to + struct bfd_hash_entry *. + (bfd_set_section_content): Add cast to PTR in comparison. + * srec.c (S3Forced): Initialize to false. + (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. + * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. + (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. + * syms.c (bfd_is_undefined_symclass): Cast return to boolean. + (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in + comparisons. + + 2002-10-23 Jakub Jelinek <jakub@redhat.com> + * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic + relocs into shared lib non-allocated reloc sections. + + 2002-10-23 Nathan Tallent <eraxxon@alumni.rice.edu> + * dwarf2.c (add_line_info): Ensure that the line_info_table is + sorted even when given an out-of-order line sequence. + (lookup_address_in_line_info_table): When an exact VMA match is + not found, return line information with the closest VMA. + + 2002-10-21 Alan Modra <amodra@bigpond.net.au> + * targets.c (bfd_target_list): Don't return the default target twice. + + 2002-10-19 H.J. Lu <hjl@gnu.org> + * elflink.h (elf_link_add_object_symbols): Correctly handle + DT_RPATH and DT_RUNPATH. + + 2002-10-16 Jakub Jelinek <jakub@redhat.com> + * config.bfd (s390-*-linux*): Add targ64_selvecs. + (s390x-*-linux*): Add targ_selvecs. + + 2002-10-16 Alan Modra <amodra@bigpond.net.au> + * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects + loaded with --just-symbols. + + * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define. + + 2002-10-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> + * config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative + endian vector to targ_selvecs. + + 2002-10-08 H.J. Lu <hjl@gnu.org> + * elf32-i386.c (elf_i386_relocate_section): Re-arrange the + IE->LE transition for R_386_TLS_IE. + + 2002-10-07 Mark Elbrecht <snowball3@softhome.net> + * cofflink.c (mark_relocs): Don't mark relocations in excluded + sections. + + 2002-10-05 Alexandre Oliva <aoliva@redhat.com> + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type + of the other two relocations packed with a REL32 to NONE. + + 2002-10-02 Stephen Clarke <stephen.clarke@superh.com> + * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount. + (sh_elf_link_hash_newfunc): Initialize it. + (allocate_dynrelocs): Transfer gotplt refs from plt.refcount + to got.refcount for symbols that are forced local or when + we have direct got refs. + (sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it + to correctly adjust got.refcount and plt.refcount. + (sh_elf_copy_indirect_symbol): Copy gotplt_refcount across. + (sh_elf_check_relocs): Increment gotplt_refcount. + + 2002-10-01 Jakub Jelinek <jakub@redhat.com> + * elf32-i386.c (elf_i386_relocate_section): Fix + movl foo@indntpoff, %eax IE->LE transition. + + 2002-09-28 Jason Thorpe <thorpej@wasabisystems.com> + * elf32-vax.c (elf_vax_size_dynamic_section): Don't strip + .got sections. + + 2002-09-27 Matt Thomas <matt@3am-software.com> + * elf32-vax.c (elf_vax_check_relocs): Remove unused + local_got_refcounts usage. Remove allocation of got slot. + (elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage. + Remove de-allocation of got slot. + (elf_vax_size_dynamic_section): Fix some indentation. Add hash + traversal for elf_vax_instantiate_got_entries. Allow empty .got + sections to be GC'ed. + (elf_vax_instantiate_got_entries): New function. + (elf_vax_relocate_section): Simplify R_VAX_GOT32 handling. Remove + tests that are now handled by elf_vax_instantiate_got_entries. + Assert GOT entry falls within .got section size. Remove redundant + comparisions. Fix comments. + + 2002-09-24 Jakub Jelinek <jakub@redhat.com> + * elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE + addend into r_addend, not *r_offset. + (elf32_sparc_finish_dynamic_symbol): Likewise. + * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at + R_SPARC_RELATIVE's r_offset. + + 2002-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness + mismatch. + +2002-10-14 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment + VALUE, not ADDEND. + 2002-10-11 Alan Modra <amodra@bigpond.net.au> + * coff-arm.c (record_arm_to_thumb_glue): Avoid type-punned pointers. + (record_thumb_to_arm_glue): Likewise. + * ecoff.c (ecoff_link_add_externals): Likewise. + * elf32-arm.h (record_arm_to_thumb_glue): Likewise. + (record_thumb_to_arm_glue): Likewise. + * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. + * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. + * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. + * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. + * elf64-ppc.c (func_desc_adjust): Likewise. + * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. + (sh64_elf64_create_dynamic_sections): Likewise. + * elflink.c (_bfd_elf_create_got_section): Likewise. + (_bfd_elf_create_dynamic_sections): Likewise. + (_bfd_elf_create_linker_section): Likewise. + * elflink.h (elf_add_default_symbol): Likewise. + (elf_link_create_dynamic_sections): Likewise. + (NAME(bfd_elf,size_dynamic_sections)): Likewise. + * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Likewise. + * elfxx-mips.c (mips_elf_create_got_section): Likewise. + (_bfd_mips_elf_add_symbol_hook): Likewise. + (_bfd_mips_elf_create_dynamic_sections): Likewise. + * linker.c (generic_link_add_symbol_list): Likewise. + * xcofflink.c (xcoff_link_add_symbols): Likewise. + + * elfxx-ia64.c (oor_brl, oor_ip): Conditionally define. + * elf64-ppc.c (edit_opd): Only zero opd syms when function is - completely removed. + completely removed. Correct local sym adjustment. 2002-10-08 Alan Modra <amodra@bigpond.net.au> diff --git a/contrib/binutils/bfd/Makefile.am b/contrib/binutils/bfd/Makefile.am index f56ceb0..1213897 100644 --- a/contrib/binutils/bfd/Makefile.am +++ b/contrib/binutils/bfd/Makefile.am @@ -211,7 +211,6 @@ BFD32_BACKENDS = \ elf32-i370.lo \ elf32-i386.lo \ elf32-i386-fbsd.lo \ - elf32-i386qnx.lo \ elf32-i860.lo \ elf32-i960.lo \ elf32-ia64.lo \ @@ -369,7 +368,6 @@ BFD32_BACKENDS_CFILES = \ elf32-i370.c \ elf32-i386.c \ elf32-i386-fbsd.c \ - elf32-i386qnx.c \ elf32-i860.c \ elf32-i960.c \ elf32-m32r.c \ @@ -1145,10 +1143,6 @@ elf32-i386-fbsd.lo: elf32-i386-fbsd.c elf32-i386.c $(INCDIR)/filenames.h \ $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \ $(INCDIR)/elf/reloc-macros.h elf32-target.h -elf32-i386qnx.lo: elf32-i386qnx.c elf32-i386.c $(INCDIR)/filenames.h \ - $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ - $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \ - $(INCDIR)/elf/reloc-macros.h elf32-target.h elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/reloc-macros.h \ diff --git a/contrib/binutils/bfd/Makefile.in b/contrib/binutils/bfd/Makefile.in index 6744de0..dd4ff4f 100644 --- a/contrib/binutils/bfd/Makefile.in +++ b/contrib/binutils/bfd/Makefile.in @@ -1,6 +1,6 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4 from Makefile.am -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -339,7 +339,6 @@ BFD32_BACKENDS = \ elf32-i370.lo \ elf32-i386.lo \ elf32-i386-fbsd.lo \ - elf32-i386qnx.lo \ elf32-i860.lo \ elf32-i960.lo \ elf32-ia64.lo \ @@ -498,7 +497,6 @@ BFD32_BACKENDS_CFILES = \ elf32-i370.c \ elf32-i386.c \ elf32-i386-fbsd.c \ - elf32-i386qnx.c \ elf32-i860.c \ elf32-i960.c \ elf32-m32r.c \ @@ -933,7 +931,7 @@ maintainer-clean-recursive: dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ - test "$$subdir" != "." || dot_seen=yes; \ + test "$$subdir" = "." && dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ @@ -1675,10 +1673,6 @@ elf32-i386-fbsd.lo: elf32-i386-fbsd.c elf32-i386.c $(INCDIR)/filenames.h \ $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \ $(INCDIR)/elf/reloc-macros.h elf32-target.h -elf32-i386qnx.lo: elf32-i386qnx.c elf32-i386.c $(INCDIR)/filenames.h \ - $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ - $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \ - $(INCDIR)/elf/reloc-macros.h elf32-target.h elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/reloc-macros.h \ diff --git a/contrib/binutils/bfd/aout-tic30.c b/contrib/binutils/bfd/aout-tic30.c index e3c74fa..a39a5b1 100644 --- a/contrib/binutils/bfd/aout-tic30.c +++ b/contrib/binutils/bfd/aout-tic30.c @@ -1,5 +1,5 @@ /* BFD back-end for TMS320C30 a.out binaries. - Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au) This file is part of BFD, the Binary File Descriptor library. @@ -965,6 +965,9 @@ tic30_aout_set_arch_mach (abfd, arch, machine) #ifndef MY_bfd_merge_sections #define MY_bfd_merge_sections bfd_generic_merge_sections #endif +#ifndef MY_bfd_discard_group +#define MY_bfd_discard_group bfd_generic_discard_group +#endif #ifndef MY_bfd_reloc_type_lookup #define MY_bfd_reloc_type_lookup tic30_aout_reloc_type_lookup #endif @@ -980,9 +983,15 @@ tic30_aout_set_arch_mach (abfd, arch, machine) #ifndef MY_bfd_link_hash_table_create #define MY_bfd_link_hash_table_create NAME(aout,link_hash_table_create) #endif +#ifndef MY_bfd_link_hash_table_free +#define MY_bfd_link_hash_table_free _bfd_generic_link_hash_table_free +#endif #ifndef MY_bfd_link_add_symbols #define MY_bfd_link_add_symbols NAME(aout,link_add_symbols) #endif +#ifndef MY_bfd_link_just_syms +#define MY_bfd_link_just_syms _bfd_generic_link_just_syms +#endif #ifndef MY_bfd_link_split_section #define MY_bfd_link_split_section _bfd_generic_link_split_section #endif diff --git a/contrib/binutils/bfd/aoutx.h b/contrib/binutils/bfd/aoutx.h index 83e9732..70359d6 100644 --- a/contrib/binutils/bfd/aoutx.h +++ b/contrib/binutils/bfd/aoutx.h @@ -2259,8 +2259,8 @@ NAME(aout,swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) /* now the fun stuff */ if (bfd_header_big_endian (abfd)) { - r_index = ((bytes->r_index[0] << 16) - | (bytes->r_index[1] << 8) + r_index = (((unsigned int) bytes->r_index[0] << 16) + | ((unsigned int) bytes->r_index[1] << 8) | bytes->r_index[2]); r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_BIG)); r_type = ((bytes->r_type[0] & RELOC_EXT_BITS_TYPE_BIG) @@ -2268,8 +2268,8 @@ NAME(aout,swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) } else { - r_index = ((bytes->r_index[2] << 16) - | (bytes->r_index[1] << 8) + r_index = (((unsigned int) bytes->r_index[2] << 16) + | ((unsigned int) bytes->r_index[1] << 8) | bytes->r_index[0]); r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE)); r_type = ((bytes->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE) @@ -2281,9 +2281,9 @@ NAME(aout,swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) /* Base relative relocs are always against the symbol table, regardless of the setting of r_extern. r_extern just reflects whether the symbol the reloc is against is local or global. */ - if (r_type == RELOC_BASE10 - || r_type == RELOC_BASE13 - || r_type == RELOC_BASE22) + if (r_type == (unsigned int) RELOC_BASE10 + || r_type == (unsigned int) RELOC_BASE13 + || r_type == (unsigned int) RELOC_BASE22) r_extern = 1; if (r_extern && r_index > symcount) @@ -2318,8 +2318,8 @@ NAME(aout,swap_std_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) /* now the fun stuff */ if (bfd_header_big_endian (abfd)) { - r_index = ((bytes->r_index[0] << 16) - | (bytes->r_index[1] << 8) + r_index = (((unsigned int) bytes->r_index[0] << 16) + | ((unsigned int) bytes->r_index[1] << 8) | bytes->r_index[2]); r_extern = (0 != (bytes->r_type[0] & RELOC_STD_BITS_EXTERN_BIG)); r_pcrel = (0 != (bytes->r_type[0] & RELOC_STD_BITS_PCREL_BIG)); @@ -2331,8 +2331,8 @@ NAME(aout,swap_std_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) } else { - r_index = ((bytes->r_index[2] << 16) - | (bytes->r_index[1] << 8) + r_index = (((unsigned int) bytes->r_index[2] << 16) + | ((unsigned int) bytes->r_index[1] << 8) | bytes->r_index[0]); r_extern = (0 != (bytes->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE)); r_pcrel = (0 != (bytes->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE)); @@ -3863,7 +3863,7 @@ NAME(aout,final_link) (abfd, info, callback) for (p = o->link_order_head; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order) - p->u.indirect.section->linker_mark = true; + p->u.indirect.section->linker_mark = (unsigned int) true; } } @@ -4412,7 +4412,7 @@ aout_link_write_symbols (finfo, input_bfd) characters in the symbol names, not including the file numbers in types (the first number after an open parenthesis). */ - if (type == N_BINCL) + if (type == (int) N_BINCL) { struct external_nlist *incl_sym; int nest; @@ -4426,13 +4426,13 @@ aout_link_write_symbols (finfo, input_bfd) int incl_type; incl_type = H_GET_8 (input_bfd, incl_sym->e_type); - if (incl_type == N_EINCL) + if (incl_type == (int) N_EINCL) { if (nest == 0) break; --nest; } - else if (incl_type == N_BINCL) + else if (incl_type == (int) N_BINCL) ++nest; else if (nest == 0) { @@ -4457,7 +4457,7 @@ aout_link_write_symbols (finfo, input_bfd) /* If we have already included a header file with the same value, then replace this one with an N_EXCL symbol. */ - copy = ! finfo->info->keep_memory; + copy = (boolean) (! finfo->info->keep_memory); incl_entry = aout_link_includes_lookup (&finfo->includes, name, true, copy); if (incl_entry == NULL) @@ -4485,7 +4485,7 @@ aout_link_write_symbols (finfo, input_bfd) /* This is a duplicate header file. We must change it to be an N_EXCL entry, and mark all the included symbols to prevent outputting them. */ - type = N_EXCL; + type = (int) N_EXCL; nest = 0; for (incl_sym = sym + 1, incl_map = symbol_map + 1; @@ -4495,7 +4495,7 @@ aout_link_write_symbols (finfo, input_bfd) int incl_type; incl_type = H_GET_8 (input_bfd, incl_sym->e_type); - if (incl_type == N_EINCL) + if (incl_type == (int) N_EINCL) { if (nest == 0) { @@ -4504,7 +4504,7 @@ aout_link_write_symbols (finfo, input_bfd) } --nest; } - else if (incl_type == N_BINCL) + else if (incl_type == (int) N_BINCL) ++nest; else if (nest == 0) *incl_map = -1; @@ -4859,8 +4859,8 @@ aout_link_input_section_std (finfo, input_bfd, input_section, relocs, if (bfd_header_big_endian (input_bfd)) { - r_index = ((rel->r_index[0] << 16) - | (rel->r_index[1] << 8) + r_index = (((unsigned int) rel->r_index[0] << 16) + | ((unsigned int) rel->r_index[1] << 8) | rel->r_index[2]); r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG)); r_pcrel = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_BIG)); @@ -4872,8 +4872,8 @@ aout_link_input_section_std (finfo, input_bfd, input_section, relocs, } else { - r_index = ((rel->r_index[2] << 16) - | (rel->r_index[1] << 8) + r_index = (((unsigned int) rel->r_index[2] << 16) + | ((unsigned int) rel->r_index[1] << 8) | rel->r_index[0]); r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE)); r_pcrel = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE)); @@ -5195,8 +5195,8 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, if (bfd_header_big_endian (input_bfd)) { - r_index = ((rel->r_index[0] << 16) - | (rel->r_index[1] << 8) + r_index = (((unsigned int) rel->r_index[0] << 16) + | ((unsigned int) rel->r_index[1] << 8) | rel->r_index[2]); r_extern = (0 != (rel->r_type[0] & RELOC_EXT_BITS_EXTERN_BIG)); r_type = ((rel->r_type[0] & RELOC_EXT_BITS_TYPE_BIG) @@ -5204,8 +5204,8 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, } else { - r_index = ((rel->r_index[2] << 16) - | (rel->r_index[1] << 8) + r_index = (((unsigned int) rel->r_index[2] << 16) + | ((unsigned int) rel->r_index[1] << 8) | rel->r_index[0]); r_extern = (0 != (rel->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE)); r_type = ((rel->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE) @@ -5221,16 +5221,16 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, /* We are generating a relocateable output file, and must modify the reloc accordingly. */ if (r_extern - || r_type == RELOC_BASE10 - || r_type == RELOC_BASE13 - || r_type == RELOC_BASE22) + || r_type == (unsigned int) RELOC_BASE10 + || r_type == (unsigned int) RELOC_BASE13 + || r_type == (unsigned int) RELOC_BASE22) { /* If we know the symbol this relocation is against, convert it into a relocation against a section. This is what the native linker does. */ - if (r_type == RELOC_BASE10 - || r_type == RELOC_BASE13 - || r_type == RELOC_BASE22) + if (r_type == (unsigned int) RELOC_BASE10 + || r_type == (unsigned int) RELOC_BASE13 + || r_type == (unsigned int) RELOC_BASE22) h = NULL; else h = sym_hashes[r_index]; @@ -5398,9 +5398,9 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, relocation = 0; } } - else if (r_type == RELOC_BASE10 - || r_type == RELOC_BASE13 - || r_type == RELOC_BASE22) + else if (r_type == (unsigned int) RELOC_BASE10 + || r_type == (unsigned int) RELOC_BASE13 + || r_type == (unsigned int) RELOC_BASE22) { struct external_nlist *sym; int type; @@ -5482,9 +5482,9 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, to skip this reloc. */ if (hundef && ! finfo->info->shared - && r_type != RELOC_BASE10 - && r_type != RELOC_BASE13 - && r_type != RELOC_BASE22) + && r_type != (unsigned int) RELOC_BASE10 + && r_type != (unsigned int) RELOC_BASE13 + && r_type != (unsigned int) RELOC_BASE22) { const char *name; @@ -5498,7 +5498,7 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, return false; } - if (r_type != RELOC_SPARC_REV32) + if (r_type != (unsigned int) RELOC_SPARC_REV32) r = MY_final_link_relocate (howto_table_ext + r_type, input_bfd, input_section, contents, r_addr, relocation, @@ -5527,9 +5527,9 @@ aout_link_input_section_ext (finfo, input_bfd, input_section, relocs, if (h != NULL) name = h->root.root.string; else if (r_extern - || r_type == RELOC_BASE10 - || r_type == RELOC_BASE13 - || r_type == RELOC_BASE22) + || r_type == (unsigned int) RELOC_BASE10 + || r_type == (unsigned int) RELOC_BASE13 + || r_type == (unsigned int) RELOC_BASE22) name = strings + GET_WORD (input_bfd, syms[r_index].e_strx); else @@ -5645,7 +5645,7 @@ aout_link_reloc_link_order (finfo, o, p) int r_relative; int r_length; - r_pcrel = howto->pc_relative; + r_pcrel = (int) howto->pc_relative; r_baserel = (howto->type & 8) != 0; r_jmptable = (howto->type & 16) != 0; r_relative = (howto->type & 32) != 0; diff --git a/contrib/binutils/bfd/archive.c b/contrib/binutils/bfd/archive.c index d7ac214..b051e2a 100644 --- a/contrib/binutils/bfd/archive.c +++ b/contrib/binutils/bfd/archive.c @@ -436,12 +436,12 @@ _bfd_generic_read_ar_hdr_mag (abfd, mag) spaces, so only look for ' ' if we don't find '/'. */ char *e; - e = memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd)); + e = (char *) memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd)); if (e == NULL) { - e = memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)); + e = (char *) memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)); if (e == NULL) - e = memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd)); + e = (char *) memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd)); } if (e != NULL) diff --git a/contrib/binutils/bfd/bfd-in.h b/contrib/binutils/bfd/bfd-in.h index 807a440..f0f8cfd 100644 --- a/contrib/binutils/bfd/bfd-in.h +++ b/contrib/binutils/bfd/bfd-in.h @@ -346,7 +346,7 @@ typedef struct sec *sec_ptr; #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (boolean)true), true) +#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (unsigned int)true), true) #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true) #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true) diff --git a/contrib/binutils/bfd/bfd-in2.h b/contrib/binutils/bfd/bfd-in2.h index bad4281..13aa0f9 100644 --- a/contrib/binutils/bfd/bfd-in2.h +++ b/contrib/binutils/bfd/bfd-in2.h @@ -352,7 +352,7 @@ typedef struct sec *sec_ptr; #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (boolean)true), true) +#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (unsigned int)true), true) #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true) #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true) @@ -3634,7 +3634,7 @@ extern bfd_byte *bfd_get_relocated_section_contents boolean, asymbol **)); boolean -bfd_alt_mach_code PARAMS ((bfd *abfd, int index)); +bfd_alt_mach_code PARAMS ((bfd *abfd, int alternative)); /* Extracted from archive.c. */ symindex diff --git a/contrib/binutils/bfd/bfd.c b/contrib/binutils/bfd/bfd.c index cfd7772..8037b12 100644 --- a/contrib/binutils/bfd/bfd.c +++ b/contrib/binutils/bfd/bfd.c @@ -1293,10 +1293,10 @@ bfd_record_phdr (abfd, type, flags_valid, flags, at_valid, at, m->p_type = type; m->p_flags = flags; m->p_paddr = at; - m->p_flags_valid = flags_valid; - m->p_paddr_valid = at_valid; - m->includes_filehdr = includes_filehdr; - m->includes_phdrs = includes_phdrs; + m->p_flags_valid = (unsigned int) flags_valid; + m->p_paddr_valid = (unsigned int) at_valid; + m->includes_filehdr = (unsigned int) includes_filehdr; + m->includes_phdrs = (unsigned int) includes_phdrs; m->count = count; if (count > 0) memcpy (m->sections, secs, count * sizeof (asection *)); diff --git a/contrib/binutils/bfd/binary.c b/contrib/binutils/bfd/binary.c index fc972b2..7bddabf 100644 --- a/contrib/binutils/bfd/binary.c +++ b/contrib/binutils/bfd/binary.c @@ -185,7 +185,7 @@ binary_get_symtab (abfd, alocation) syms = (asymbol *) bfd_alloc (abfd, amt); if (syms == NULL) - return false; + return (long) false; /* Start symbol. */ syms[0].the_bfd = abfd; diff --git a/contrib/binutils/bfd/coff-arm.c b/contrib/binutils/bfd/coff-arm.c index 5e7f907..25256a8 100644 --- a/contrib/binutils/bfd/coff-arm.c +++ b/contrib/binutils/bfd/coff-arm.c @@ -1881,6 +1881,7 @@ record_arm_to_thumb_glue (info, h) register asection * s; char * tmp_name; struct coff_link_hash_entry * myh; + struct bfd_link_hash_entry * bh; struct coff_arm_link_hash_table * globals; bfd_vma val; bfd_size_type amt; @@ -1915,10 +1916,10 @@ record_arm_to_thumb_glue (info, h) though the section isn't allocated yet, this is where we will be putting it. */ + bh = NULL; val = globals->arm_glue_size + 1; bfd_coff_link_add_one_symbol (info, globals->bfd_of_glue_owner, tmp_name, - BSF_GLOBAL, s, val, NULL, true, false, - (struct bfd_link_hash_entry **) & myh); + BSF_GLOBAL, s, val, NULL, true, false, &bh); free (tmp_name); @@ -1937,6 +1938,7 @@ record_thumb_to_arm_glue (info, h) register asection * s; char * tmp_name; struct coff_link_hash_entry * myh; + struct bfd_link_hash_entry * bh; struct coff_arm_link_hash_table * globals; bfd_vma val; bfd_size_type amt; @@ -1967,12 +1969,13 @@ record_thumb_to_arm_glue (info, h) return; /* we've already seen this guy */ } + bh = NULL; val = globals->thumb_glue_size + 1; bfd_coff_link_add_one_symbol (info, globals->bfd_of_glue_owner, tmp_name, - BSF_GLOBAL, s, val, NULL, true, false, - (struct bfd_link_hash_entry **) &myh); + BSF_GLOBAL, s, val, NULL, true, false, &bh); /* If we mark it 'thumb', the disassembler will do a better job. */ + myh = (struct coff_link_hash_entry *) bh; myh->class = C_THUMBEXTFUNC; free (tmp_name); @@ -1989,11 +1992,10 @@ record_thumb_to_arm_glue (info, h) sprintf (tmp_name, globals->support_old_code ? BACK_FROM_ARM : CHANGE_TO_ARM, name); - myh = NULL; + bh = NULL; val = globals->thumb_glue_size + (globals->support_old_code ? 8 : 4); bfd_coff_link_add_one_symbol (info, globals->bfd_of_glue_owner, tmp_name, - BSF_LOCAL, s, val, NULL, true, false, - (struct bfd_link_hash_entry **) & myh); + BSF_LOCAL, s, val, NULL, true, false, &bh); free (tmp_name); diff --git a/contrib/binutils/bfd/coffcode.h b/contrib/binutils/bfd/coffcode.h index 212c5c6..1c02dcb 100644 --- a/contrib/binutils/bfd/coffcode.h +++ b/contrib/binutils/bfd/coffcode.h @@ -1246,7 +1246,7 @@ Special entry points for gdb to swap in coff symbol table parts: . struct coff_link_hash_entry *, struct internal_syment *, . bfd_vma *)); . -. boolean (*_bfd_coff_adjust_symndx)\ +. boolean (*_bfd_coff_adjust_symndx) . PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, . struct internal_reloc *, boolean *)); . diff --git a/contrib/binutils/bfd/coffgen.c b/contrib/binutils/bfd/coffgen.c index ee6c8fc..21589c6 100644 --- a/contrib/binutils/bfd/coffgen.c +++ b/contrib/binutils/bfd/coffgen.c @@ -2196,7 +2196,7 @@ _bfd_coff_is_local_label_name (abfd, name) bfd *abfd ATTRIBUTE_UNUSED; const char *name; { - return name[0] == '.' && name[1] == 'L'; + return (boolean) (name[0] == '.' && name[1] == 'L'); } /* Provided a BFD, a section and an offset (in bytes, not octets) into the diff --git a/contrib/binutils/bfd/cofflink.c b/contrib/binutils/bfd/cofflink.c index eb9388f..c1302ee 100644 --- a/contrib/binutils/bfd/cofflink.c +++ b/contrib/binutils/bfd/cofflink.c @@ -1322,6 +1322,9 @@ mark_relocs (finfo, input_bfd) if ((a->flags & SEC_RELOC) == 0 || a->reloc_count < 1) continue; + /* Don't mark relocs in excluded sections. */ + if (a->output_section == bfd_abs_section_ptr) + continue; /* Read in the relocs. */ internal_relocs = _bfd_coff_read_internal_relocs diff --git a/contrib/binutils/bfd/config.bfd b/contrib/binutils/bfd/config.bfd index 184bbef..2e9d7fa 100755 --- a/contrib/binutils/bfd/config.bfd +++ b/contrib/binutils/bfd/config.bfd @@ -359,8 +359,8 @@ case "${targ}" in targ_defvec=bfd_elf32_i386_vec targ_selvecs=i386coff_vec ;; - i[3456]86-*-nto-qnx*) - targ_defvec=bfd_elf32_i386qnx_vec + i[3456]86-*-nto*) + targ_defvec=bfd_elf32_i386_vec targ_selvecs=i386coff_vec ;; i[3456]86-*-chorus*) @@ -888,10 +888,12 @@ case "${targ}" in s390-*-linux*) targ_defvec=bfd_elf32_s390_vec + targ64_selvecs=bfd_elf64_s390_vec ;; #ifdef BFD64 s390x-*-linux*) targ_defvec=bfd_elf64_s390_vec + targ_selvecs=bfd_elf32_s390_vec ;; #endif @@ -925,9 +927,11 @@ case "${targ}" in ;; sh*eb-*-linux*) targ_defvec=bfd_elf32_shblin_vec + targ_selvecs=bfd_elf32_shlin_vec ;; sh*-*-linux*) targ_defvec=bfd_elf32_shlin_vec + targ_selvecs=bfd_elf32_shblin_vec ;; #ifdef BFD64 diff --git a/contrib/binutils/bfd/config.in b/contrib/binutils/bfd/config.in index 222096e..d13d196 100644 --- a/contrib/binutils/bfd/config.in +++ b/contrib/binutils/bfd/config.in @@ -1,4 +1,4 @@ -/* config.in. Generated automatically from configure.in by autoheader. */ +/* config.in. Generated automatically from configure.in by autoheader 2.13. */ /* Define if using alloca.c. */ #undef C_ALLOCA @@ -160,15 +160,9 @@ /* Define if you have the <sys/procfs.h> header file. */ #undef HAVE_SYS_PROCFS_H -/* Define if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - /* Define if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H -/* Define if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - /* Define if you have the <time.h> header file. */ #undef HAVE_TIME_H diff --git a/contrib/binutils/bfd/configure b/contrib/binutils/bfd/configure index 6d12109..2eca955 100755 --- a/contrib/binutils/bfd/configure +++ b/contrib/binutils/bfd/configure @@ -1118,7 +1118,7 @@ fi PACKAGE=bfd -VERSION=2.13 +VERSION=2.13.1 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } @@ -6063,7 +6063,6 @@ do bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386-fbsd.lo elf32.lo $elf" ;; bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; - bfd_elf32_i386qnx_vec) tb="$tb elf32-i386qnx.lo elf32.lo $elf" ;; bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; @@ -6310,10 +6309,10 @@ case ${host64}-${target64}-${want64} in if test -n "$GCC" ; then bad_64bit_gcc=no; echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6 -echo "configure:6314: checking for gcc version with buggy 64-bit support" >&5 +echo "configure:6313: checking for gcc version with buggy 64-bit support" >&5 # Add more tests for gcc versions with non-working 64-bit support here. cat > conftest.$ac_ext <<EOF -#line 6317 "configure" +#line 6316 "configure" #include "confdefs.h" :__GNUC__:__GNUC_MINOR__:__i386__: EOF @@ -6358,17 +6357,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:6362: checking for $ac_hdr" >&5 +echo "configure:6361: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6367 "configure" +#line 6366 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -6397,12 +6396,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6401: checking for $ac_func" >&5 +echo "configure:6400: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6406 "configure" +#line 6405 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6425,7 +6424,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6450,7 +6449,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:6454: checking for working mmap" >&5 +echo "configure:6453: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6458,7 +6457,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 6462 "configure" +#line 6461 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -6598,7 +6597,7 @@ main() } EOF -if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -6623,12 +6622,12 @@ fi for ac_func in madvise mprotect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6627: checking for $ac_func" >&5 +echo "configure:6626: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6632 "configure" +#line 6631 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6651,7 +6650,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else diff --git a/contrib/binutils/bfd/configure.in b/contrib/binutils/bfd/configure.in index 22292f2..4db2520 100644 --- a/contrib/binutils/bfd/configure.in +++ b/contrib/binutils/bfd/configure.in @@ -7,7 +7,7 @@ AC_INIT(libbfd.c) AC_CANONICAL_SYSTEM AC_ISC_POSIX -AM_INIT_AUTOMAKE(bfd, 2.13) +AM_INIT_AUTOMAKE(bfd, 2.13.1) # Uncomment the next line to remove the date from the reported bfd version # is_release=y @@ -577,7 +577,6 @@ do bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386-fbsd.lo elf32.lo $elf" ;; bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; - bfd_elf32_i386qnx_vec) tb="$tb elf32-i386qnx.lo elf32.lo $elf" ;; bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; diff --git a/contrib/binutils/bfd/doc/Makefile.in b/contrib/binutils/bfd/doc/Makefile.in index 8daf537..f35cc9a 100644 --- a/contrib/binutils/bfd/doc/Makefile.in +++ b/contrib/binutils/bfd/doc/Makefile.in @@ -1,6 +1,6 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4 from Makefile.am -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -330,7 +330,7 @@ uninstall-info: else ii=; fi; \ list='$(INFO_DEPS)'; \ for file in $$list; do \ - test -z "$$ii" \ + test -z "$ii" \ || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ done @$(NORMAL_UNINSTALL) diff --git a/contrib/binutils/bfd/doc/bfdt.texi b/contrib/binutils/bfd/doc/bfdt.texi index a6e0ad9..46bb61a 100644 --- a/contrib/binutils/bfd/doc/bfdt.texi +++ b/contrib/binutils/bfd/doc/bfdt.texi @@ -104,6 +104,9 @@ struct _bfd /* Symbol table for output BFD (with symcount entries). */ struct symbol_cache_entry **outsymbols; + /* Used for slurped dynamic symbol tables. */ + unsigned int dynsymcount; + /* Pointer to structure which contains architecture information. */ const struct bfd_arch_info *arch_info; @@ -661,12 +664,12 @@ extern bfd_byte *bfd_get_relocated_section_contents @subsubsection @code{bfd_alt_mach_code} @strong{Synopsis} @example -boolean bfd_alt_mach_code(bfd *abfd, int index); +boolean bfd_alt_mach_code(bfd *abfd, int alternative); @end example @strong{Description}@* When more than one machine code number is available for the same machine type, this function can be used to switch between -the preferred one (index == 0) and any others. Currently, +the preferred one (alternative == 0) and any others. Currently, only ELF supports this feature, with up to two alternate machine codes. diff --git a/contrib/binutils/bfd/doc/coffcode.texi b/contrib/binutils/bfd/doc/coffcode.texi index e7c9d77..473747e 100644 --- a/contrib/binutils/bfd/doc/coffcode.texi +++ b/contrib/binutils/bfd/doc/coffcode.texi @@ -398,7 +398,7 @@ typedef struct struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *)); - boolean (*_bfd_coff_adjust_symndx)\ + boolean (*_bfd_coff_adjust_symndx) PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, struct internal_reloc *, boolean *)); diff --git a/contrib/binutils/bfd/doc/reloc.texi b/contrib/binutils/bfd/doc/reloc.texi index 456fc29..1ebd430 100644 --- a/contrib/binutils/bfd/doc/reloc.texi +++ b/contrib/binutils/bfd/doc/reloc.texi @@ -804,6 +804,9 @@ MIPS ELF relocations. @deffnx {} BFD_RELOC_386_RELATIVE @deffnx {} BFD_RELOC_386_GOTOFF @deffnx {} BFD_RELOC_386_GOTPC +@deffnx {} BFD_RELOC_386_TLS_TPOFF +@deffnx {} BFD_RELOC_386_TLS_IE +@deffnx {} BFD_RELOC_386_TLS_GOTIE @deffnx {} BFD_RELOC_386_TLS_LE @deffnx {} BFD_RELOC_386_TLS_GD @deffnx {} BFD_RELOC_386_TLS_LDM diff --git a/contrib/binutils/bfd/dwarf2.c b/contrib/binutils/bfd/dwarf2.c index 5aadadd..0639826 100644 --- a/contrib/binutils/bfd/dwarf2.c +++ b/contrib/binutils/bfd/dwarf2.c @@ -402,7 +402,7 @@ read_indirect_string (unit, buf, bytes_read_ptr) return NULL; } - buf = stash->dwarf_str_buffer + offset; + buf = stash->dwarf_str_buffer + offset; if (*buf == '\0') return NULL; return buf; @@ -578,7 +578,8 @@ read_abbrevs (abfd, offset, stash) /* Read in abbrev header. */ cur_abbrev->number = abbrev_number; - cur_abbrev->tag = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); + cur_abbrev->tag = (enum dwarf_tag) + read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); abbrev_ptr += bytes_read; cur_abbrev->has_children = read_1_byte (abfd, abbrev_ptr); abbrev_ptr += 1; @@ -601,8 +602,10 @@ read_abbrevs (abfd, offset, stash) return 0; } - cur_abbrev->attrs[cur_abbrev->num_attrs].name = abbrev_name; - cur_abbrev->attrs[cur_abbrev->num_attrs++].form = abbrev_form; + cur_abbrev->attrs[cur_abbrev->num_attrs].name + = (enum dwarf_attribute) abbrev_name; + cur_abbrev->attrs[cur_abbrev->num_attrs++].form + = (enum dwarf_form) abbrev_form; abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); abbrev_ptr += bytes_read; abbrev_form = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); @@ -614,7 +617,7 @@ read_abbrevs (abfd, offset, stash) abbrevs[hash_number] = cur_abbrev; /* Get next abbreviation. - Under Irix6 the abbreviations for a compilation unit are not + Under Irix6 the abbreviations for a compilation unit are not always properly terminated with an abbrev number of 0. Exit loop if we encounter an abbreviation which we have already read (which means we are about to read the abbreviations @@ -646,7 +649,7 @@ read_attribute_value (attr, form, unit, info_ptr) struct dwarf_block *blk; bfd_size_type amt; - attr->form = form; + attr->form = (enum dwarf_form) form; switch (form) { @@ -806,7 +809,8 @@ struct line_info_table char* comp_dir; char** dirs; struct fileinfo* files; - struct line_info* last_line; + struct line_info* last_line; /* largest VMA */ + struct line_info* lcl_head; /* local head; used in 'add_line_info' */ }; struct funcinfo @@ -817,6 +821,11 @@ struct funcinfo bfd_vma high; }; +/* add_line_info: adds a new entry to the line_info list in the + line_info_table, ensuring that the list is sorted. Note that the + line_info list is sorted from highest to lowest VMA (with possible + duplicates); that is, line_info->prev_line always accesses an equal + or smaller VMA. */ static void add_line_info (table, address, filename, line, column, end_sequence) struct line_info_table* table; @@ -829,9 +838,72 @@ add_line_info (table, address, filename, line, column, end_sequence) bfd_size_type amt = sizeof (struct line_info); struct line_info* info = (struct line_info*) bfd_alloc (table->abfd, amt); - info->prev_line = table->last_line; - table->last_line = info; + /* Find the correct location for 'info'. Normally we will receive + new line_info data 1) in order and 2) with increasing VMAs. + However some compilers break the rules (cf. decode_line_info) and + so we include some heuristics for quickly finding the correct + location for 'info'. In particular, these heuristics optimize for + the common case in which the VMA sequence that we receive is a + list of locally sorted VMAs such as + p...z a...j (where a < j < p < z) + Note: table->lcl_head is used to head an *actual* or *possible* + sequence within the list (such as a...j) that is not directly + headed by table->last_line + + Note: we may receive duplicate entries from 'decode_line_info'. */ + + while (1) + if (!table->last_line + || address >= table->last_line->address) + { + /* Normal case: add 'info' to the beginning of the list */ + info->prev_line = table->last_line; + table->last_line = info; + + /* lcl_head: initialize to head a *possible* sequence at the end. */ + if (!table->lcl_head) + table->lcl_head = info; + break; + } + else if (!table->lcl_head->prev_line + && table->lcl_head->address > address) + { + /* Abnormal but easy: lcl_head is 1) at the *end* of the line + list and 2) the head of 'info'. */ + info->prev_line = NULL; + table->lcl_head->prev_line = info; + break; + } + else if (table->lcl_head->prev_line + && table->lcl_head->address > address + && address >= table->lcl_head->prev_line->address) + { + /* Abnormal but easy: lcl_head is 1) in the *middle* of the line + list and 2) the head of 'info'. */ + info->prev_line = table->lcl_head->prev_line; + table->lcl_head->prev_line = info; + break; + } + else + { + /* Abnormal and hard: Neither 'last_line' nor 'lcl_head' are valid + heads for 'info'. Reset 'lcl_head' and repeat. */ + struct line_info* li2 = table->last_line; /* always non-NULL */ + struct line_info* li1 = li2->prev_line; + + while (li1) + { + if (li2->address > address && address >= li1->address) + break; + + li2 = li1; /* always non-NULL */ + li1 = li1->prev_line; + } + table->lcl_head = li2; + } + + /* Set member data of 'info'. */ info->address = address; info->filename = filename; info->line = line; @@ -908,7 +980,8 @@ arange_add (unit, low_pc, high_pc) } /* Need to allocate a new arange and insert it into the arange list. */ - arange = bfd_zalloc (unit->abfd, (bfd_size_type) sizeof (*arange)); + arange = (struct arange *) + bfd_zalloc (unit->abfd, (bfd_size_type) sizeof (*arange)); arange->low = low_pc; arange->high = high_pc; @@ -982,6 +1055,7 @@ decode_line_info (unit, stash) table->files = NULL; table->last_line = NULL; + table->lcl_head = NULL; line_ptr = stash->dwarf_line_buffer + unit->line_offset; @@ -1091,10 +1165,10 @@ decode_line_info (unit, stash) int basic_block = 0; int end_sequence = 0; /* eraxxon@alumni.rice.edu: Against the DWARF2 specs, some - compilers generate address sequences that are wildly out of - order using DW_LNE_set_address (e.g. Intel C++ 6.0 compiler - for ia64-Linux). Thus, to determine the low and high - address, we must compare on every DW_LNS_copy, etc. */ + compilers generate address sequences that are wildly out of + order using DW_LNE_set_address (e.g. Intel C++ 6.0 compiler + for ia64-Linux). Thus, to determine the low and high + address, we must compare on every DW_LNS_copy, etc. */ bfd_vma low_pc = 0; bfd_vma high_pc = 0; @@ -1133,12 +1207,11 @@ decode_line_info (unit, stash) end_sequence = 1; add_line_info (table, address, filename, line, column, end_sequence); - arange_add (unit, low_pc, high_pc); if (low_pc == 0 || address < low_pc) low_pc = address; if (address > high_pc) high_pc = address; - arange_add (unit, low_pc, address); + arange_add (unit, low_pc, high_pc); break; case DW_LNE_set_address: address = read_address (unit, line_ptr); @@ -1250,19 +1323,31 @@ lookup_address_in_line_info_table (table, addr, function, filename_ptr, const char **filename_ptr; unsigned int *linenumber_ptr; { + /* Note: table->last_line should be a descendingly sorted list. */ struct line_info* next_line = table->last_line; - struct line_info* each_line; + struct line_info* each_line = NULL; + *filename_ptr = NULL; if (!next_line) return false; each_line = next_line->prev_line; + /* Check for large addresses */ + if (addr > next_line->address) + each_line = NULL; /* ensure we skip over the normal case */ + + /* Normal case: search the list; save */ while (each_line && next_line) { - if (!each_line->end_sequence - && addr >= each_line->address && addr < next_line->address) + /* If we have an address match, save this info. This allows us + to return as good as results as possible for strange debugging + info. */ + boolean addr_match = false; + if (each_line->address <= addr && addr <= next_line->address) { + addr_match = true; + /* If this line appears to span functions, and addr is in the later function, return the first line of that function instead of the last line of the earlier one. This check is for GCC @@ -1279,16 +1364,22 @@ lookup_address_in_line_info_table (table, addr, function, filename_ptr, *filename_ptr = each_line->filename; *linenumber_ptr = each_line->line; } - return true; } + + if (addr_match && !each_line->end_sequence) + return true; /* we have definitely found what we want */ + next_line = each_line; each_line = each_line->prev_line; } - /* At this point each_line is NULL but next_line is not. If we found the - containing function in this compilation unit, return the first line we - have a number for. This is also for compatibility with GCC 2.95. */ - if (function != NULL) + /* At this point each_line is NULL but next_line is not. If we found + a candidate end-of-sequence point in the loop above, we can return + that (compatibility with a bug in the Intel compiler); otherwise, + assuming that we found the containing function for this address in + this compilation unit, return the first line we have a number for + (compatibility with GCC 2.95). */ + if (*filename_ptr == NULL && function != NULL) { *filename_ptr = next_line->filename; *linenumber_ptr = next_line->line; @@ -1646,18 +1737,18 @@ comp_unit_contains_address (unit, addr) struct arange *arange; if (unit->error) - return 0; + return false; arange = &unit->arange; do { if (addr >= arange->low && addr < arange->high) - return 1; + return true; arange = arange->next; } while (arange); - return 0; + return false; } /* If UNIT contains ADDR, set the output parameters to the values for @@ -1702,7 +1793,7 @@ comp_unit_find_nearest_line (unit, addr, filename_ptr, functionname_ptr, } if (unit->first_child_die_ptr < unit->end_ptr - && ! scan_unit_for_functions (unit)) + && ! scan_unit_for_functions (unit)) { unit->error = 1; return false; @@ -1715,7 +1806,7 @@ comp_unit_find_nearest_line (unit, addr, filename_ptr, functionname_ptr, line_p = lookup_address_in_line_info_table (unit->line_table, addr, function, filename_ptr, linenumber_ptr); - return line_p || func_p; + return (boolean) (line_p || func_p); } /* Locate a section in a BFD containing debugging info. The search starts @@ -1822,7 +1913,7 @@ _bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset, return false; /* There can be more than one DWARF2 info section in a BFD these days. - Read them all in and produce one large stash. We do this in two + Read them all in and produce one large stash. We do this in two passes - in the first pass we just accumulate the section sizes. In the second pass we read in the section's contents. The allows us to avoid reallocing the data as we add sections to the stash. */ @@ -1918,7 +2009,7 @@ _bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset, stash->info_ptr += addr_size; if (length > 0) - { + { each = parse_comp_unit (abfd, stash, length, offset_size); stash->info_ptr += length; diff --git a/contrib/binutils/bfd/ecoff.c b/contrib/binutils/bfd/ecoff.c index c8c56f8..ed10850 100644 --- a/contrib/binutils/bfd/ecoff.c +++ b/contrib/binutils/bfd/ecoff.c @@ -3837,7 +3837,7 @@ ecoff_link_add_externals (abfd, info, external_ext, ssext) = backend->debug_swap.swap_ext_in; bfd_size_type external_ext_size = backend->debug_swap.external_ext_size; unsigned long ext_count; - struct ecoff_link_hash_entry **sym_hash; + struct bfd_link_hash_entry **sym_hash; char *ext_ptr; char *ext_end; bfd_size_type amt; @@ -3846,10 +3846,10 @@ ecoff_link_add_externals (abfd, info, external_ext, ssext) amt = ext_count; amt *= sizeof (struct bfd_link_hash_entry *); - sym_hash = (struct ecoff_link_hash_entry **) bfd_alloc (abfd, amt); + sym_hash = (struct bfd_link_hash_entry **) bfd_alloc (abfd, amt); if (!sym_hash) return false; - ecoff_data (abfd)->sym_hashes = sym_hash; + ecoff_data (abfd)->sym_hashes = (struct ecoff_link_hash_entry **) sym_hash; ext_ptr = (char *) external_ext; ext_end = ext_ptr + ext_count * external_ext_size; @@ -3980,15 +3980,13 @@ ecoff_link_add_externals (abfd, info, external_ext, ssext) name = ssext + esym.asym.iss; - h = NULL; if (! (_bfd_generic_link_add_one_symbol (info, abfd, name, (flagword) (esym.weakext ? BSF_WEAK : BSF_GLOBAL), - section, value, (const char *) NULL, true, true, - (struct bfd_link_hash_entry **) &h))) + section, value, (const char *) NULL, true, true, sym_hash))) return false; - *sym_hash = h; + h = (struct ecoff_link_hash_entry *) *sym_hash; /* If we are building an ECOFF hash table, save the external symbol information. */ diff --git a/contrib/binutils/bfd/elf-bfd.h b/contrib/binutils/bfd/elf-bfd.h index 4c7e2f6..9417623 100644 --- a/contrib/binutils/bfd/elf-bfd.h +++ b/contrib/binutils/bfd/elf-bfd.h @@ -770,22 +770,6 @@ struct elf_backend_data boolean (*elf_backend_write_section) PARAMS ((bfd *, asection *, bfd_byte *)); - /* This function, if defined, sets up the file positions for non PT_LOAD - segments, especially for segments containing non-allocated sections. */ - void (*set_nonloadable_filepos) - PARAMS ((bfd *, Elf_Internal_Phdr *)); - - /* This function, if defined, returns true if the section is contained - within the segment. File positions are compared. */ - boolean (*is_contained_by_filepos) - PARAMS ((asection *, Elf_Internal_Phdr *)); - - /* This function, if defined, returns true if copy_private_bfd_data - should be called. It provides a way of overriding default - test conditions in _bfd_elf_copy_private_section_data. */ - boolean (*copy_private_bfd_data_p) - PARAMS ((bfd *, asection *, bfd *, asection *)); - /* The level of IRIX compatibility we're striving for. MIPS ELF specific function. */ irix_compat_t (*elf_backend_mips_irix_compat) diff --git a/contrib/binutils/bfd/elf-eh-frame.c b/contrib/binutils/bfd/elf-eh-frame.c index 713dc8f..62226c5 100644 --- a/contrib/binutils/bfd/elf-eh-frame.c +++ b/contrib/binutils/bfd/elf-eh-frame.c @@ -414,7 +414,7 @@ _bfd_elf_discard_section_eh_frame (abfd, info, sec, ehdrsec, /* 64-bit .eh_frame is not supported. */ goto free_no_table; buf += 4; - if ((buf - ehbuf) + hdr.length > sec->_raw_size) + if ((bfd_size_type) (buf - ehbuf) + hdr.length > sec->_raw_size) /* CIE/FDE not contained fully in this .eh_frame input section. */ goto free_no_table; diff --git a/contrib/binutils/bfd/elf32-arm.h b/contrib/binutils/bfd/elf32-arm.h index f41b843..bb193ab 100644 --- a/contrib/binutils/bfd/elf32-arm.h +++ b/contrib/binutils/bfd/elf32-arm.h @@ -423,6 +423,7 @@ record_arm_to_thumb_glue (link_info, h) asection * s; char * tmp_name; struct elf_link_hash_entry * myh; + struct bfd_link_hash_entry * bh; struct elf32_arm_link_hash_table * globals; bfd_vma val; @@ -456,11 +457,11 @@ record_arm_to_thumb_glue (link_info, h) /* The only trick here is using hash_table->arm_glue_size as the value. Even though the section isn't allocated yet, this is where we will be putting it. */ + bh = NULL; val = globals->arm_glue_size + 1; _bfd_generic_link_add_one_symbol (link_info, globals->bfd_of_glue_owner, tmp_name, BSF_GLOBAL, s, val, - NULL, true, false, - (struct bfd_link_hash_entry **) &myh); + NULL, true, false, &bh); free (tmp_name); @@ -478,6 +479,7 @@ record_thumb_to_arm_glue (link_info, h) asection *s; char *tmp_name; struct elf_link_hash_entry *myh; + struct bfd_link_hash_entry *bh; struct elf32_arm_link_hash_table *hash_table; char bind; bfd_vma val; @@ -509,13 +511,14 @@ record_thumb_to_arm_glue (link_info, h) return; } + bh = NULL; val = hash_table->thumb_glue_size + 1; _bfd_generic_link_add_one_symbol (link_info, hash_table->bfd_of_glue_owner, tmp_name, BSF_GLOBAL, s, val, - NULL, true, false, - (struct bfd_link_hash_entry **) &myh); + NULL, true, false, &bh); /* If we mark it 'Thumb', the disassembler will do a better job. */ + myh = (struct elf_link_hash_entry *) bh; bind = ELF_ST_BIND (myh->type); myh->type = ELF_ST_INFO (bind, STT_ARM_TFUNC); @@ -532,13 +535,11 @@ record_thumb_to_arm_glue (link_info, h) sprintf (tmp_name, CHANGE_TO_ARM, name); - myh = NULL; - + bh = NULL; val = hash_table->thumb_glue_size + 4, _bfd_generic_link_add_one_symbol (link_info, hash_table->bfd_of_glue_owner, tmp_name, BSF_LOCAL, s, val, - NULL, true, false, - (struct bfd_link_hash_entry **) &myh); + NULL, true, false, &bh); free (tmp_name); diff --git a/contrib/binutils/bfd/elf32-s390.c b/contrib/binutils/bfd/elf32-s390.c index ed5f3f0..b7e2189 100644 --- a/contrib/binutils/bfd/elf32-s390.c +++ b/contrib/binutils/bfd/elf32-s390.c @@ -40,12 +40,13 @@ static boolean create_got_section static boolean elf_s390_create_dynamic_sections PARAMS((bfd *, struct bfd_link_info *)); static void elf_s390_copy_indirect_symbol - PARAMS ((struct elf_link_hash_entry *, struct elf_link_hash_entry *)); + PARAMS ((struct elf_backend_data *, struct elf_link_hash_entry *, + struct elf_link_hash_entry *)); static boolean elf_s390_check_relocs PARAMS ((bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *)); static asection *elf_s390_gc_mark_hook - PARAMS ((bfd *, struct bfd_link_info *, Elf_Internal_Rela *, + PARAMS ((asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym *)); static boolean elf_s390_gc_sweep_hook PARAMS ((bfd *, struct bfd_link_info *, asection *, @@ -478,13 +479,13 @@ elf_s390_link_hash_table_create (abfd) struct elf_s390_link_hash_table *ret; bfd_size_type amt = sizeof (struct elf_s390_link_hash_table); - ret = (struct elf_s390_link_hash_table *) bfd_alloc (abfd, amt); + ret = (struct elf_s390_link_hash_table *) bfd_malloc (amt); if (ret == NULL) return NULL; if (! _bfd_elf_link_hash_table_init (&ret->elf, abfd, link_hash_newfunc)) { - bfd_release (abfd, ret); + free (ret); return NULL; } @@ -564,7 +565,8 @@ elf_s390_create_dynamic_sections (dynobj, info) /* Copy the extra info we tack onto an elf_link_hash_entry. */ static void -elf_s390_copy_indirect_symbol (dir, ind) +elf_s390_copy_indirect_symbol (bed, dir, ind) + struct elf_backend_data *bed; struct elf_link_hash_entry *dir, *ind; { struct elf_s390_link_hash_entry *edir, *eind; @@ -606,7 +608,7 @@ elf_s390_copy_indirect_symbol (dir, ind) eind->dyn_relocs = NULL; } - _bfd_elf_link_hash_copy_indirect (dir, ind); + _bfd_elf_link_hash_copy_indirect (bed, dir, ind); } /* Look through the relocs for a section during the first phase, and @@ -903,8 +905,8 @@ elf_s390_check_relocs (abfd, info, sec, relocs) relocation. */ static asection * -elf_s390_gc_mark_hook (abfd, info, rel, h, sym) - bfd *abfd; +elf_s390_gc_mark_hook (sec, info, rel, h, sym) + asection *sec; struct bfd_link_info *info ATTRIBUTE_UNUSED; Elf_Internal_Rela *rel; struct elf_link_hash_entry *h; @@ -934,9 +936,7 @@ elf_s390_gc_mark_hook (abfd, info, rel, h, sym) } } else - { - return bfd_section_from_elf_index (abfd, sym->st_shndx); - } + return bfd_section_from_elf_index (sec->owner, sym->st_shndx); return NULL; } @@ -1064,7 +1064,7 @@ elf_s390_adjust_dynamic_symbol (info, h) /* If this is a function, put it in the procedure linkage table. We will fill in the contents of the procedure linkage table later - (although we could actually do it here). */ + (although we could actually do it here). */ if (h->type == STT_FUNC || (h->elf_link_hash_flags & ELF_LINK_HASH_NEEDS_PLT) != 0) { @@ -1973,9 +1973,11 @@ elf_s390_relocate_section (output_bfd, info, input_bfd, input_section, break; } + /* Dynamic relocs are not propagated for SEC_DEBUGGING sections + because such sections are not SEC_ALLOC and thus ld.so will + not process them. */ if (unresolved_reloc - && !(info->shared - && (input_section->flags & SEC_DEBUGGING) != 0 + && !((input_section->flags & SEC_DEBUGGING) != 0 && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC) != 0)) (*_bfd_error_handler) (_("%s(%s+0x%lx): unresolvable relocation against symbol `%s'"), diff --git a/contrib/binutils/bfd/elf32-sparc.c b/contrib/binutils/bfd/elf32-sparc.c index 38200dc..b6cf7eb 100644 --- a/contrib/binutils/bfd/elf32-sparc.c +++ b/contrib/binutils/bfd/elf32-sparc.c @@ -1298,7 +1298,6 @@ elf32_sparc_relocate_section (output_bfd, info, input_bfd, input_section, off &= ~1; else { - bfd_put_32 (output_bfd, relocation, sgot->contents + off); if (info->shared) { @@ -1314,7 +1313,8 @@ elf32_sparc_relocate_section (output_bfd, info, input_bfd, input_section, + sgot->output_offset + off); outrel.r_info = ELF32_R_INFO (0, R_SPARC_RELATIVE); - outrel.r_addend = 0; + outrel.r_addend = relocation; + relocation = 0; bfd_elf32_swap_reloca_out (output_bfd, &outrel, (((Elf32_External_Rela *) srelgot->contents) @@ -1322,6 +1322,7 @@ elf32_sparc_relocate_section (output_bfd, info, input_bfd, input_section, ++srelgot->reloc_count; } + bfd_put_32 (output_bfd, relocation, sgot->contents + off); local_got_offsets[r_symndx] |= 1; } } @@ -1827,14 +1828,21 @@ elf32_sparc_finish_dynamic_symbol (output_bfd, info, h, sym) if (info->shared && (info->symbolic || h->dynindx == -1) && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR)) - rela.r_info = ELF32_R_INFO (0, R_SPARC_RELATIVE); + { + asection *sec = h->root.u.def.section; + rela.r_info = ELF32_R_INFO (0, R_SPARC_RELATIVE); + rela.r_addend = (h->root.u.def.value + + sec->output_section->vma + + sec->output_offset); + } else { - bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset); rela.r_info = ELF32_R_INFO (h->dynindx, R_SPARC_GLOB_DAT); + rela.r_addend = 0; } - rela.r_addend = 0; + bfd_put_32 (output_bfd, (bfd_vma) 0, + sgot->contents + (h->got.offset &~ (bfd_vma) 1)); bfd_elf32_swap_reloca_out (output_bfd, &rela, ((Elf32_External_Rela *) srela->contents + srela->reloc_count)); diff --git a/contrib/binutils/bfd/elf32-v850.c b/contrib/binutils/bfd/elf32-v850.c index ae0a0c4..6762190 100644 --- a/contrib/binutils/bfd/elf32-v850.c +++ b/contrib/binutils/bfd/elf32-v850.c @@ -1,5 +1,5 @@ /* V850-specific support for 32-bit ELF - Copyright 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -79,12 +79,12 @@ static boolean v850_elf_link_output_symbol_hook PARAMS ((bfd *, struct bfd_link_info *, const char *, Elf_Internal_Sym *, asection *)); static boolean v850_elf_section_from_shdr - PARAMS ((bfd *, Elf_Internal_Shdr *, char *)); + PARAMS ((bfd *, Elf_Internal_Shdr *, const char *)); static boolean v850_elf_gc_sweep_hook PARAMS ((bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *)); static asection * v850_elf_gc_mark_hook - PARAMS ((bfd *, struct bfd_link_info *, + PARAMS ((asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym *)); @@ -1322,7 +1322,7 @@ v850_elf_reloc (abfd, reloc, symbol, data, isection, obfd, err) nop foo: nop */ - if (reloc->howto->pc_relative == true) + if (reloc->howto->pc_relative) { /* Here the variable relocation holds the final address of the symbol we are relocating against, plus any addend. */ @@ -1740,8 +1740,8 @@ v850_elf_gc_sweep_hook (abfd, info, sec, relocs) } static asection * -v850_elf_gc_mark_hook (abfd, info, rel, h, sym) - bfd *abfd; +v850_elf_gc_mark_hook (sec, info, rel, h, sym) + asection *sec; struct bfd_link_info *info ATTRIBUTE_UNUSED; Elf_Internal_Rela *rel; struct elf_link_hash_entry *h; @@ -1771,9 +1771,7 @@ v850_elf_gc_mark_hook (abfd, info, rel, h, sym) } } else - { - return bfd_section_from_elf_index (abfd, sym->st_shndx); - } + return bfd_section_from_elf_index (sec->owner, sym->st_shndx); return NULL; } @@ -2135,7 +2133,7 @@ static boolean v850_elf_section_from_shdr (abfd, hdr, name) bfd * abfd; Elf_Internal_Shdr * hdr; - char * name; + const char * name; { /* There ought to be a place to keep ELF backend specific flags, but at the moment there isn't one. We just keep track of the diff --git a/contrib/binutils/bfd/elf64-ppc.c b/contrib/binutils/bfd/elf64-ppc.c index e431c14..c512636 100644 --- a/contrib/binutils/bfd/elf64-ppc.c +++ b/contrib/binutils/bfd/elf64-ppc.c @@ -1661,6 +1661,7 @@ ppc64_elf_merge_private_bfd_data (ibfd, obfd) { /* Check if we have the same endianess. */ if (ibfd->xvec->byteorder != obfd->xvec->byteorder + && ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN && obfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN) { const char *msg; @@ -1788,19 +1789,19 @@ struct ppc_dyn_relocs ppc_stub_plt_branch: Similar to the above, but a 24 bit branch in the stub section won't reach its destination. - . addis %r12,%r2,xxx@ha - . ld %r11,xxx@l(%r12) + . addis %r12,%r2,xxx@toc@ha + . ld %r11,xxx@toc@l(%r12) . mtctr %r11 . bctr ppc_stub_plt_call: Used to call a function in a shared library. - . addis %r12,%r2,xxx@ha + . addis %r12,%r2,xxx@toc@ha . std %r2,40(%r1) - . ld %r11,xxx+0@l(%r12) - . ld %r2,xxx+8@l(%r12) + . ld %r11,xxx+0@toc@l(%r12) + . ld %r2,xxx+8@toc@l(%r12) . mtctr %r11 - . ld %r11,xxx+16@l(%r12) + . ld %r11,xxx+16@toc@l(%r12) . bctr */ @@ -3169,6 +3170,7 @@ func_desc_adjust (h, inf) { bfd *abfd; asymbol *newsym; + struct bfd_link_hash_entry *bh; abfd = h->root.u.undef.abfd; newsym = bfd_make_empty_symbol (abfd); @@ -3179,13 +3181,14 @@ func_desc_adjust (h, inf) if (h->root.type == bfd_link_hash_undefweak) newsym->flags |= BSF_WEAK; + bh = &fdh->root; if ( !(_bfd_generic_link_add_one_symbol (info, abfd, newsym->name, newsym->flags, - newsym->section, newsym->value, NULL, false, false, - (struct bfd_link_hash_entry **) &fdh))) + newsym->section, newsym->value, NULL, false, false, &bh))) { return false; } + fdh = (struct elf_link_hash_entry *) bh; fdh->elf_link_hash_flags &= ~ELF_LINK_NON_ELF; } @@ -3805,8 +3808,7 @@ edit_opd (obfd, info) for the function descriptor sym which we don't have at the moment. So keep an array of adjustments. */ - adjust[(rel->r_offset + wptr - rptr) / 24] - = wptr - rptr; + adjust[rel->r_offset / 24] = wptr - rptr; } if (wptr != rptr) diff --git a/contrib/binutils/bfd/elf64-s390.c b/contrib/binutils/bfd/elf64-s390.c index 40f4908..5ad1ca7 100644 --- a/contrib/binutils/bfd/elf64-s390.c +++ b/contrib/binutils/bfd/elf64-s390.c @@ -40,12 +40,13 @@ static boolean create_got_section static boolean elf_s390_create_dynamic_sections PARAMS((bfd *, struct bfd_link_info *)); static void elf_s390_copy_indirect_symbol - PARAMS ((struct elf_link_hash_entry *, struct elf_link_hash_entry *)); + PARAMS ((struct elf_backend_data *, struct elf_link_hash_entry *, + struct elf_link_hash_entry *)); static boolean elf_s390_check_relocs PARAMS ((bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *)); static asection *elf_s390_gc_mark_hook - PARAMS ((bfd *, struct bfd_link_info *, Elf_Internal_Rela *, + PARAMS ((asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym *)); static boolean elf_s390_gc_sweep_hook PARAMS ((bfd *, struct bfd_link_info *, asection *, @@ -424,13 +425,13 @@ elf_s390_link_hash_table_create (abfd) struct elf_s390_link_hash_table *ret; bfd_size_type amt = sizeof (struct elf_s390_link_hash_table); - ret = (struct elf_s390_link_hash_table *) bfd_alloc (abfd, amt); + ret = (struct elf_s390_link_hash_table *) bfd_malloc (amt); if (ret == NULL) return NULL; if (! _bfd_elf_link_hash_table_init (&ret->elf, abfd, link_hash_newfunc)) { - bfd_release (abfd, ret); + free (ret); return NULL; } @@ -471,7 +472,7 @@ create_got_section (dynobj, info) (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_READONLY)) - || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) + || ! bfd_set_section_alignment (dynobj, htab->srelgot, 3)) return false; return true; } @@ -510,7 +511,8 @@ elf_s390_create_dynamic_sections (dynobj, info) /* Copy the extra info we tack onto an elf_link_hash_entry. */ static void -elf_s390_copy_indirect_symbol (dir, ind) +elf_s390_copy_indirect_symbol (bed, dir, ind) + struct elf_backend_data *bed; struct elf_link_hash_entry *dir, *ind; { struct elf_s390_link_hash_entry *edir, *eind; @@ -552,7 +554,7 @@ elf_s390_copy_indirect_symbol (dir, ind) eind->dyn_relocs = NULL; } - _bfd_elf_link_hash_copy_indirect (dir, ind); + _bfd_elf_link_hash_copy_indirect (bed, dir, ind); } /* Look through the relocs for a section during the first phase, and @@ -776,7 +778,7 @@ elf_s390_check_relocs (abfd, info, sec, relocs) flags |= SEC_ALLOC | SEC_LOAD; if (sreloc == NULL || ! bfd_set_section_flags (dynobj, sreloc, flags) - || ! bfd_set_section_alignment (dynobj, sreloc, 2)) + || ! bfd_set_section_alignment (dynobj, sreloc, 3)) return false; } elf_section_data (sec)->sreloc = sreloc; @@ -855,8 +857,8 @@ elf_s390_check_relocs (abfd, info, sec, relocs) relocation. */ static asection * -elf_s390_gc_mark_hook (abfd, info, rel, h, sym) - bfd *abfd; +elf_s390_gc_mark_hook (sec, info, rel, h, sym) + asection *sec; struct bfd_link_info *info ATTRIBUTE_UNUSED; Elf_Internal_Rela *rel; struct elf_link_hash_entry *h; @@ -886,9 +888,7 @@ elf_s390_gc_mark_hook (abfd, info, rel, h, sym) } } else - { - return bfd_section_from_elf_index (abfd, sym->st_shndx); - } + return bfd_section_from_elf_index (sec->owner, sym->st_shndx); return NULL; } @@ -1019,7 +1019,7 @@ elf_s390_adjust_dynamic_symbol (info, h) /* If this is a function, put it in the procedure linkage table. We will fill in the contents of the procedure linkage table later - (although we could actually do it here). */ + (although we could actually do it here). */ if (h->type == STT_FUNC || (h->elf_link_hash_flags & ELF_LINK_HASH_NEEDS_PLT) != 0) { @@ -1937,9 +1937,11 @@ elf_s390_relocate_section (output_bfd, info, input_bfd, input_section, break; } + /* Dynamic relocs are not propagated for SEC_DEBUGGING sections + because such sections are not SEC_ALLOC and thus ld.so will + not process them. */ if (unresolved_reloc - && !(info->shared - && (input_section->flags & SEC_DEBUGGING) != 0 + && !((input_section->flags & SEC_DEBUGGING) != 0 && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC) != 0)) (*_bfd_error_handler) (_("%s(%s+0x%lx): unresolvable relocation against symbol `%s'"), @@ -2339,6 +2341,7 @@ const struct elf_size_info s390_elf64_size_info = bfd_elf64_write_out_phdrs, bfd_elf64_write_shdrs_and_ehdr, bfd_elf64_write_relocs, + bfd_elf64_swap_symbol_in, bfd_elf64_swap_symbol_out, bfd_elf64_slurp_reloc_table, bfd_elf64_slurp_symbol_table, diff --git a/contrib/binutils/bfd/elf64-sparc.c b/contrib/binutils/bfd/elf64-sparc.c index def93c4..a3c100d 100644 --- a/contrib/binutils/bfd/elf64-sparc.c +++ b/contrib/binutils/bfd/elf64-sparc.c @@ -1563,6 +1563,9 @@ sparc64_elf_adjust_dynamic_symbol (info, h) if (s->_raw_size == 0) s->_raw_size = PLT_HEADER_SIZE; + /* To simplify matters later, just store the plt index here. */ + h->plt.offset = s->_raw_size / PLT_ENTRY_SIZE; + /* If this symbol is not defined in a regular file, and we are not generating a shared library, then set the symbol to this location in the .plt. This is required to make function @@ -1572,12 +1575,9 @@ sparc64_elf_adjust_dynamic_symbol (info, h) && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) == 0) { h->root.u.def.section = s; - h->root.u.def.value = s->_raw_size; + h->root.u.def.value = sparc64_elf_plt_entry_offset (h->plt.offset); } - /* To simplify matters later, just store the plt index here. */ - h->plt.offset = s->_raw_size / PLT_ENTRY_SIZE; - /* Make room for this entry. */ s->_raw_size += PLT_ENTRY_SIZE; @@ -2181,11 +2181,9 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section, } else { + outrel.r_addend = relocation + rel->r_addend; if (r_type == R_SPARC_64) - { - outrel.r_info = ELF64_R_INFO (0, R_SPARC_RELATIVE); - outrel.r_addend = relocation + rel->r_addend; - } + outrel.r_info = ELF64_R_INFO (0, R_SPARC_RELATIVE); else { long indx; @@ -2215,6 +2213,13 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section, osec = sec->output_section; indx = elf_section_data (osec)->dynindx; + /* We are turning this relocation into one + against a section symbol, so subtract out + the output section's address but not the + offset of the input section in the output + section. */ + outrel.r_addend -= osec->vma; + /* FIXME: we really should be able to link non-pic shared libraries. */ if (indx == 0) @@ -2233,7 +2238,6 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section, ELF64_R_TYPE_INFO ( ELF64_R_TYPE_DATA (rel->r_info), r_type)); - outrel.r_addend = relocation + rel->r_addend; } } diff --git a/contrib/binutils/bfd/elflink.c b/contrib/binutils/bfd/elflink.c index f8cc645..d6da588 100644 --- a/contrib/binutils/bfd/elflink.c +++ b/contrib/binutils/bfd/elflink.c @@ -33,6 +33,7 @@ _bfd_elf_create_got_section (abfd, info) flagword flags; register asection *s; struct elf_link_hash_entry *h; + struct bfd_link_hash_entry *bh; struct elf_backend_data *bed = get_elf_backend_data (abfd); int ptralign; @@ -79,12 +80,13 @@ _bfd_elf_create_got_section (abfd, info) (or .got.plt) section. We don't do this in the linker script because we don't want to define the symbol if we are not creating a global offset table. */ - h = NULL; + bh = NULL; if (!(_bfd_generic_link_add_one_symbol (info, abfd, "_GLOBAL_OFFSET_TABLE_", BSF_GLOBAL, s, bed->got_symbol_offset, (const char *) NULL, false, - bed->collect, (struct bfd_link_hash_entry **) &h))) + bed->collect, &bh))) return false; + h = (struct elf_link_hash_entry *) bh; h->elf_link_hash_flags |= ELF_LINK_HASH_DEF_REGULAR; h->type = STT_OBJECT; @@ -151,13 +153,15 @@ _bfd_elf_create_dynamic_sections (abfd, info) { /* Define the symbol _PROCEDURE_LINKAGE_TABLE_ at the start of the .plt section. */ - struct elf_link_hash_entry *h = NULL; + struct elf_link_hash_entry *h; + struct bfd_link_hash_entry *bh = NULL; + if (! (_bfd_generic_link_add_one_symbol (info, abfd, "_PROCEDURE_LINKAGE_TABLE_", BSF_GLOBAL, s, (bfd_vma) 0, (const char *) NULL, false, - get_elf_backend_data (abfd)->collect, - (struct bfd_link_hash_entry **) &h))) + get_elf_backend_data (abfd)->collect, &bh))) return false; + h = (struct elf_link_hash_entry *) bh; h->elf_link_hash_flags |= ELF_LINK_HASH_DEF_REGULAR; h->type = STT_OBJECT; @@ -546,29 +550,27 @@ _bfd_elf_create_linker_section (abfd, info, which, defaults) if (lsect->sym_name) { - struct elf_link_hash_entry *h = NULL; + struct elf_link_hash_entry *h; + struct bfd_link_hash_entry *bh; + #ifdef DEBUG fprintf (stderr, "Adding %s to section %s\n", lsect->sym_name, lsect->name); #endif - h = (struct elf_link_hash_entry *) - bfd_link_hash_lookup (info->hash, lsect->sym_name, false, false, false); - - if ((h == NULL || h->root.type == bfd_link_hash_undefined) - && !(_bfd_generic_link_add_one_symbol (info, - abfd, - lsect->sym_name, - BSF_GLOBAL, - s, - ((lsect->hole_size) - ? s->_raw_size - lsect->hole_size + lsect->sym_offset - : lsect->sym_offset), - (const char *) NULL, - false, - get_elf_backend_data (abfd)->collect, - (struct bfd_link_hash_entry **) &h))) - return (elf_linker_section_t *)0; + bh = bfd_link_hash_lookup (info->hash, lsect->sym_name, + false, false, false); + + if ((bh == NULL || bh->type == bfd_link_hash_undefined) + && !(_bfd_generic_link_add_one_symbol + (info, abfd, lsect->sym_name, BSF_GLOBAL, s, + (lsect->hole_size + ? s->_raw_size - lsect->hole_size + lsect->sym_offset + : lsect->sym_offset), + (const char *) NULL, false, + get_elf_backend_data (abfd)->collect, &bh))) + return (elf_linker_section_t *) 0; + h = (struct elf_link_hash_entry *) bh; if ((defaults->which != LINKER_SECTION_SDATA) && (defaults->which != LINKER_SECTION_SDATA2)) @@ -579,7 +581,7 @@ _bfd_elf_create_linker_section (abfd, info, which, defaults) if (info->shared && ! _bfd_elf_link_record_dynamic_symbol (info, h)) - return (elf_linker_section_t *)0; + return (elf_linker_section_t *) 0; } } diff --git a/contrib/binutils/bfd/elfxx-ia64.c b/contrib/binutils/bfd/elfxx-ia64.c index 5302bf6..06a279e 100644 --- a/contrib/binutils/bfd/elfxx-ia64.c +++ b/contrib/binutils/bfd/elfxx-ia64.c @@ -651,13 +651,14 @@ static const bfd_byte plt_full_entry[PLT_FULL_ENTRY_SIZE] = not support brl, and so it gets emulated by the kernel. */ #undef USE_BRL +#ifdef USE_BRL static const bfd_byte oor_brl[16] = { 0x05, 0x00, 0x00, 0x00, 0x01, 0x00, /* [MLX] nop.m 0 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* brl.sptk.few tgt;; */ 0x00, 0x00, 0x00, 0xc0 }; - +#else static const bfd_byte oor_ip[48] = { 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, /* [MLX] nop.m 0 */ @@ -670,6 +671,7 @@ static const bfd_byte oor_ip[48] = 0x60, 0x80, 0x04, 0x80, 0x03, 0x00, /* mov b6=r16 */ 0x60, 0x00, 0x80, 0x00 /* br b6;; */ }; +#endif /* These functions do relaxation for IA-64 ELF. @@ -1271,6 +1273,7 @@ elfNN_ia64_aix_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp) { struct elf_backend_data *bed; struct elfNN_ia64_link_hash_table *ia64_info; + struct bfd_link_hash_entry *bh = NULL; bed = get_elf_backend_data (abfd); ia64_info = elfNN_ia64_hash_table (info); @@ -1279,9 +1282,10 @@ elfNN_ia64_aix_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp) (info, abfd, *namep, BSF_GLOBAL, bfd_get_section_by_name (abfd, ".bss"), bed->got_symbol_offset, (const char *) NULL, false, - bed->collect, (struct bfd_link_hash_entry **) &h))) + bed->collect, &bh))) return false; + h = (struct elf_link_hash_entry *) bh; h->elf_link_hash_flags |= ELF_LINK_HASH_DEF_REGULAR; h->type = STT_OBJECT; diff --git a/contrib/binutils/bfd/elfxx-target.h b/contrib/binutils/bfd/elfxx-target.h index 481ba71..5d7efb0 100644 --- a/contrib/binutils/bfd/elfxx-target.h +++ b/contrib/binutils/bfd/elfxx-target.h @@ -385,15 +385,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef elf_backend_write_section #define elf_backend_write_section NULL #endif -#ifndef elf_backend_set_nonloadable_filepos -#define elf_backend_set_nonloadable_filepos NULL -#endif -#ifndef elf_backend_is_contained_by_filepos -#define elf_backend_is_contained_by_filepos NULL -#endif -#ifndef elf_backend_copy_private_bfd_data_p -#define elf_backend_copy_private_bfd_data_p NULL -#endif #ifndef elf_backend_mips_irix_compat #define elf_backend_mips_irix_compat NULL #endif @@ -495,9 +486,6 @@ static const struct elf_backend_data elfNN_bed = elf_backend_discard_info, elf_backend_ignore_discarded_relocs, elf_backend_write_section, - elf_backend_set_nonloadable_filepos, - elf_backend_is_contained_by_filepos, - elf_backend_copy_private_bfd_data_p, elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto, elf_backend_ecoff_debug_swap, diff --git a/contrib/binutils/bfd/format.c b/contrib/binutils/bfd/format.c index 1efa9e2..ef6b46e 100644 --- a/contrib/binutils/bfd/format.c +++ b/contrib/binutils/bfd/format.c @@ -132,7 +132,7 @@ bfd_check_format_matches (abfd, format, matching) } if (abfd->format != bfd_unknown) - return abfd->format == format; + return (boolean) (abfd->format == format); /* Since the target type was defaulted, check them all in the hope that one will be uniquely recognized. */ @@ -355,7 +355,7 @@ bfd_set_format (abfd, format) } if (abfd->format != bfd_unknown) - return abfd->format == format; + return (boolean) (abfd->format == format); /* Presume the answer is yes. */ abfd->format = format; diff --git a/contrib/binutils/bfd/gen-aout.c b/contrib/binutils/bfd/gen-aout.c index 1bba14a..b6720e8 100644 --- a/contrib/binutils/bfd/gen-aout.c +++ b/contrib/binutils/bfd/gen-aout.c @@ -21,6 +21,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "/usr/include/a.out.h" #include <stdio.h> +#ifndef _ +#define _(X) X +#endif + int main (argc, argv) int argc; char** argv; diff --git a/contrib/binutils/bfd/libbfd.c b/contrib/binutils/bfd/libbfd.c index 29170a0..f21abbc 100644 --- a/contrib/binutils/bfd/libbfd.c +++ b/contrib/binutils/bfd/libbfd.c @@ -186,9 +186,9 @@ bfd_realloc (ptr, size) } if (ptr == NULL) - ret = malloc ((size_t) size); + ret = (PTR) malloc ((size_t) size); else - ret = realloc (ptr, (size_t) size); + ret = (PTR) realloc (ptr, (size_t) size); if (ret == NULL && (size_t) size != 0) bfd_set_error (bfd_error_no_memory); @@ -562,7 +562,7 @@ bfd_bwrite (ptr, size, abfd) newsize = (bim->size + 127) & ~(bfd_size_type) 127; if (newsize > oldsize) { - bim->buffer = bfd_realloc (bim->buffer, newsize); + bim->buffer = (bfd_byte *) bfd_realloc (bim->buffer, newsize); if (bim->buffer == 0) { bim->size = 0; @@ -608,7 +608,7 @@ bfd_write_bigendian_4byte_int (abfd, i) { bfd_byte buffer[4]; bfd_putb32 ((bfd_vma) i, buffer); - return bfd_bwrite ((PTR) buffer, (bfd_size_type) 4, abfd) == 4; + return (boolean) (bfd_bwrite ((PTR) buffer, (bfd_size_type) 4, abfd) == 4); } bfd_vma @@ -706,7 +706,7 @@ bfd_seek (abfd, position, direction) newsize = (bim->size + 127) & ~(bfd_size_type) 127; if (newsize > oldsize) { - bim->buffer = bfd_realloc (bim->buffer, newsize); + bim->buffer = (bfd_byte *) bfd_realloc (bim->buffer, newsize); if (bim->buffer == 0) { bim->size = 0; @@ -1414,7 +1414,7 @@ bfd_generic_is_local_label_name (abfd, name) { char locals_prefix = (bfd_get_symbol_leading_char (abfd) == '_') ? 'L' : '.'; - return (name[0] == locals_prefix); + return (boolean) (name[0] == locals_prefix); } /* Can be used from / for bfd_merge_private_bfd_data to check that diff --git a/contrib/binutils/bfd/libcoff.h b/contrib/binutils/bfd/libcoff.h index 88b0909..ea9c570 100644 --- a/contrib/binutils/bfd/libcoff.h +++ b/contrib/binutils/bfd/libcoff.h @@ -784,7 +784,7 @@ typedef struct struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *)); - boolean (*_bfd_coff_adjust_symndx)\ + boolean (*_bfd_coff_adjust_symndx) PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, struct internal_reloc *, boolean *)); diff --git a/contrib/binutils/bfd/linker.c b/contrib/binutils/bfd/linker.c index 242f8bd..a5ded1f 100644 --- a/contrib/binutils/bfd/linker.c +++ b/contrib/binutils/bfd/linker.c @@ -449,7 +449,8 @@ _bfd_link_hash_newfunc (entry, table, string) subclass. */ if (entry == NULL) { - entry = bfd_hash_allocate (table, sizeof (struct bfd_link_hash_entry)); + entry = (struct bfd_hash_entry *) + bfd_hash_allocate (table, sizeof (struct bfd_link_hash_entry)); if (entry == NULL) return entry; } @@ -645,8 +646,8 @@ _bfd_generic_link_hash_newfunc (entry, table, string) subclass. */ if (entry == NULL) { - entry = bfd_hash_allocate (table, - sizeof (struct generic_link_hash_entry)); + entry = (struct bfd_hash_entry *) + bfd_hash_allocate (table, sizeof (struct generic_link_hash_entry)); if (entry == NULL) return entry; } @@ -1305,6 +1306,7 @@ generic_link_add_symbol_list (abfd, info, symbol_count, symbols, collect) const char *name; const char *string; struct generic_link_hash_entry *h; + struct bfd_link_hash_entry *bh; name = bfd_asymbol_name (p); if (((p->flags & BSF_INDIRECT) != 0 @@ -1326,12 +1328,12 @@ generic_link_add_symbol_list (abfd, info, symbol_count, symbols, collect) else string = NULL; - h = NULL; + bh = NULL; if (! (_bfd_generic_link_add_one_symbol (info, abfd, name, p->flags, bfd_get_section (p), - p->value, string, false, collect, - (struct bfd_link_hash_entry **) &h))) + p->value, string, false, collect, &bh))) return false; + h = (struct generic_link_hash_entry *) bh; /* If this is a constructor symbol, and the linker didn't do anything with it, then we want to just pass the symbol @@ -2018,7 +2020,7 @@ _bfd_generic_final_link (abfd, info) for (o = abfd->sections; o != NULL; o = o->next) for (p = o->link_order_head; p != NULL; p = p->next) if (p->type == bfd_indirect_link_order) - p->u.indirect.section->linker_mark = true; + p->u.indirect.section->linker_mark = (unsigned int) true; /* Build the output symbol table. */ for (sub = info->input_bfds; sub != (bfd *) NULL; sub = sub->link_next) diff --git a/contrib/binutils/bfd/merge.c b/contrib/binutils/bfd/merge.c index ce61207..9dc2e70 100644 --- a/contrib/binutils/bfd/merge.c +++ b/contrib/binutils/bfd/merge.c @@ -353,7 +353,7 @@ sec_merge_emit (abfd, entry) if (alignment_power) free (pad); - return entry == NULL || entry->secinfo != secinfo; + return (boolean) (entry == NULL || entry->secinfo != secinfo); } /* This function is called for each input file from the add_symbols @@ -667,7 +667,7 @@ merge_strings (sinfo) break; if (e->len > 4 * e->u.entsize) { - s = e->root.string + e->len - e->u.entsize; + s = (const unsigned char *) (e->root.string + e->len - e->u.entsize); hash = 0; for (i = 0; i < 4 * e->u.entsize; i++) { @@ -690,7 +690,7 @@ merge_strings (sinfo) else *p = (PTR) e; } - s = e->root.string + e->len - e->u.entsize; + s = (const unsigned char *) (e->root.string + e->len - e->u.entsize); hash = 0; for (i = 0; i < e->u.entsize; i++) { diff --git a/contrib/binutils/bfd/peicode.h b/contrib/binutils/bfd/peicode.h index 323b30d..a621acc 100644 --- a/contrib/binutils/bfd/peicode.h +++ b/contrib/binutils/bfd/peicode.h @@ -1,5 +1,5 @@ /* Support for the generic parts of PE/PEI, for BFD. - Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Cygnus Solutions. @@ -312,7 +312,7 @@ pe_mkobject_hook (abfd, filehdr, aouthdr) struct internal_filehdr *internal_f = (struct internal_filehdr *) filehdr; pe_data_type *pe; - if (pe_mkobject (abfd) == false) + if (! pe_mkobject (abfd)) return NULL; pe = pe_data (abfd); @@ -1207,7 +1207,10 @@ _("%s: Recognised but unhandled machine type (0x%x) in Import Library Format arc return NULL; if (bfd_bread (ptr, size, abfd) != size) - return NULL; + { + bfd_release (abfd, ptr); + return NULL; + } symbol_name = ptr; source_dll = ptr + strlen (ptr) + 1; @@ -1219,14 +1222,17 @@ _("%s: Recognised but unhandled machine type (0x%x) in Import Library Format arc (_("%s: string not null terminated in ILF object file."), bfd_archive_filename (abfd)); bfd_set_error (bfd_error_malformed_archive); - + bfd_release (abfd, ptr); return NULL; } /* Now construct the bfd. */ if (! pe_ILF_build_a_bfd (abfd, magic, symbol_name, source_dll, ordinal, types)) - return NULL; + { + bfd_release (abfd, ptr); + return NULL; + } return abfd->xvec; } diff --git a/contrib/binutils/bfd/po/SRC-POTFILES.in b/contrib/binutils/bfd/po/SRC-POTFILES.in index e448599..9a977f5 100644 --- a/contrib/binutils/bfd/po/SRC-POTFILES.in +++ b/contrib/binutils/bfd/po/SRC-POTFILES.in @@ -134,6 +134,7 @@ elf32-h8300.c elf32-hppa.c elf32-hppa.h elf32-i370.c +elf32-i386-fbsd.c elf32-i386.c elf32-i386qnx.c elf32-i860.c @@ -161,6 +162,7 @@ elf32-v850.c elf32-vax.c elf32-xstormy16.c elf32.c +elf64-alpha-fbsd.c elf64-alpha.c elf64-gen.c elf64-hppa.c diff --git a/contrib/binutils/bfd/po/bfd.pot b/contrib/binutils/bfd/po/bfd.pot index 2b9a34a..8823e66 100644 --- a/contrib/binutils/bfd/po/bfd.pot +++ b/contrib/binutils/bfd/po/bfd.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-23 15:55-0400\n" +"POT-Creation-Date: 2002-10-30 10:06-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -54,115 +55,115 @@ msgstr "" msgid "%s: relocateable link from %s to %s not supported" msgstr "" -#: archive.c:1826 +#: archive.c:1818 msgid "Warning: writing archive was slow: rewriting timestamp\n" msgstr "" -#: archive.c:2093 +#: archive.c:2085 msgid "Reading archive file mod timestamp" msgstr "" #. FIXME: bfd can't call perror. -#: archive.c:2120 +#: archive.c:2112 msgid "Writing updated armap timestamp" msgstr "" -#: bfd.c:274 +#: bfd.c:277 msgid "No error" msgstr "" -#: bfd.c:275 +#: bfd.c:278 msgid "System call error" msgstr "" -#: bfd.c:276 +#: bfd.c:279 msgid "Invalid bfd target" msgstr "" -#: bfd.c:277 +#: bfd.c:280 msgid "File in wrong format" msgstr "" -#: bfd.c:278 +#: bfd.c:281 msgid "Archive object file in wrong format" msgstr "" -#: bfd.c:279 +#: bfd.c:282 msgid "Invalid operation" msgstr "" -#: bfd.c:280 +#: bfd.c:283 msgid "Memory exhausted" msgstr "" -#: bfd.c:281 +#: bfd.c:284 msgid "No symbols" msgstr "" -#: bfd.c:282 +#: bfd.c:285 msgid "Archive has no index; run ranlib to add one" msgstr "" -#: bfd.c:283 +#: bfd.c:286 msgid "No more archived files" msgstr "" -#: bfd.c:284 +#: bfd.c:287 msgid "Malformed archive" msgstr "" -#: bfd.c:285 +#: bfd.c:288 msgid "File format not recognized" msgstr "" -#: bfd.c:286 +#: bfd.c:289 msgid "File format is ambiguous" msgstr "" -#: bfd.c:287 +#: bfd.c:290 msgid "Section has no contents" msgstr "" -#: bfd.c:288 +#: bfd.c:291 msgid "Nonrepresentable section on output" msgstr "" -#: bfd.c:289 +#: bfd.c:292 msgid "Symbol needs debug section which does not exist" msgstr "" -#: bfd.c:290 +#: bfd.c:293 msgid "Bad value" msgstr "" -#: bfd.c:291 +#: bfd.c:294 msgid "File truncated" msgstr "" -#: bfd.c:292 +#: bfd.c:295 msgid "File too big" msgstr "" -#: bfd.c:293 +#: bfd.c:296 msgid "#<Invalid error code>" msgstr "" -#: bfd.c:700 +#: bfd.c:703 #, c-format msgid "BFD %s assertion fail %s:%d" msgstr "" -#: bfd.c:719 +#: bfd.c:722 #, c-format msgid "BFD %s internal error, aborting at %s line %d in %s\n" msgstr "" -#: bfd.c:723 +#: bfd.c:726 #, c-format msgid "BFD %s internal error, aborting at %s line %d\n" msgstr "" -#: bfd.c:725 +#: bfd.c:728 msgid "Please report this bug.\n" msgstr "" @@ -209,17 +210,17 @@ msgstr "" msgid "%s: unable to find ARM glue '%s' for `%s'" msgstr "" -#: coff-arm.c:1391 coff-arm.c:1486 elf32-arm.h:887 elf32-arm.h:991 +#: coff-arm.c:1391 coff-arm.c:1486 elf32-arm.h:888 elf32-arm.h:992 #, c-format msgid "%s(%s): warning: interworking not enabled." msgstr "" -#: coff-arm.c:1395 elf32-arm.h:994 +#: coff-arm.c:1395 elf32-arm.h:995 #, c-format msgid " first occurrence: %s: arm call to thumb" msgstr "" -#: coff-arm.c:1490 elf32-arm.h:890 +#: coff-arm.c:1490 elf32-arm.h:891 #, c-format msgid " first occurrence: %s: thumb call to arm" msgstr "" @@ -228,100 +229,100 @@ msgstr "" msgid " consider relinking with --support-old-code enabled" msgstr "" -#: coff-arm.c:1785 coff-tic80.c:686 cofflink.c:3031 +#: coff-arm.c:1785 coff-tic80.c:686 cofflink.c:3034 #, c-format msgid "%s: bad reloc address 0x%lx in section `%s'" msgstr "" -#: coff-arm.c:2127 +#: coff-arm.c:2129 #, c-format msgid "%s: illegal symbol index in reloc: %d" msgstr "" -#: coff-arm.c:2255 +#: coff-arm.c:2257 #, c-format msgid "ERROR: %s is compiled for APCS-%d, whereas %s is compiled for APCS-%d" msgstr "" -#: coff-arm.c:2270 elf32-arm.h:2297 +#: coff-arm.c:2272 elf32-arm.h:2298 #, c-format msgid "" "ERROR: %s passes floats in float registers, whereas %s passes them in " "integer registers" msgstr "" -#: coff-arm.c:2273 elf32-arm.h:2302 +#: coff-arm.c:2275 elf32-arm.h:2303 #, c-format msgid "" "ERROR: %s passes floats in integer registers, whereas %s passes them in " "float registers" msgstr "" -#: coff-arm.c:2288 +#: coff-arm.c:2290 #, c-format msgid "" "ERROR: %s is compiled as position independent code, whereas target %s is " "absolute position" msgstr "" -#: coff-arm.c:2291 +#: coff-arm.c:2293 #, c-format msgid "" "ERROR: %s is compiled as absolute position code, whereas target %s is " "position independent" msgstr "" -#: coff-arm.c:2320 elf32-arm.h:2358 +#: coff-arm.c:2322 elf32-arm.h:2359 #, c-format msgid "Warning: %s supports interworking, whereas %s does not" msgstr "" -#: coff-arm.c:2323 elf32-arm.h:2365 +#: coff-arm.c:2325 elf32-arm.h:2366 #, c-format msgid "Warning: %s does not support interworking, whereas %s does" msgstr "" -#: coff-arm.c:2350 +#: coff-arm.c:2352 #, c-format msgid "private flags = %x:" msgstr "" -#: coff-arm.c:2358 elf32-arm.h:2418 +#: coff-arm.c:2360 elf32-arm.h:2419 msgid " [floats passed in float registers]" msgstr "" -#: coff-arm.c:2360 +#: coff-arm.c:2362 msgid " [floats passed in integer registers]" msgstr "" -#: coff-arm.c:2363 elf32-arm.h:2421 +#: coff-arm.c:2365 elf32-arm.h:2422 msgid " [position independent]" msgstr "" -#: coff-arm.c:2365 +#: coff-arm.c:2367 msgid " [absolute position]" msgstr "" -#: coff-arm.c:2369 +#: coff-arm.c:2371 msgid " [interworking flag not initialised]" msgstr "" -#: coff-arm.c:2371 +#: coff-arm.c:2373 msgid " [interworking supported]" msgstr "" -#: coff-arm.c:2373 +#: coff-arm.c:2375 msgid " [interworking not supported]" msgstr "" -#: coff-arm.c:2421 elf32-arm.h:2124 +#: coff-arm.c:2423 elf32-arm.h:2125 #, c-format msgid "" "Warning: Not setting interworking flag of %s since it has already been " "specified as non-interworking" msgstr "" -#: coff-arm.c:2425 elf32-arm.h:2128 +#: coff-arm.c:2427 elf32-arm.h:2129 #, c-format msgid "Warning: Clearing the interworking flag of %s due to outside request" msgstr "" @@ -348,17 +349,17 @@ msgstr "" msgid "reloc not properly aligned" msgstr "" -#: coff-rs6000.c:2766 +#: coff-rs6000.c:2760 #, c-format msgid "%s: unsupported relocation type 0x%02x" msgstr "" -#: coff-rs6000.c:2859 +#: coff-rs6000.c:2853 #, c-format msgid "%s: TOC reloc at 0x%x to symbol `%s' with no TOC entry" msgstr "" -#: coff-rs6000.c:3590 coff64-rs6000.c:2091 +#: coff-rs6000.c:3586 coff64-rs6000.c:2080 #, c-format msgid "%s: symbol `%s' has unrecognized smclas %d" msgstr "" @@ -368,7 +369,7 @@ msgstr "" msgid "Unrecognized reloc type 0x%x" msgstr "" -#: coff-tic54x.c:390 coffcode.h:4974 +#: coff-tic54x.c:390 coffcode.h:4981 #, c-format msgid "%s: warning: illegal symbol index %ld in relocs" msgstr "" @@ -388,52 +389,52 @@ msgstr "" msgid "Unrecognized TI COFF target id '0x%x'" msgstr "" -#: coffcode.h:4365 +#: coffcode.h:4372 #, c-format msgid "%s: warning: illegal symbol index %ld in line numbers" msgstr "" -#: coffcode.h:4379 +#: coffcode.h:4386 #, c-format msgid "%s: warning: duplicate line number information for `%s'" msgstr "" -#: coffcode.h:4736 +#: coffcode.h:4743 #, c-format msgid "%s: Unrecognized storage class %d for %s symbol `%s'" msgstr "" -#: coffcode.h:4867 +#: coffcode.h:4874 #, c-format msgid "warning: %s: local symbol `%s' has no section" msgstr "" -#: coffcode.h:5012 +#: coffcode.h:5019 #, c-format msgid "%s: illegal relocation type %d at address 0x%lx" msgstr "" -#: coffgen.c:1661 +#: coffgen.c:1668 #, c-format msgid "%s: bad string table size %lu" msgstr "" -#: cofflink.c:534 elflink.h:1912 +#: cofflink.c:534 elflink.h:1930 #, c-format msgid "Warning: type of symbol `%s' changed from %d to %d in %s" msgstr "" -#: cofflink.c:2321 +#: cofflink.c:2324 #, c-format msgid "%s: relocs in section `%s', but it has no contents" msgstr "" -#: cofflink.c:2664 coffswap.h:877 +#: cofflink.c:2667 coffswap.h:877 #, c-format msgid "%s: %s: reloc overflow: 0x%lx > 0xffff" msgstr "" -#: cofflink.c:2673 coffswap.h:864 +#: cofflink.c:2676 coffswap.h:864 #, c-format msgid "%s: warning: %s: line number overflow: 0x%lx > 0xffff" msgstr "" @@ -460,144 +461,144 @@ msgid "" "(%lu)." msgstr "" -#: dwarf2.c:757 +#: dwarf2.c:760 #, c-format msgid "Dwarf Error: Invalid or unhandled FORM value: %u." msgstr "" -#: dwarf2.c:852 +#: dwarf2.c:924 msgid "Dwarf Error: mangled line number section (bad file number)." msgstr "" -#: dwarf2.c:938 +#: dwarf2.c:1016 msgid "Dwarf Error: Can't find .debug_line section." msgstr "" -#: dwarf2.c:961 +#: dwarf2.c:1039 #, c-format msgid "" "Dwarf Error: Line offset (%lu) greater than or equal to .debug_line size (%" "lu)." msgstr "" -#: dwarf2.c:1159 +#: dwarf2.c:1245 msgid "Dwarf Error: mangled line number section." msgstr "" -#: dwarf2.c:1355 dwarf2.c:1566 +#: dwarf2.c:1454 dwarf2.c:1665 #, c-format msgid "Dwarf Error: Could not find abbrev number %u." msgstr "" -#: dwarf2.c:1527 +#: dwarf2.c:1626 #, c-format msgid "" "Dwarf Error: found dwarf version '%u', this reader only handles version 2 " "information." msgstr "" -#: dwarf2.c:1534 +#: dwarf2.c:1633 #, c-format msgid "" "Dwarf Error: found address size '%u', this reader can not handle sizes " "greater than '%u'." msgstr "" -#: dwarf2.c:1557 +#: dwarf2.c:1656 #, c-format msgid "Dwarf Error: Bad abbrev number: %u." msgstr "" -#: ecoff.c:1318 +#: ecoff.c:1320 #, c-format msgid "Unknown basic type %d" msgstr "" -#: ecoff.c:1578 +#: ecoff.c:1580 #, c-format msgid "" "\n" " End+1 symbol: %ld" msgstr "" -#: ecoff.c:1585 ecoff.c:1588 +#: ecoff.c:1587 ecoff.c:1590 #, c-format msgid "" "\n" " First symbol: %ld" msgstr "" -#: ecoff.c:1600 +#: ecoff.c:1602 #, c-format msgid "" "\n" " End+1 symbol: %-7ld Type: %s" msgstr "" -#: ecoff.c:1607 +#: ecoff.c:1609 #, c-format msgid "" "\n" " Local symbol: %ld" msgstr "" -#: ecoff.c:1615 +#: ecoff.c:1617 #, c-format msgid "" "\n" " struct; End+1 symbol: %ld" msgstr "" -#: ecoff.c:1620 +#: ecoff.c:1622 #, c-format msgid "" "\n" " union; End+1 symbol: %ld" msgstr "" -#: ecoff.c:1625 +#: ecoff.c:1627 #, c-format msgid "" "\n" " enum; End+1 symbol: %ld" msgstr "" -#: ecoff.c:1631 +#: ecoff.c:1633 #, c-format msgid "" "\n" " Type: %s" msgstr "" -#: elf-hppa.h:1476 elf-hppa.h:1509 elf32-ppc.c:3091 elf32-sh.c:4213 +#: elf-hppa.h:1476 elf-hppa.h:1509 elf32-ppc.c:3091 elf32-sh.c:4537 #: elf64-sh64.c:1659 #, c-format msgid "" "%s: warning: unresolvable relocation against symbol `%s' from %s section" msgstr "" -#: elf-m10200.c:446 elf-m10300.c:656 elf32-arm.h:2084 elf32-avr.c:833 +#: elf-m10200.c:446 elf-m10300.c:656 elf32-arm.h:2085 elf32-avr.c:833 #: elf32-cris.c:1403 elf32-d10v.c:481 elf32-fr30.c:635 elf32-frv.c:809 -#: elf32-h8300.c:548 elf32-i860.c:1031 elf32-m32r.c:1278 elf32-openrisc.c:439 +#: elf32-h8300.c:548 elf32-i860.c:1031 elf32-m32r.c:1280 elf32-openrisc.c:439 #: elf32-v850.c:1691 elf32-xstormy16.c:933 elf64-mmix.c:1302 msgid "internal error: out of range error" msgstr "" -#: elf-m10200.c:450 elf-m10300.c:660 elf32-arm.h:2088 elf32-avr.c:837 +#: elf-m10200.c:450 elf-m10300.c:660 elf32-arm.h:2089 elf32-avr.c:837 #: elf32-cris.c:1407 elf32-d10v.c:485 elf32-fr30.c:639 elf32-frv.c:813 -#: elf32-h8300.c:552 elf32-i860.c:1035 elf32-m32r.c:1282 elf32-openrisc.c:443 -#: elf32-v850.c:1695 elf32-xstormy16.c:937 elf64-mmix.c:1306 elfxx-mips.c:5264 +#: elf32-h8300.c:552 elf32-i860.c:1035 elf32-m32r.c:1284 elf32-openrisc.c:443 +#: elf32-v850.c:1695 elf32-xstormy16.c:937 elf64-mmix.c:1306 elfxx-mips.c:5258 msgid "internal error: unsupported relocation error" msgstr "" -#: elf-m10200.c:454 elf-m10300.c:664 elf32-arm.h:2092 elf32-d10v.c:489 -#: elf32-h8300.c:556 elf32-m32r.c:1286 +#: elf-m10200.c:454 elf-m10300.c:664 elf32-arm.h:2093 elf32-d10v.c:489 +#: elf32-h8300.c:556 elf32-m32r.c:1288 msgid "internal error: dangerous error" msgstr "" -#: elf-m10200.c:458 elf-m10300.c:668 elf32-arm.h:2096 elf32-avr.c:845 +#: elf-m10200.c:458 elf-m10300.c:668 elf32-arm.h:2097 elf32-avr.c:845 #: elf32-cris.c:1415 elf32-d10v.c:493 elf32-fr30.c:647 elf32-frv.c:821 -#: elf32-h8300.c:560 elf32-i860.c:1043 elf32-m32r.c:1290 elf32-openrisc.c:451 +#: elf32-h8300.c:560 elf32-i860.c:1043 elf32-m32r.c:1292 elf32-openrisc.c:451 #: elf32-v850.c:1715 elf32-xstormy16.c:945 elf64-mmix.c:1314 msgid "internal error: unknown error" msgstr "" @@ -646,177 +647,177 @@ msgstr "" msgid " required from %s:\n" msgstr "" -#: elf.c:1902 +#: elf.c:1904 #, c-format msgid "%s: invalid link %lu for reloc section %s (index %u)" msgstr "" -#: elf.c:3603 +#: elf.c:3619 #, c-format msgid "%s: Not enough room for program headers (allocated %u, need %u)" msgstr "" -#: elf.c:3708 +#: elf.c:3724 #, c-format msgid "%s: Not enough room for program headers, try linking with -N" msgstr "" -#: elf.c:3833 +#: elf.c:3849 #, c-format msgid "" "Error: First section in segment (%s) starts at 0x%x whereas the segment " "starts at 0x%x" msgstr "" -#: elf.c:4148 +#: elf.c:4164 #, c-format msgid "%s: warning: allocated section `%s' not in segment" msgstr "" -#: elf.c:4472 +#: elf.c:4488 #, c-format msgid "%s: symbol `%s' required but not present" msgstr "" -#: elf.c:4749 +#: elf.c:4765 #, c-format msgid "%s: warning: Empty loadable segment detected, is this intentional ?\n" msgstr "" -#: elf.c:6193 +#: elf.c:6213 #, c-format msgid "%s: unsupported relocation type %s" msgstr "" -#: elf32-arm.h:1221 +#: elf32-arm.h:1222 #, c-format msgid "%s: Warning: Arm BLX instruction targets Arm function '%s'." msgstr "" -#: elf32-arm.h:1417 +#: elf32-arm.h:1418 #, c-format msgid "%s: Warning: Thumb BLX instruction targets thumb function '%s'." msgstr "" -#: elf32-arm.h:1914 elf32-sh.c:4125 +#: elf32-arm.h:1915 elf32-sh.c:4444 #, c-format msgid "%s(%s+0x%lx): %s relocation against SEC_MERGE section" msgstr "" -#: elf32-arm.h:2008 +#: elf32-arm.h:2009 #, c-format msgid "" "%s: warning: unresolvable relocation %d against symbol `%s' from %s section" msgstr "" -#: elf32-arm.h:2176 +#: elf32-arm.h:2177 #, c-format msgid "" "Warning: Clearing the interworking flag of %s because non-interworking code " "in %s has been linked with it" msgstr "" -#: elf32-arm.h:2271 +#: elf32-arm.h:2272 #, c-format msgid "" "ERROR: %s is compiled for EABI version %d, whereas %s is compiled for " "version %d" msgstr "" -#: elf32-arm.h:2285 +#: elf32-arm.h:2286 #, c-format msgid "ERROR: %s is compiled for APCS-%d, whereas target %s uses APCS-%d" msgstr "" -#: elf32-arm.h:2313 +#: elf32-arm.h:2314 #, c-format msgid "ERROR: %s uses VFP instructions, whereas %s uses FPA instructions" msgstr "" -#: elf32-arm.h:2318 +#: elf32-arm.h:2319 #, c-format msgid "ERROR: %s uses FPA instructions, whereas %s uses VFP instructions" msgstr "" -#: elf32-arm.h:2338 +#: elf32-arm.h:2339 #, c-format msgid "ERROR: %s uses software FP, whereas %s uses hardware FP" msgstr "" -#: elf32-arm.h:2343 +#: elf32-arm.h:2344 #, c-format msgid "ERROR: %s uses hardware FP, whereas %s uses software FP" msgstr "" #. Ignore init flag - it may not be set, despite the flags field #. containing valid data. -#: elf32-arm.h:2396 elf32-cris.c:2988 elf32-m68k.c:410 elf32-vax.c:543 -#: elfxx-mips.c:7756 +#: elf32-arm.h:2397 elf32-cris.c:2989 elf32-m68k.c:410 elf32-vax.c:548 +#: elfxx-mips.c:7760 #, c-format msgid "private flags = %lx:" msgstr "" -#: elf32-arm.h:2405 +#: elf32-arm.h:2406 msgid " [interworking enabled]" msgstr "" -#: elf32-arm.h:2413 +#: elf32-arm.h:2414 msgid " [VFP float format]" msgstr "" -#: elf32-arm.h:2415 +#: elf32-arm.h:2416 msgid " [FPA float format]" msgstr "" -#: elf32-arm.h:2424 +#: elf32-arm.h:2425 msgid " [new ABI]" msgstr "" -#: elf32-arm.h:2427 +#: elf32-arm.h:2428 msgid " [old ABI]" msgstr "" -#: elf32-arm.h:2430 +#: elf32-arm.h:2431 msgid " [software FP]" msgstr "" -#: elf32-arm.h:2438 +#: elf32-arm.h:2439 msgid " [Version1 EABI]" msgstr "" -#: elf32-arm.h:2441 elf32-arm.h:2452 +#: elf32-arm.h:2442 elf32-arm.h:2453 msgid " [sorted symbol table]" msgstr "" -#: elf32-arm.h:2443 elf32-arm.h:2454 +#: elf32-arm.h:2444 elf32-arm.h:2455 msgid " [unsorted symbol table]" msgstr "" -#: elf32-arm.h:2449 +#: elf32-arm.h:2450 msgid " [Version2 EABI]" msgstr "" -#: elf32-arm.h:2457 +#: elf32-arm.h:2458 msgid " [dynamic symbols use segment index]" msgstr "" -#: elf32-arm.h:2460 +#: elf32-arm.h:2461 msgid " [mapping symbols precede others]" msgstr "" -#: elf32-arm.h:2467 +#: elf32-arm.h:2468 msgid " <EABI version unrecognised>" msgstr "" -#: elf32-arm.h:2474 +#: elf32-arm.h:2475 msgid " [relocatable executable]" msgstr "" -#: elf32-arm.h:2477 +#: elf32-arm.h:2478 msgid " [has entry point]" msgstr "" -#: elf32-arm.h:2482 +#: elf32-arm.h:2483 msgid "<Unrecognised flag bits set>" msgstr "" @@ -877,16 +878,16 @@ msgid "" " relocation %s should not be used in a shared object; recompile with -fPIC" msgstr "" -#: elf32-cris.c:2991 +#: elf32-cris.c:2992 msgid " [symbols have a _ prefix]" msgstr "" -#: elf32-cris.c:3030 +#: elf32-cris.c:3031 #, c-format msgid "%s: uses _-prefixed symbols, but writing file with non-prefixed symbols" msgstr "" -#: elf32-cris.c:3031 +#: elf32-cris.c:3032 #, c-format msgid "%s: uses non-prefixed symbols, but writing file with _-prefixed symbols" msgstr "" @@ -919,122 +920,117 @@ msgstr "" msgid "%s: Relocations in generic ELF (EM: %d)" msgstr "" -#: elf32-hppa.c:671 elf64-ppc.c:2323 +#: elf32-hppa.c:672 elf64-ppc.c:2324 #, c-format msgid "%s: cannot create stub entry %s" msgstr "" -#: elf32-hppa.c:956 elf32-hppa.c:3555 +#: elf32-hppa.c:957 elf32-hppa.c:3557 #, c-format msgid "%s(%s+0x%lx): cannot reach %s, recompile with -ffunction-sections" msgstr "" -#: elf32-hppa.c:1338 elf64-x86-64.c:673 +#: elf32-hppa.c:1340 elf64-x86-64.c:675 #, c-format msgid "" "%s: relocation %s can not be used when making a shared object; recompile " "with -fPIC" msgstr "" -#: elf32-hppa.c:1358 +#: elf32-hppa.c:1360 #, c-format msgid "" "%s: relocation %s should not be used when making a shared object; recompile " "with -fPIC" msgstr "" -#: elf32-hppa.c:1551 +#: elf32-hppa.c:1553 #, c-format msgid "Could not find relocation section for %s" msgstr "" -#: elf32-hppa.c:2855 +#: elf32-hppa.c:2857 #, c-format msgid "%s: duplicate export stub %s" msgstr "" -#: elf32-hppa.c:3433 +#: elf32-hppa.c:3435 #, c-format msgid "%s(%s+0x%lx): fixing %s" msgstr "" -#: elf32-hppa.c:4080 +#: elf32-hppa.c:4082 #, c-format msgid "%s(%s+0x%lx): cannot handle %s for %s" msgstr "" -#: elf32-hppa.c:4393 +#: elf32-hppa.c:4395 msgid ".got section not immediately after .plt section" msgstr "" -#: elf32-i386.c:379 +#: elf32-i386.c:401 #, c-format msgid "%s: invalid relocation type %d" msgstr "" -#: elf32-i386.c:876 elf32-s390.c:649 elf64-s390.c:595 elf64-x86-64.c:591 +#: elf32-i386.c:916 elf32-s390.c:651 elf64-s390.c:597 elf64-x86-64.c:593 #, c-format msgid "%s: bad symbol index: %d" msgstr "" -#: elf32-i386.c:948 +#: elf32-i386.c:1025 #, c-format msgid "%s: `%s' accessed both as normal and thread local symbol" msgstr "" -#: elf32-i386.c:1072 elf32-s390.c:808 elf64-ppc.c:2827 elf64-s390.c:759 -#: elf64-x86-64.c:761 +#: elf32-i386.c:1137 elf32-s390.c:810 elf64-ppc.c:2829 elf64-s390.c:761 +#: elf64-x86-64.c:763 #, c-format msgid "%s: bad relocation section name `%s'" msgstr "" -#: elf32-i386.c:1159 elf64-alpha.c:4768 -#, c-format -msgid "%s: TLS local exec code cannot be linked into shared objects" -msgstr "" - -#: elf32-i386.c:2747 elf32-s390.c:1981 elf32-sparc.c:1571 elf64-ppc.c:5918 -#: elf64-s390.c:1945 elf64-sparc.c:2578 elf64-x86-64.c:1948 +#: elf32-i386.c:2990 elf32-s390.c:1983 elf32-sparc.c:1572 elf64-ppc.c:5941 +#: elf64-s390.c:1947 elf64-sparc.c:2578 elf64-x86-64.c:1950 #, c-format msgid "%s(%s+0x%lx): unresolvable relocation against symbol `%s'" msgstr "" -#: elf32-i386.c:2784 elf32-s390.c:2019 elf64-ppc.c:5977 elf64-s390.c:1983 -#: elf64-x86-64.c:1986 +#: elf32-i386.c:3029 elf32-s390.c:2021 elf64-ppc.c:6000 elf64-s390.c:1985 +#: elf64-x86-64.c:1988 #, c-format msgid "%s(%s+0x%lx): reloc against `%s': error %d" msgstr "" -#: elf32-m32r.c:924 +#: elf32-m32r.c:926 msgid "SDA relocation when _SDA_BASE_ not defined" msgstr "" -#: elf32-ia64.c:3687 elf32-m32r.c:1013 elf32-ppc.c:2987 elf64-alpha.c:4185 -#: elf64-alpha.c:4313 elf64-ia64.c:3687 +#: elf32-m32r.c:1015 elf32-ppc.c:2987 elf64-alpha.c:4186 elf64-alpha.c:4314 +#: elf32-ia64.c:3693 elf64-ia64.c:3693 #, c-format msgid "%s: unknown relocation type %d" msgstr "" -#: elf32-m32r.c:1221 +#: elf32-m32r.c:1223 #, c-format msgid "%s: The target (%s) of an %s relocation is in the wrong section (%s)" msgstr "" -#: elf32-m32r.c:1947 +#: elf32-m32r.c:1949 #, c-format msgid "%s: Instruction set mismatch with previous modules" msgstr "" -#: elf32-m32r.c:1970 +#: elf32-m32r.c:1972 #, c-format msgid "private flags = %lx" msgstr "" -#: elf32-m32r.c:1975 +#: elf32-m32r.c:1977 msgid ": m32r instructions" msgstr "" -#: elf32-m32r.c:1976 +#: elf32-m32r.c:1978 msgid ": m32rx instructions" msgstr "" @@ -1077,7 +1073,7 @@ msgid "" "%s: compiled normally and linked with modules compiled with -mrelocatable" msgstr "" -#: elf32-ppc.c:1494 elf64-sparc.c:2989 elfxx-mips.c:7713 +#: elf32-ppc.c:1494 elf64-sparc.c:2990 elfxx-mips.c:7717 #, c-format msgid "%s: uses different e_flags (0x%lx) fields than previous modules (0x%lx)" msgstr "" @@ -1092,67 +1088,67 @@ msgstr "" msgid "%s: relocation %s cannot be used when making a shared object" msgstr "" -#: elf32-ppc.c:3126 elf64-ppc.c:5473 +#: elf32-ppc.c:3126 elf64-ppc.c:5496 #, c-format msgid "%s: unknown relocation type %d for symbol %s" msgstr "" -#: elf32-ppc.c:3482 elf32-ppc.c:3503 elf32-ppc.c:3553 +#: elf32-ppc.c:3489 elf32-ppc.c:3510 elf32-ppc.c:3560 #, c-format msgid "" "%s: The target (%s) of a %s relocation is in the wrong output section (%s)" msgstr "" -#: elf32-ppc.c:3619 +#: elf32-ppc.c:3626 #, c-format msgid "%s: Relocation %s is not yet supported for symbol %s." msgstr "" -#: elf32-sh.c:1964 +#: elf32-sh.c:1973 #, c-format msgid "%s: 0x%lx: warning: bad R_SH_USES offset" msgstr "" -#: elf32-sh.c:1976 +#: elf32-sh.c:1985 #, c-format msgid "%s: 0x%lx: warning: R_SH_USES points to unrecognized insn 0x%x" msgstr "" -#: elf32-sh.c:1993 +#: elf32-sh.c:2002 #, c-format msgid "%s: 0x%lx: warning: bad R_SH_USES load offset" msgstr "" -#: elf32-sh.c:2008 +#: elf32-sh.c:2017 #, c-format msgid "%s: 0x%lx: warning: could not find expected reloc" msgstr "" -#: elf32-sh.c:2036 +#: elf32-sh.c:2045 #, c-format msgid "%s: 0x%lx: warning: symbol in unexpected section" msgstr "" -#: elf32-sh.c:2153 +#: elf32-sh.c:2162 #, c-format msgid "%s: 0x%lx: warning: could not find expected COUNT reloc" msgstr "" -#: elf32-sh.c:2162 +#: elf32-sh.c:2171 #, c-format msgid "%s: 0x%lx: warning: bad count" msgstr "" -#: elf32-sh.c:2550 elf32-sh.c:2926 +#: elf32-sh.c:2559 elf32-sh.c:2935 #, c-format msgid "%s: 0x%lx: fatal: reloc overflow while relaxing" msgstr "" -#: elf32-sh.c:4073 elf64-sh64.c:1576 +#: elf32-sh.c:4392 elf64-sh64.c:1576 msgid "Unexpected STO_SH5_ISA32 on local symbol is not handled" msgstr "" -#: elf32-sh.c:4284 +#: elf32-sh.c:4611 #, c-format msgid "%s: 0x%lx: fatal: unaligned branch target for relax-support relocation" msgstr "" @@ -1172,50 +1168,50 @@ msgstr "" msgid "%s: object size does not match that of target %s" msgstr "" -#: elf32-sh64.c:440 elf64-sh64.c:2941 +#: elf32-sh64.c:443 elf64-sh64.c:2944 #, c-format msgid "%s: encountered datalabel symbol in input" msgstr "" -#: elf32-sh64.c:523 +#: elf32-sh64.c:526 msgid "PTB mismatch: a SHmedia address (bit 0 == 1)" msgstr "" -#: elf32-sh64.c:526 +#: elf32-sh64.c:529 msgid "PTA mismatch: a SHcompact address (bit 0 == 0)" msgstr "" -#: elf32-sh64.c:544 +#: elf32-sh64.c:547 #, c-format msgid "%s: GAS error: unexpected PTB insn with R_SH_PT_16" msgstr "" -#: elf32-sh64.c:593 elf64-sh64.c:1703 +#: elf32-sh64.c:596 elf64-sh64.c:1703 #, c-format msgid "%s: error: unaligned relocation type %d at %08x reloc %08x\n" msgstr "" -#: elf32-sh64.c:677 +#: elf32-sh64.c:680 #, c-format msgid "%s: could not write out added .cranges entries" msgstr "" -#: elf32-sh64.c:739 +#: elf32-sh64.c:742 #, c-format msgid "%s: could not write out sorted .cranges entries" msgstr "" -#: elf32-sparc.c:1535 elf64-sparc.c:2224 +#: elf32-sparc.c:1536 elf64-sparc.c:2224 #, c-format msgid "%s: probably compiled without -fPIC?" msgstr "" -#: elf32-sparc.c:2002 +#: elf32-sparc.c:2010 #, c-format msgid "%s: compiled for a 64 bit system and target is 32 bit" msgstr "" -#: elf32-sparc.c:2016 +#: elf32-sparc.c:2024 #, c-format msgid "%s: linking little endian files with big endian files" msgstr "" @@ -1287,41 +1283,41 @@ msgstr "" msgid "v850ea architecture" msgstr "" -#: elf32-vax.c:546 +#: elf32-vax.c:551 msgid " [nonpic]" msgstr "" -#: elf32-vax.c:549 +#: elf32-vax.c:554 msgid " [d-float]" msgstr "" -#: elf32-vax.c:552 +#: elf32-vax.c:557 msgid " [g-float]" msgstr "" -#: elf32-vax.c:674 +#: elf32-vax.c:665 #, c-format msgid "" "%s: warning: GOT addend of %ld to `%s' does not match previous GOT addend of " "%ld" msgstr "" -#: elf32-vax.c:1679 +#: elf32-vax.c:1687 #, c-format msgid "%s: warning: PLT addend of %d to `%s' from %s section ignored" msgstr "" -#: elf32-vax.c:1814 +#: elf32-vax.c:1822 #, c-format msgid "%s: warning: %s relocation against symbol `%s' from %s section" msgstr "" -#: elf32-vax.c:1820 +#: elf32-vax.c:1828 #, c-format msgid "%s: warning: %s relocation to 0x%x from %s section" msgstr "" -#: elf32-ia64.c:2280 elf32-xstormy16.c:414 elf64-ia64.c:2280 +#: elf32-xstormy16.c:414 elf32-ia64.c:2286 elf64-ia64.c:2286 msgid "non-zero addend in @fptr reloc" msgstr "" @@ -1329,46 +1325,51 @@ msgstr "" msgid "GPDISP relocation did not find ldah and lda instructions" msgstr "" -#: elf64-alpha.c:3675 +#: elf64-alpha.c:3676 #, c-format msgid "%s: .got subsegment exceeds 64K (size %d)" msgstr "" -#: elf64-alpha.c:4498 elf64-alpha.c:4510 +#: elf64-alpha.c:4499 elf64-alpha.c:4511 #, c-format msgid "%s: gp-relative relocation against dynamic symbol %s" msgstr "" -#: elf64-alpha.c:4536 elf64-alpha.c:4676 +#: elf64-alpha.c:4537 elf64-alpha.c:4677 #, c-format msgid "%s: pc-relative relocation against dynamic symbol %s" msgstr "" -#: elf64-alpha.c:4564 +#: elf64-alpha.c:4565 #, c-format msgid "%s: change in gp: BRSGP %s" msgstr "" -#: elf64-alpha.c:4589 +#: elf64-alpha.c:4590 msgid "<unknown>" msgstr "" -#: elf64-alpha.c:4594 +#: elf64-alpha.c:4595 #, c-format msgid "%s: !samegp reloc against symbol without .prologue: %s" msgstr "" -#: elf64-alpha.c:4639 +#: elf64-alpha.c:4640 #, c-format msgid "%s: unhandled dynamic relocation against %s" msgstr "" -#: elf64-alpha.c:4752 +#: elf64-alpha.c:4753 #, c-format msgid "%s: dtp-relative relocation against dynamic symbol %s" msgstr "" -#: elf64-alpha.c:4775 +#: elf64-alpha.c:4769 +#, c-format +msgid "%s: TLS local exec code cannot be linked into shared objects" +msgstr "" + +#: elf64-alpha.c:4776 #, c-format msgid "%s: tp-relative relocation against dynamic symbol %s" msgstr "" @@ -1447,46 +1448,46 @@ msgstr "" msgid "%s: compiled for a little endian system and target is big endian" msgstr "" -#: elf64-ppc.c:3610 +#: elf64-ppc.c:3614 #, c-format msgid "%s: unexpected reloc type %u in .opd section" msgstr "" -#: elf64-ppc.c:3630 +#: elf64-ppc.c:3634 #, c-format msgid "%s: .opd is not a regular array of opd entries" msgstr "" -#: elf64-ppc.c:3672 +#: elf64-ppc.c:3676 #, c-format msgid "%s: undefined sym `%s' in .opd section" msgstr "" -#: elf64-ppc.c:4397 +#: elf64-ppc.c:4421 #, c-format msgid "can't find branch stub `%s'" msgstr "" -#: elf64-ppc.c:4436 elf64-ppc.c:4501 +#: elf64-ppc.c:4460 elf64-ppc.c:4504 #, c-format msgid "linkage table error against `%s'" msgstr "" -#: elf64-ppc.c:4573 +#: elf64-ppc.c:4576 #, c-format msgid "can't build branch stub `%s'" msgstr "" -#: elf64-ppc.c:5179 +#: elf64-ppc.c:5202 msgid "stubs don't match calculated size" msgstr "" -#: elf64-ppc.c:5828 +#: elf64-ppc.c:5851 #, c-format msgid "%s: Relocation %s is not supported for symbol %s." msgstr "" -#: elf64-ppc.c:5872 +#: elf64-ppc.c:5895 #, c-format msgid "%s: error: relocation %s not a multiple of 4" msgstr "" @@ -1516,7 +1517,7 @@ msgstr "" msgid "Symbol `%s' has differing types: %s in %s, previously REGISTER in %s" msgstr "" -#: elf64-sparc.c:2970 +#: elf64-sparc.c:2971 #, c-format msgid "%s: linking UltraSPARC specific with HAL specific code" msgstr "" @@ -1526,83 +1527,85 @@ msgstr "" msgid "%s: version count (%ld) does not match symbol count (%ld)" msgstr "" -#: elflink.c:440 +#: elfcode.h:1433 +#, c-format +msgid "%s(%s): relocation %d has invalid symbol index %ld" +msgstr "" + +#: elflink.c:536 #, c-format msgid "%s: Section %s is too large to add hole of %ld bytes" msgstr "" -#: elflink.h:1090 +#: elflink.h:1098 #, c-format -msgid "%s: warning: unexpected redefinition of `%s'" +msgid "%s: warning: unexpected redefinition of indirect versioned symbol `%s'" msgstr "" -#: elflink.h:1727 +#: elflink.h:1745 #, c-format msgid "%s: %s: invalid version %u (max %d)" msgstr "" -#: elflink.h:1768 +#: elflink.h:1786 #, c-format msgid "%s: %s: invalid needed version %d" msgstr "" -#: elflink.h:1890 +#: elflink.h:1908 #, c-format msgid "Warning: size of symbol `%s' changed from %lu to %lu in %s" msgstr "" -#: elflink.h:3174 +#: elflink.h:3116 +#, c-format +msgid "%s: undefined version: %s" +msgstr "" + +#: elflink.h:3182 #, c-format msgid "%s: .preinit_array section is not allowed in DSO" msgstr "" -#: elflink.h:4030 +#: elflink.h:4039 #, c-format msgid "warning: type and size of dynamic symbol `%s' are not defined" msgstr "" -#: elflink.h:4345 +#: elflink.h:4354 #, c-format msgid "%s: undefined versioned symbol name %s" msgstr "" -#: elflink.h:4611 elflink.h:4619 elflink.h:6508 elflink.h:7600 +#: elflink.h:4595 elflink.h:4603 elflink.h:6494 elflink.h:7569 msgid "Error: out of memory" msgstr "" -#: elflink.h:4781 +#: elflink.h:4767 msgid "Not enough memory to sort relocations" msgstr "" -#: elflink.h:5682 elflink.h:5725 +#: elflink.h:5668 elflink.h:5711 #, c-format msgid "%s: could not find output section %s" msgstr "" -#: elflink.h:5688 +#: elflink.h:5674 #, c-format msgid "warning: %s section has zero size" msgstr "" -#: elflink.h:6275 +#: elflink.h:6261 #, c-format msgid "%s: could not find output section %s for input section %s" msgstr "" -#: elflink.h:6486 +#: elflink.h:6472 #, c-format msgid "%s: relocation size mismatch in %s section %s" msgstr "" -#: elflink.h:6849 -msgid "warning: relocation against removed section; zeroing" -msgstr "" - -#: elflink.h:6879 -msgid "warning: relocation against removed section" -msgstr "" - -#: elflink.h:6892 +#: elflink.h:6862 #, c-format msgid "local symbols in discarded section %s" msgstr "" @@ -1611,132 +1614,132 @@ msgstr "" msgid "static procedure (no name)" msgstr "" -#: elfxx-mips.c:1601 +#: elfxx-mips.c:1604 msgid "not enough GOT space for local GOT entries" msgstr "" -#: elfxx-mips.c:2750 +#: elfxx-mips.c:2755 #, c-format msgid "%s: %s+0x%lx: jump to stub routine which is not jal" msgstr "" -#: elfxx-mips.c:4270 +#: elfxx-mips.c:4264 #, c-format msgid "%s: Malformed reloc detected for section %s" msgstr "" -#: elfxx-mips.c:4348 +#: elfxx-mips.c:4342 #, c-format msgid "%s: CALL16 reloc at 0x%lx not against global symbol" msgstr "" -#: elfxx-mips.c:7301 +#: elfxx-mips.c:7296 #, c-format msgid "%s: illegal section name `%s'" msgstr "" -#: elfxx-mips.c:7615 +#: elfxx-mips.c:7610 #, c-format msgid "%s: linking PIC files with non-PIC files" msgstr "" -#: elfxx-mips.c:7625 +#: elfxx-mips.c:7620 #, c-format msgid "%s: linking abicalls files with non-abicalls files" msgstr "" -#: elfxx-mips.c:7654 +#: elfxx-mips.c:7649 #, c-format msgid "%s: ISA mismatch (-mips%d) with previous modules (-mips%d)" msgstr "" -#: elfxx-mips.c:7676 +#: elfxx-mips.c:7671 #, c-format msgid "%s: ISA mismatch (%d) with previous modules (%d)" msgstr "" -#: elfxx-mips.c:7699 +#: elfxx-mips.c:7694 #, c-format msgid "%s: ABI mismatch: linking %s module with previous %s modules" msgstr "" -#: elfxx-mips.c:7759 +#: elfxx-mips.c:7763 msgid " [abi=O32]" msgstr "" -#: elfxx-mips.c:7761 +#: elfxx-mips.c:7765 msgid " [abi=O64]" msgstr "" -#: elfxx-mips.c:7763 +#: elfxx-mips.c:7767 msgid " [abi=EABI32]" msgstr "" -#: elfxx-mips.c:7765 +#: elfxx-mips.c:7769 msgid " [abi=EABI64]" msgstr "" -#: elfxx-mips.c:7767 +#: elfxx-mips.c:7771 msgid " [abi unknown]" msgstr "" -#: elfxx-mips.c:7769 +#: elfxx-mips.c:7773 msgid " [abi=N32]" msgstr "" -#: elfxx-mips.c:7771 +#: elfxx-mips.c:7775 msgid " [abi=64]" msgstr "" -#: elfxx-mips.c:7773 +#: elfxx-mips.c:7777 msgid " [no abi set]" msgstr "" -#: elfxx-mips.c:7776 +#: elfxx-mips.c:7780 msgid " [mips1]" msgstr "" -#: elfxx-mips.c:7778 +#: elfxx-mips.c:7782 msgid " [mips2]" msgstr "" -#: elfxx-mips.c:7780 +#: elfxx-mips.c:7784 msgid " [mips3]" msgstr "" -#: elfxx-mips.c:7782 +#: elfxx-mips.c:7786 msgid " [mips4]" msgstr "" -#: elfxx-mips.c:7784 +#: elfxx-mips.c:7788 msgid " [mips5]" msgstr "" -#: elfxx-mips.c:7786 +#: elfxx-mips.c:7790 msgid " [mips32]" msgstr "" -#: elfxx-mips.c:7788 +#: elfxx-mips.c:7792 msgid " [mips64]" msgstr "" -#: elfxx-mips.c:7790 +#: elfxx-mips.c:7794 msgid " [unknown ISA]" msgstr "" -#: elfxx-mips.c:7793 +#: elfxx-mips.c:7797 msgid " [mdmx]" msgstr "" -#: elfxx-mips.c:7796 +#: elfxx-mips.c:7800 msgid " [mips16]" msgstr "" -#: elfxx-mips.c:7799 +#: elfxx-mips.c:7803 msgid " [32bitmode]" msgstr "" -#: elfxx-mips.c:7801 +#: elfxx-mips.c:7805 msgid " [not 32bitmode]" msgstr "" @@ -1785,52 +1788,52 @@ msgstr "" msgid "%s: unexpected type after ATN" msgstr "" -#: ihex.c:258 +#: ihex.c:255 #, c-format msgid "%s:%d: unexpected character `%s' in Intel Hex file\n" msgstr "" -#: ihex.c:366 +#: ihex.c:363 #, c-format msgid "%s:%u: bad checksum in Intel Hex file (expected %u, found %u)" msgstr "" -#: ihex.c:420 +#: ihex.c:417 #, c-format msgid "%s:%u: bad extended address record length in Intel Hex file" msgstr "" -#: ihex.c:437 +#: ihex.c:434 #, c-format msgid "%s:%u: bad extended start address length in Intel Hex file" msgstr "" -#: ihex.c:454 +#: ihex.c:451 #, c-format msgid "%s:%u: bad extended linear address record length in Intel Hex file" msgstr "" -#: ihex.c:471 +#: ihex.c:468 #, c-format msgid "%s:%u: bad extended linear start address length in Intel Hex file" msgstr "" -#: ihex.c:488 +#: ihex.c:485 #, c-format msgid "%s:%u: unrecognized ihex type %u in Intel Hex file\n" msgstr "" -#: ihex.c:607 +#: ihex.c:610 #, c-format msgid "%s: internal error in ihex_read_section" msgstr "" -#: ihex.c:642 +#: ihex.c:645 #, c-format msgid "%s: bad section length in ihex_read_section" msgstr "" -#: ihex.c:860 +#: ihex.c:863 #, c-format msgid "%s: address 0x%s out of range for Intel Hex file" msgstr "" @@ -1854,12 +1857,12 @@ msgstr "" msgid "Deprecated %s called\n" msgstr "" -#: linker.c:1873 +#: linker.c:1875 #, c-format msgid "%s: indirect symbol `%s' to `%s' is a loop" msgstr "" -#: linker.c:2776 +#: linker.c:2778 #, c-format msgid "Attempt to do relocateable link with %s input and %s output" msgstr "" @@ -2079,7 +2082,7 @@ msgstr "" msgid "%s: size field is zero in Import Library Format header" msgstr "" -#: peicode.h:1219 +#: peicode.h:1222 #, c-format msgid "%s: string not null terminated in ILF object file." msgstr "" @@ -2136,7 +2139,7 @@ msgstr "" msgid "som_sizeof_headers unimplemented" msgstr "" -#: srec.c:301 +#: srec.c:302 #, c-format msgid "%s:%d: Unexpected character `%s' in S-record file\n" msgstr "" @@ -2174,29 +2177,29 @@ msgstr "" msgid "Object module NOT error-free !\n" msgstr "" -#: vms-misc.c:543 +#: vms-misc.c:541 #, c-format msgid "Stack overflow (%d) in _bfd_vms_push" msgstr "" -#: vms-misc.c:561 +#: vms-misc.c:559 msgid "Stack underflow in _bfd_vms_pop" msgstr "" -#: vms-misc.c:919 +#: vms-misc.c:918 msgid "_bfd_vms_output_counted called with zero bytes" msgstr "" -#: vms-misc.c:924 +#: vms-misc.c:923 msgid "_bfd_vms_output_counted called with too many bytes" msgstr "" -#: vms-misc.c:1055 +#: vms-misc.c:1054 #, c-format msgid "Symbol %s replaced by %s\n" msgstr "" -#: vms-misc.c:1117 +#: vms-misc.c:1116 #, c-format msgid "failed to enter %s" msgstr "" @@ -2349,109 +2352,109 @@ msgstr "" msgid "%s: reloc %s:%d not in csect" msgstr "" -#: xcofflink.c:2092 +#: xcofflink.c:2094 #, c-format msgid "%s: XCOFF shared object when not producing XCOFF output" msgstr "" -#: xcofflink.c:2113 +#: xcofflink.c:2115 #, c-format msgid "%s: dynamic object with no .loader section" msgstr "" -#: xcofflink.c:2758 +#: xcofflink.c:2760 #, c-format msgid "%s: no such symbol" msgstr "" -#: xcofflink.c:2891 +#: xcofflink.c:2893 msgid "error: undefined symbol __rtinit" msgstr "" -#: xcofflink.c:3453 +#: xcofflink.c:3455 #, c-format msgid "warning: attempt to export undefined symbol `%s'" msgstr "" -#: xcofflink.c:4447 +#: xcofflink.c:4449 #, c-format msgid "TOC overflow: 0x%lx > 0x10000; try -mminimal-toc when compiling" msgstr "" -#: xcofflink.c:5287 xcofflink.c:5756 xcofflink.c:5818 xcofflink.c:6119 +#: xcofflink.c:5289 xcofflink.c:5758 xcofflink.c:5820 xcofflink.c:6124 #, c-format msgid "%s: loader reloc in unrecognized section `%s'" msgstr "" -#: xcofflink.c:5309 xcofflink.c:6130 +#: xcofflink.c:5311 xcofflink.c:6135 #, c-format msgid "%s: `%s' in loader reloc but not loader sym" msgstr "" -#: xcofflink.c:5324 +#: xcofflink.c:5326 #, c-format msgid "%s: loader reloc in read-only section %s" msgstr "" -#: elf32-ia64.c:2222 elf64-ia64.c:2222 +#: elf32-ia64.c:2228 elf64-ia64.c:2228 msgid "@pltoff reloc against local symbol" msgstr "" -#: elf32-ia64.c:3562 elf64-ia64.c:3562 +#: elf32-ia64.c:3568 elf64-ia64.c:3568 #, c-format msgid "%s: short data segment overflowed (0x%lx >= 0x400000)" msgstr "" -#: elf32-ia64.c:3573 elf64-ia64.c:3573 +#: elf32-ia64.c:3579 elf64-ia64.c:3579 #, c-format msgid "%s: __gp does not cover short data segment" msgstr "" -#: elf32-ia64.c:3858 elf64-ia64.c:3858 +#: elf32-ia64.c:3864 elf64-ia64.c:3864 #, c-format msgid "%s: linking non-pic code in a shared library" msgstr "" -#: elf32-ia64.c:3891 elf64-ia64.c:3891 +#: elf32-ia64.c:3897 elf64-ia64.c:3897 #, c-format msgid "%s: @gprel relocation against dynamic symbol %s" msgstr "" -#: elf32-ia64.c:4030 elf64-ia64.c:4030 +#: elf32-ia64.c:4036 elf64-ia64.c:4036 #, c-format msgid "%s: dynamic relocation against speculation fixup" msgstr "" -#: elf32-ia64.c:4038 elf64-ia64.c:4038 +#: elf32-ia64.c:4044 elf64-ia64.c:4044 #, c-format msgid "%s: speculation fixup against undefined weak symbol" msgstr "" -#: elf32-ia64.c:4271 elf64-ia64.c:4271 +#: elf32-ia64.c:4277 elf64-ia64.c:4277 msgid "unsupported reloc" msgstr "" -#: elf32-ia64.c:4551 elf64-ia64.c:4551 +#: elf32-ia64.c:4557 elf64-ia64.c:4557 #, c-format msgid "%s: linking trap-on-NULL-dereference with non-trapping files" msgstr "" -#: elf32-ia64.c:4560 elf64-ia64.c:4560 +#: elf32-ia64.c:4566 elf64-ia64.c:4566 #, c-format msgid "%s: linking big-endian files with little-endian files" msgstr "" -#: elf32-ia64.c:4569 elf64-ia64.c:4569 +#: elf32-ia64.c:4575 elf64-ia64.c:4575 #, c-format msgid "%s: linking 64-bit files with 32-bit files" msgstr "" -#: elf32-ia64.c:4578 elf64-ia64.c:4578 +#: elf32-ia64.c:4584 elf64-ia64.c:4584 #, c-format msgid "%s: linking constant-gp files with non-constant-gp files" msgstr "" -#: elf32-ia64.c:4588 elf64-ia64.c:4588 +#: elf32-ia64.c:4594 elf64-ia64.c:4594 #, c-format msgid "%s: linking auto-pic files with non-auto-pic files" msgstr "" diff --git a/contrib/binutils/bfd/reloc.c b/contrib/binutils/bfd/reloc.c index 59f7819..01ff516 100644 --- a/contrib/binutils/bfd/reloc.c +++ b/contrib/binutils/bfd/reloc.c @@ -3574,7 +3574,7 @@ const char * bfd_get_reloc_code_name (code) bfd_reloc_code_real_type code; { - if (code > BFD_RELOC_UNUSED) + if ((int) code > (int) BFD_RELOC_UNUSED) return 0; return bfd_reloc_code_real_names[(int)code]; } @@ -3702,7 +3702,7 @@ bfd_generic_get_relocated_section_contents (abfd, link_info, link_order, data, /* We're not relaxing the section, so just copy the size info. */ input_section->_cooked_size = input_section->_raw_size; - input_section->reloc_done = true; + input_section->reloc_done = (unsigned int) true; reloc_count = bfd_canonicalize_reloc (input_bfd, input_section, diff --git a/contrib/binutils/bfd/section.c b/contrib/binutils/bfd/section.c index 51b21c7..b5871e9 100644 --- a/contrib/binutils/bfd/section.c +++ b/contrib/binutils/bfd/section.c @@ -643,7 +643,8 @@ bfd_section_hash_newfunc (entry, table, string) subclass. */ if (entry == NULL) { - entry = bfd_hash_allocate (table, sizeof (struct section_hash_entry)); + entry = (struct bfd_hash_entry *) + bfd_hash_allocate (table, sizeof (struct section_hash_entry)); if (entry == NULL) return entry; } @@ -1186,7 +1187,7 @@ bfd_set_section_contents (abfd, section, location, offset, count) /* Record a copy of the data in memory if desired. */ if (section->contents - && location != section->contents + offset) + && location != (PTR) (section->contents + offset)) memcpy (section->contents + offset, location, (size_t) count); if (BFD_SEND (abfd, _bfd_set_section_contents, diff --git a/contrib/binutils/bfd/srec.c b/contrib/binutils/bfd/srec.c index 129b2ba..6c29fa1 100644 --- a/contrib/binutils/bfd/srec.c +++ b/contrib/binutils/bfd/srec.c @@ -181,7 +181,7 @@ unsigned int Chunk = DEFAULT_CHUNK; /* The type of srec output (free or forced to S3). This variable can be modified by objcopy's --srec-forceS3 parameter. */ -boolean S3Forced = 0; +boolean S3Forced = false; /* When writing an S-record file, the S-records can not be output as they are seen. This structure is used to hold them in memory. */ @@ -1203,7 +1203,7 @@ srec_get_symtab (abfd, alocation) csymbols = (asymbol *) bfd_alloc (abfd, symcount * sizeof (asymbol)); if (csymbols == NULL && symcount != 0) - return false; + return (long) false; abfd->tdata.srec_data->csymbols = csymbols; for (s = abfd->tdata.srec_data->symbols, c = csymbols; diff --git a/contrib/binutils/bfd/stabs.c b/contrib/binutils/bfd/stabs.c index e225d9c..0cb3741 100644 --- a/contrib/binutils/bfd/stabs.c +++ b/contrib/binutils/bfd/stabs.c @@ -331,7 +331,7 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo) symbol, ignoring nesting, adding up all the characters in the symbol names, not including the file numbers in types (the first number after an open parenthesis). */ - if (type == N_BINCL) + if (type == (int) N_BINCL) { bfd_vma val; int nest; @@ -351,13 +351,13 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo) incl_type = incl_sym[TYPEOFF]; if (incl_type == 0) break; - else if (incl_type == N_EINCL) + else if (incl_type == (int) N_EINCL) { if (nest == 0) break; --nest; } - else if (incl_type == N_BINCL) + else if (incl_type == (int) N_BINCL) ++nest; else if (nest == 0) { @@ -400,7 +400,7 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo) goto error_return; ne->offset = sym - stabbuf; ne->val = val; - ne->type = N_BINCL; + ne->type = (int) N_BINCL; ne->next = secinfo->excls; secinfo->excls = ne; @@ -422,7 +422,7 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo) /* We have seen this header file before. Tell the final pass to change the type to N_EXCL. */ - ne->type = N_EXCL; + ne->type = (int) N_EXCL; /* Mark the skipped symbols. */ @@ -435,7 +435,7 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo) incl_type = incl_sym[TYPEOFF]; - if (incl_type == N_EINCL) + if (incl_type == (int) N_EINCL) { if (nest == 0) { @@ -445,7 +445,7 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo) } --nest; } - else if (incl_type == N_BINCL) + else if (incl_type == (int) N_BINCL) ++nest; else if (nest == 0) { @@ -597,7 +597,7 @@ _bfd_discard_section_stabs (abfd, stabsec, psecinfo, type = sym[TYPEOFF]; - if (type == N_FUN) + if (type == (int) N_FUN) { int strx = bfd_get_32 (abfd, sym + STRDXOFF); @@ -624,7 +624,7 @@ _bfd_discard_section_stabs (abfd, stabsec, psecinfo, else if (deleting == -1) { /* Outside of a function. Check for deleted variables. */ - if (type == N_STSYM || type == N_LCSYM) + if (type == (int) N_STSYM || type == (int) N_LCSYM) if ((*reloc_symbol_deleted_p) (sym + VALOFF - stabbuf, cookie)) { *pstridx = -1; @@ -674,7 +674,7 @@ _bfd_discard_section_stabs (abfd, stabsec, psecinfo, BFD_ASSERT (offset != 0); } - return (skip > 0); + return (boolean) (skip > 0); error_return: if (stabbuf != NULL) diff --git a/contrib/binutils/bfd/syms.c b/contrib/binutils/bfd/syms.c index 8a8abf4..da71d80 100644 --- a/contrib/binutils/bfd/syms.c +++ b/contrib/binutils/bfd/syms.c @@ -713,7 +713,7 @@ boolean bfd_is_undefined_symclass (symclass) int symclass; { - return symclass == 'U' || symclass == 'w' || symclass == 'v'; + return (boolean) (symclass == 'U' || symclass == 'w' || symclass == 'v'); } /* @@ -1069,7 +1069,7 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound, saw_fun = 1; for (stab = info->stabs; stab < info->stabs + stabsize; stab += STABSIZE) { - if (stab[TYPEOFF] == N_SO) + if (stab[TYPEOFF] == (bfd_byte) N_SO) { /* N_SO with null name indicates EOF */ if (bfd_get_32 (abfd, stab + STRDXOFF) == 0) @@ -1083,12 +1083,12 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound, /* two N_SO's in a row is a filename and directory. Skip */ if (stab + STABSIZE < info->stabs + stabsize - && *(stab + STABSIZE + TYPEOFF) == N_SO) + && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO) { stab += STABSIZE; } } - else if (stab[TYPEOFF] == N_FUN) + else if (stab[TYPEOFF] == (bfd_byte) N_FUN) { saw_fun = 1; ++info->indextablesize; @@ -1157,7 +1157,7 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound, { last_stab = stab; if (stab + STABSIZE >= info->stabs + stabsize - || *(stab + STABSIZE + TYPEOFF) != N_SO) + || *(stab + STABSIZE + TYPEOFF) != (bfd_byte) N_SO) { directory_name = NULL; } diff --git a/contrib/binutils/bfd/targets.c b/contrib/binutils/bfd/targets.c index d41edf6..2d0ec04 100644 --- a/contrib/binutils/bfd/targets.c +++ b/contrib/binutils/bfd/targets.c @@ -521,7 +521,6 @@ extern const bfd_target bfd_elf32_hppa_vec; extern const bfd_target bfd_elf32_i370_vec; extern const bfd_target bfd_elf32_i386_freebsd_vec; extern const bfd_target bfd_elf32_i386_vec; -extern const bfd_target bfd_elf32_i386qnx_vec; extern const bfd_target bfd_elf32_i860_little_vec; extern const bfd_target bfd_elf32_i860_vec; extern const bfd_target bfd_elf32_i960_vec; @@ -785,7 +784,6 @@ static const bfd_target * const _bfd_target_vector[] = { &bfd_elf32_i370_vec, &bfd_elf32_i386_freebsd_vec, &bfd_elf32_i386_vec, - &bfd_elf32_i386qnx_vec, &bfd_elf32_i860_little_vec, &bfd_elf32_i860_vec, &bfd_elf32_i960_vec, @@ -1249,7 +1247,9 @@ bfd_target_list () return NULL; for (target = &bfd_target_vector[0]; *target != NULL; target++) - *(name_ptr++) = (*target)->name; + if (target == &bfd_target_vector[0] + || *target != bfd_target_vector[0]) + *name_ptr++ = (*target)->name; return name_list; } diff --git a/contrib/binutils/bfd/version.h b/contrib/binutils/bfd/version.h index a440678..6dac811 100644 --- a/contrib/binutils/bfd/version.h +++ b/contrib/binutils/bfd/version.h @@ -1 +1 @@ -#define BFD_VERSION_DATE 20021011 +#define BFD_VERSION_DATE 20021127 diff --git a/contrib/binutils/bfd/xcofflink.c b/contrib/binutils/bfd/xcofflink.c index a869d7d..e4e4755 100644 --- a/contrib/binutils/bfd/xcofflink.c +++ b/contrib/binutils/bfd/xcofflink.c @@ -1986,6 +1986,7 @@ xcoff_link_add_symbols (abfd, info) && h->descriptor == NULL) { struct xcoff_link_hash_entry *hds; + struct bfd_link_hash_entry *bh; hds = xcoff_link_hash_lookup (xcoff_hash_table (info), h->root.root.string + 1, @@ -1994,13 +1995,14 @@ xcoff_link_add_symbols (abfd, info) goto error_return; if (hds->root.type == bfd_link_hash_new) { + bh = &hds->root; if (! (_bfd_generic_link_add_one_symbol (info, abfd, hds->root.root.string, (flagword) 0, bfd_und_section_ptr, (bfd_vma) 0, (const char *) NULL, false, - true, - (struct bfd_link_hash_entry **) &hds))) + true, &bh))) goto error_return; + hds = (struct xcoff_link_hash_entry *) bh; } hds->flags |= XCOFF_DESCRIPTOR; BFD_ASSERT ((hds->flags & XCOFF_CALLED) == 0 diff --git a/contrib/binutils/binutils/ChangeLog b/contrib/binutils/binutils/ChangeLog index 373b3c9..95d72cf 100644 --- a/contrib/binutils/binutils/ChangeLog +++ b/contrib/binutils/binutils/ChangeLog @@ -1,3 +1,29 @@ +2002-11-07 Nick Clifton <nickc@redhat.com> + + * configure.in (LINGUAS): Add 'da'. + * configure: Regenerate. + * po/da.po: New Danish translation. + +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * po/binutils.pot: Regenerated. + +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-21 Alan Modra <amodra@bigpond.net.au> + * bucomm.c (list_supported_targets): Use bfd_target_list. + + 2002-10-09 Daniel Jacobowitz <drow@mvista.com> + * readelf.c (display_debug_info): Ignore empty .rela.debug_info + sections. Allow relocations against the absolute symbol. Don't + use the value in compunit.cu_abbrev_offset if we found a RELA + relocation. + +2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com> + + * objdump.c (dump_data): Correct addr_offset for opb != 1. + 2002-09-23 Daniel Jacobowitz <drow@mvista.com> Merge from mainline: @@ -33,7 +59,7 @@ * po/fr.po: Updated French translation. 2002-07-24 Nick Clifton <nickc@redhat.com> - + * po/es.po: Updated Spanish translation. 2002-07-23 Daniel Jacobowitz <drow@mvista.com> @@ -151,7 +177,7 @@ 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr> * nm.c (print_size_symbols): Remove assignment, which makes - the symbol's size equal to its value when --size-sort is + the symbol's size equal to its value when --size-sort is used. 2002-06-18 Dave Brolley <brolley@redhat.com> @@ -211,7 +237,7 @@ DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf. 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr> - + * nm.c: When computing size of symbols for an ELF target use the internal size field. @@ -428,8 +454,8 @@ bfd_find_nearest_line is non-NULL. 2002-04-25 Elena Zannoni <ezannoni@redhat.com> - - * readelf.c (get_AT_name): Handle DW_AT_GNU_vector. + + * readelf.c (get_AT_name): Handle DW_AT_GNU_vector. 2002-04-24 Christian Groessler <chris@groessler.org> @@ -455,11 +481,11 @@ 2002-04-15 Eric Kohl <ekohl@rz-online.de> - * rcparse.y: Allow two to five parameter in FONT statement of + * rcparse.y: Allow two to five parameter in FONT statement of DIALOGEX resources. * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex resource data. - (res_to_bin_dialog): Likewise. + (res_to_bin_dialog): Likewise. * windres.h: Added misssing charset variable to dialog_ex structure. @@ -469,7 +495,7 @@ 2002-04-09 Bernd Herd <info@herdsoft.com> - * rcparse.y: CLASS definitions in DIALOG resources + * rcparse.y: CLASS definitions in DIALOG resources are quoted. Fix typo in BEDIT warning. Don't add default dialog style when explicit style specified. @@ -582,10 +608,10 @@ 2002-02-18 Timothy Daly <remote_bob@yahoo.com> - * readelf.c (dump_relocations): Display 2nd and 3rd reloc - types for 64-bit MIPS. Narrow some fields for 80-char + * readelf.c (dump_relocations): Display 2nd and 3rd reloc + types for 64-bit MIPS. Narrow some fields for 80-char output. - (dump_relocations): Change spelling from 'unrecognised' + (dump_relocations): Change spelling from 'unrecognised' to 'unrecognized'. (decode_ARM_machine_flags): Likewise. (parse_args): Likewise. @@ -712,7 +738,7 @@ (main): Accept -H as an alias for --help. * objcopy.c (strip_main): Accept -H as an alias for --help. * objdump.c (main): Accept -v as an alias for --verbose. - * readelf.c (usage): Adjust format to match style used in + * readelf.c (usage): Adjust format to match style used in other binutils. * size.c (usage): Update text to provide verbose description of the command line options. @@ -764,9 +790,9 @@ 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> * objcopy.c (copy_usage): Use "options" instead of "switches". - (strip_usage): Use "options" instead of "switches". + (strip_usage): Use "options" instead of "switches". * doc/binutils.texi (dlltool): Refer to "options" instead of - "switches". + "switches". 2002-01-14 Richard Earnshaw <rearnsha@arm.com> @@ -1367,9 +1393,9 @@ 2001-08-03 John Healy <jhealy@redhat.com> - Patch suggested by Frank Eigler <fche@redhat.com>. - * objdump.c (disassemble_data): Fill in section member of the - disasm_info structure. + Patch suggested by Frank Eigler <fche@redhat.com>. + * objdump.c (disassemble_data): Fill in section member of the + disasm_info structure. 2001-08-03 Tom Walsh <tom@cyberiansoftware.com> @@ -1387,18 +1413,18 @@ 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com> - * objcopy.c: Fix formatting. - (section_rename): New structure. - (OPTION_RENAME_SECTION): New switch. - (copy_usage): Document new switch. - (add_section_rename): New function: Add a node to the section - rename list. - (find_section_rename): New function: Find the new name and - flags for a section. - (setup_section): Call find_section_name to determine the name - of the output section. - (copy_main): Handle OPTION_RENAME_SECTION. - * binutils.texi: Document new switch. + * objcopy.c: Fix formatting. + (section_rename): New structure. + (OPTION_RENAME_SECTION): New switch. + (copy_usage): Document new switch. + (add_section_rename): New function: Add a node to the section + rename list. + (find_section_rename): New function: Find the new name and + flags for a section. + (setup_section): Call find_section_name to determine the name + of the output section. + (copy_main): Handle OPTION_RENAME_SECTION. + * binutils.texi: Document new switch. * NEWS: Mention new switch. 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> @@ -1562,23 +1588,23 @@ 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com> - * Makefile.am: Move documentation into doc subdirectory. - * Makefile.in: Regenerated. + * Makefile.am: Move documentation into doc subdirectory. + * Makefile.in: Regenerated. * binutils.texi: Move into doc subdirectory. - * addr2line.1: Removed. - * ar.1: Likewise. - * dlltool.1: Likewise. - * nlmconv.1: Likewise. - * nm.1: Likewise. - * objcopy.1: Likewise. - * objdump.1: Likewise. - * ranlib.1: Likewise. - * readelf.1: Likewise. - * size.1: Likewise. - * strings.1: Likewise. - * strip.1: Likewise. - * windres.1: Likewise. - * cxxfilt.man: Likewise. + * addr2line.1: Removed. + * ar.1: Likewise. + * dlltool.1: Likewise. + * nlmconv.1: Likewise. + * nm.1: Likewise. + * objcopy.1: Likewise. + * objdump.1: Likewise. + * ranlib.1: Likewise. + * readelf.1: Likewise. + * size.1: Likewise. + * strings.1: Likewise. + * strip.1: Likewise. + * windres.1: Likewise. + * cxxfilt.man: Likewise. * doc: New Directory. * doc/Makefile.am: New file. * doc/Makefile.in: Generate. @@ -1646,7 +1672,7 @@ 2001-04-27 Johan Rydberg <jrydberg@opencores.org> - * NEWS: Announce support for OpenRISC. + * NEWS: Announce support for OpenRISC. 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net> diff --git a/contrib/binutils/binutils/bucomm.c b/contrib/binutils/binutils/bucomm.c index 35112fc..7ffcaba 100644 --- a/contrib/binutils/binutils/bucomm.c +++ b/contrib/binutils/binutils/bucomm.c @@ -128,16 +128,18 @@ list_supported_targets (name, f) const char *name; FILE *f; { - extern const bfd_target *const *bfd_target_vector; int t; + const char **targ_names = bfd_target_list (); if (name == NULL) fprintf (f, _("Supported targets:")); else fprintf (f, _("%s: supported targets:"), name); - for (t = 0; bfd_target_vector[t] != NULL; t++) - fprintf (f, " %s", bfd_target_vector[t]->name); + + for (t = 0; targ_names[t] != NULL; t++) + fprintf (f, " %s", targ_names[t]); fprintf (f, "\n"); + free (targ_names); } /* List the supported architectures. */ diff --git a/contrib/binutils/binutils/configure b/contrib/binutils/binutils/configure index dc23ef4..7c163c9 100755 --- a/contrib/binutils/binutils/configure +++ b/contrib/binutils/binutils/configure @@ -2717,7 +2717,7 @@ EOF fi -ALL_LINGUAS="fr tr ja es sv" +ALL_LINGUAS="fr tr ja es sv da" # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 diff --git a/contrib/binutils/binutils/configure.in b/contrib/binutils/binutils/configure.in index f2a0482..9ca88e8 100644 --- a/contrib/binutils/binutils/configure.in +++ b/contrib/binutils/binutils/configure.in @@ -64,7 +64,7 @@ AC_PROG_CC AC_PROG_YACC AM_PROG_LEX -ALL_LINGUAS="fr tr ja es sv" +ALL_LINGUAS="fr tr ja es sv da" CY_GNU_GETTEXT AM_MAINTAINER_MODE diff --git a/contrib/binutils/binutils/objdump.c b/contrib/binutils/binutils/objdump.c index 2687b6e..d09b6e5 100644 --- a/contrib/binutils/binutils/objdump.c +++ b/contrib/binutils/binutils/objdump.c @@ -2237,7 +2237,7 @@ dump_data (abfd) stop_offset = bfd_section_size (abfd, section) / opb; } for (addr_offset = start_offset; - addr_offset < stop_offset; addr_offset += onaline) + addr_offset < stop_offset; addr_offset += onaline / opb) { bfd_size_type j; @@ -2255,7 +2255,8 @@ dump_data (abfd) } printf (" "); - for (j = addr_offset; j < addr_offset * opb + onaline; j++) + for (j = addr_offset * opb; + j < addr_offset * opb + onaline; j++) { if (j >= stop_offset * opb) printf (" "); diff --git a/contrib/binutils/binutils/po/binutils.pot b/contrib/binutils/binutils/po/binutils.pot index 4442096..6097147 100644 --- a/contrib/binutils/binutils/po/binutils.pot +++ b/contrib/binutils/binutils/po/binutils.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-23 15:55-0400\n" +"POT-Creation-Date: 2002-10-30 10:07-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -43,7 +44,7 @@ msgid "" msgstr "" #: addr2line.c:89 ar.c:297 coffdump.c:479 nlmconv.c:1119 objcopy.c:424 -#: objcopy.c:457 readelf.c:2310 size.c:104 srconv.c:1962 strings.c:666 +#: objcopy.c:457 readelf.c:2313 size.c:104 srconv.c:1962 strings.c:666 #: sysdump.c:774 windres.c:733 #, c-format msgid "Report bugs to %s\n" @@ -54,7 +55,7 @@ msgstr "" msgid "%s: can not get addresses from archive" msgstr "" -#: addr2line.c:320 nm.c:395 objdump.c:2782 +#: addr2line.c:320 nm.c:395 objdump.c:2783 #, c-format msgid "unknown demangling style `%s'" msgstr "" @@ -346,16 +347,16 @@ msgstr "" msgid "%s: supported targets:" msgstr "" -#: bucomm.c:153 +#: bucomm.c:155 msgid "Supported architectures:" msgstr "" -#: bucomm.c:155 +#: bucomm.c:157 #, c-format msgid "%s: supported architectures:" msgstr "" -#: bucomm.c:262 +#: bucomm.c:264 #, c-format msgid "%s: bad number: %s" msgstr "" @@ -1516,17 +1517,17 @@ msgstr "" msgid "data size %ld" msgstr "" -#: nm.c:523 readelf.c:5306 readelf.c:5342 +#: nm.c:523 readelf.c:5391 readelf.c:5427 #, c-format msgid "<processor specific>: %d" msgstr "" -#: nm.c:525 readelf.c:5308 readelf.c:5354 +#: nm.c:525 readelf.c:5393 readelf.c:5439 #, c-format msgid "<OS specific>: %d" msgstr "" -#: nm.c:527 readelf.c:5310 readelf.c:5357 +#: nm.c:527 readelf.c:5395 readelf.c:5442 #, c-format msgid "<unknown>: %d" msgstr "" @@ -2101,16 +2102,16 @@ msgstr "" msgid "Contents of section %s:\n" msgstr "" -#: objdump.c:2718 +#: objdump.c:2719 #, c-format msgid "BFD header file version %s\n" msgstr "" -#: objdump.c:2807 +#: objdump.c:2808 msgid "unrecognized -E option" msgstr "" -#: objdump.c:2818 +#: objdump.c:2819 #, c-format msgid "unrecognized --endian type `%s'" msgstr "" @@ -2296,15 +2297,15 @@ msgstr "" msgid "None" msgstr "" -#: readelf.c:2278 +#: readelf.c:2280 msgid "Usage: readelf <option(s)> elf-file(s)\n" msgstr "" -#: readelf.c:2279 +#: readelf.c:2281 msgid " Display information about the contents of ELF format files\n" msgstr "" -#: readelf.c:2280 +#: readelf.c:2282 msgid "" " Options are:\n" " -a --all Equivalent to: -h -l -S -s -r -d -V -A -I\n" @@ -2326,18 +2327,19 @@ msgid "" " -D --use-dynamic Use the dynamic section info when displaying " "symbols\n" " -x --hex-dump=<number> Dump the contents of section <number>\n" -" -w --debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=macro,=frames,=str," +" -w[liaprmfFso] or\n" +" --debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=macro,=frames,=str," "=loc]\n" " Display the contents of DWARF2 debug sections\n" msgstr "" -#: readelf.c:2301 +#: readelf.c:2304 msgid "" " -i --instruction-dump=<number>\n" " Disassemble the contents of section <number>\n" msgstr "" -#: readelf.c:2305 +#: readelf.c:2308 msgid "" " -I --histogram Display histogram of bucket list lengths\n" " -W --wide Allow output width to exceed 80 characters\n" @@ -2345,312 +2347,312 @@ msgid "" " -v --version Display the version number of readelf\n" msgstr "" -#: readelf.c:2327 +#: readelf.c:2330 msgid "Out of memory allocating dump request table." msgstr "" -#: readelf.c:2491 +#: readelf.c:2494 readelf.c:2570 #, c-format msgid "Unrecognized debug option '%s'\n" msgstr "" -#: readelf.c:2519 +#: readelf.c:2604 #, c-format msgid "Invalid option '-%c'\n" msgstr "" -#: readelf.c:2532 +#: readelf.c:2617 msgid "Nothing to do.\n" msgstr "" -#: readelf.c:2545 readelf.c:2562 readelf.c:4867 +#: readelf.c:2630 readelf.c:2647 readelf.c:4952 msgid "none" msgstr "" -#: readelf.c:2549 readelf.c:2566 readelf.c:2594 +#: readelf.c:2634 readelf.c:2651 readelf.c:2679 #, c-format msgid "<unknown: %x>" msgstr "" -#: readelf.c:2563 +#: readelf.c:2648 msgid "2's complement, little endian" msgstr "" -#: readelf.c:2564 +#: readelf.c:2649 msgid "2's complement, big endian" msgstr "" -#: readelf.c:2591 +#: readelf.c:2676 msgid "Standalone App" msgstr "" -#: readelf.c:2609 +#: readelf.c:2694 msgid "Not an ELF file - it has the wrong magic bytes at the start\n" msgstr "" -#: readelf.c:2617 +#: readelf.c:2702 msgid "ELF Header:\n" msgstr "" -#: readelf.c:2618 +#: readelf.c:2703 msgid " Magic: " msgstr "" -#: readelf.c:2622 +#: readelf.c:2707 #, c-format msgid " Class: %s\n" msgstr "" -#: readelf.c:2624 +#: readelf.c:2709 #, c-format msgid " Data: %s\n" msgstr "" -#: readelf.c:2626 +#: readelf.c:2711 #, c-format msgid " Version: %d %s\n" msgstr "" -#: readelf.c:2633 +#: readelf.c:2718 #, c-format msgid " OS/ABI: %s\n" msgstr "" -#: readelf.c:2635 +#: readelf.c:2720 #, c-format msgid " ABI Version: %d\n" msgstr "" -#: readelf.c:2637 +#: readelf.c:2722 #, c-format msgid " Type: %s\n" msgstr "" -#: readelf.c:2639 +#: readelf.c:2724 #, c-format msgid " Machine: %s\n" msgstr "" -#: readelf.c:2641 +#: readelf.c:2726 #, c-format msgid " Version: 0x%lx\n" msgstr "" -#: readelf.c:2644 +#: readelf.c:2729 msgid " Entry point address: " msgstr "" -#: readelf.c:2646 +#: readelf.c:2731 msgid "" "\n" " Start of program headers: " msgstr "" -#: readelf.c:2648 +#: readelf.c:2733 msgid "" " (bytes into file)\n" " Start of section headers: " msgstr "" -#: readelf.c:2650 +#: readelf.c:2735 msgid " (bytes into file)\n" msgstr "" -#: readelf.c:2652 +#: readelf.c:2737 #, c-format msgid " Flags: 0x%lx%s\n" msgstr "" -#: readelf.c:2655 +#: readelf.c:2740 #, c-format msgid " Size of this header: %ld (bytes)\n" msgstr "" -#: readelf.c:2657 +#: readelf.c:2742 #, c-format msgid " Size of program headers: %ld (bytes)\n" msgstr "" -#: readelf.c:2659 +#: readelf.c:2744 #, c-format msgid " Number of program headers: %ld\n" msgstr "" -#: readelf.c:2661 +#: readelf.c:2746 #, c-format msgid " Size of section headers: %ld (bytes)\n" msgstr "" -#: readelf.c:2663 +#: readelf.c:2748 #, c-format msgid " Number of section headers: %ld" msgstr "" -#: readelf.c:2668 +#: readelf.c:2753 #, c-format msgid " Section header string table index: %ld" msgstr "" -#: readelf.c:2702 readelf.c:2738 +#: readelf.c:2787 readelf.c:2823 msgid "program headers" msgstr "" -#: readelf.c:2772 +#: readelf.c:2857 msgid "" "\n" "There are no program headers in this file.\n" msgstr "" -#: readelf.c:2778 +#: readelf.c:2863 #, c-format msgid "" "\n" "Elf file type is %s\n" msgstr "" -#: readelf.c:2779 +#: readelf.c:2864 msgid "Entry point " msgstr "" -#: readelf.c:2781 +#: readelf.c:2866 #, c-format msgid "" "\n" "There are %d program headers, starting at offset " msgstr "" -#: readelf.c:2792 readelf.c:3019 readelf.c:3065 readelf.c:3128 readelf.c:3195 -#: readelf.c:4229 readelf.c:4272 readelf.c:4461 readelf.c:5414 readelf.c:5428 -#: readelf.c:9659 readelf.c:9699 +#: readelf.c:2877 readelf.c:3104 readelf.c:3150 readelf.c:3213 readelf.c:3280 +#: readelf.c:4314 readelf.c:4357 readelf.c:4546 readelf.c:5499 readelf.c:5513 +#: readelf.c:9747 readelf.c:9787 msgid "Out of memory\n" msgstr "" -#: readelf.c:2810 readelf.c:2812 +#: readelf.c:2895 readelf.c:2897 msgid "" "\n" "Program Headers:\n" msgstr "" -#: readelf.c:2816 +#: readelf.c:2901 msgid "" " Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align\n" msgstr "" -#: readelf.c:2819 +#: readelf.c:2904 msgid "" " Type Offset VirtAddr PhysAddr FileSiz " "MemSiz Flg Align\n" msgstr "" -#: readelf.c:2823 +#: readelf.c:2908 msgid " Type Offset VirtAddr PhysAddr\n" msgstr "" -#: readelf.c:2825 +#: readelf.c:2910 msgid " FileSiz MemSiz Flags Align\n" msgstr "" -#: readelf.c:2925 +#: readelf.c:3010 msgid "more than one dynamic segment\n" msgstr "" -#: readelf.c:2933 +#: readelf.c:3018 msgid "Unable to find program interpreter name\n" msgstr "" -#: readelf.c:2940 +#: readelf.c:3025 #, c-format msgid "" "\n" " [Requesting program interpreter: %s]" msgstr "" -#: readelf.c:2958 +#: readelf.c:3043 msgid "" "\n" " Section to Segment mapping:\n" msgstr "" -#: readelf.c:2959 +#: readelf.c:3044 msgid " Segment Sections...\n" msgstr "" -#: readelf.c:3010 readelf.c:3056 +#: readelf.c:3095 readelf.c:3141 msgid "section headers" msgstr "" -#: readelf.c:3104 readelf.c:3171 +#: readelf.c:3189 readelf.c:3256 msgid "symbols" msgstr "" -#: readelf.c:3115 readelf.c:3182 +#: readelf.c:3200 readelf.c:3267 msgid "symtab shndx" msgstr "" -#: readelf.c:3284 +#: readelf.c:3369 msgid "" "\n" "There are no sections in this file.\n" msgstr "" -#: readelf.c:3290 +#: readelf.c:3375 #, c-format msgid "There are %d section headers, starting at offset 0x%lx:\n" msgstr "" -#: readelf.c:3307 readelf.c:3621 readelf.c:3968 readelf.c:5565 +#: readelf.c:3392 readelf.c:3706 readelf.c:4053 readelf.c:5650 msgid "string table" msgstr "" -#: readelf.c:3328 +#: readelf.c:3413 msgid "File contains multiple dynamic symbol tables\n" msgstr "" -#: readelf.c:3340 +#: readelf.c:3425 msgid "File contains multiple dynamic string tables\n" msgstr "" -#: readelf.c:3346 +#: readelf.c:3431 msgid "dynamic strings" msgstr "" -#: readelf.c:3352 +#: readelf.c:3437 msgid "File contains multiple symtab shndx tables\n" msgstr "" -#: readelf.c:3390 +#: readelf.c:3475 msgid "" "\n" "Section Headers:\n" msgstr "" -#: readelf.c:3392 +#: readelf.c:3477 msgid "" "\n" "Section Header:\n" msgstr "" -#: readelf.c:3396 +#: readelf.c:3481 msgid "" " [Nr] Name Type Addr Off Size ES Flg Lk " "Inf Al\n" msgstr "" -#: readelf.c:3399 +#: readelf.c:3484 msgid "" " [Nr] Name Type Address Off Size ES " "Flg Lk Inf Al\n" msgstr "" -#: readelf.c:3402 +#: readelf.c:3487 msgid " [Nr] Name Type Address Offset\n" msgstr "" -#: readelf.c:3403 +#: readelf.c:3488 msgid " Size EntSize Flags Link Info Align\n" msgstr "" -#: readelf.c:3498 +#: readelf.c:3583 msgid "" "Key to Flags:\n" " W (write), A (alloc), X (execute), M (merge), S (strings)\n" @@ -2658,500 +2660,500 @@ msgid "" " O (extra OS processing required) o (OS specific), p (processor specific)\n" msgstr "" -#: readelf.c:3559 +#: readelf.c:3644 #, c-format msgid "" "\n" "Relocation section at offset 0x%lx contains %ld bytes:\n" msgstr "" -#: readelf.c:3566 +#: readelf.c:3651 msgid "" "\n" "There are no dynamic relocations in this file.\n" msgstr "" -#: readelf.c:3593 +#: readelf.c:3678 msgid "" "\n" "Relocation section " msgstr "" -#: readelf.c:3598 readelf.c:4031 readelf.c:4045 +#: readelf.c:3683 readelf.c:4116 readelf.c:4130 #, c-format msgid "'%s'" msgstr "" -#: readelf.c:3600 readelf.c:4047 +#: readelf.c:3685 readelf.c:4132 #, c-format msgid " at offset 0x%lx contains %lu entries:\n" msgstr "" -#: readelf.c:3638 +#: readelf.c:3723 msgid "" "\n" "There are no relocations in this file.\n" msgstr "" -#: readelf.c:3834 +#: readelf.c:3919 msgid "unwind table" msgstr "" -#: readelf.c:3885 readelf.c:3897 readelf.c:7890 readelf.c:7901 +#: readelf.c:3970 readelf.c:3982 readelf.c:7977 readelf.c:7989 #, c-format msgid "Skipping unexpected symbol type %u\n" msgstr "" -#: readelf.c:3905 +#: readelf.c:3990 #, c-format msgid "Skipping unexpected relocation type %s\n" msgstr "" -#: readelf.c:3950 readelf.c:3975 +#: readelf.c:4035 readelf.c:4060 msgid "" "\n" "There are no unwind sections in this file.\n" msgstr "" -#: readelf.c:4026 +#: readelf.c:4111 msgid "" "\n" "Could not find unwind info section for " msgstr "" -#: readelf.c:4038 +#: readelf.c:4123 msgid "unwind info" msgstr "" -#: readelf.c:4040 +#: readelf.c:4125 msgid "" "\n" "Unwind section " msgstr "" -#: readelf.c:4213 readelf.c:4256 +#: readelf.c:4298 readelf.c:4341 msgid "dynamic segment" msgstr "" -#: readelf.c:4334 +#: readelf.c:4419 msgid "" "\n" "There is no dynamic segment in this file.\n" msgstr "" -#: readelf.c:4368 +#: readelf.c:4453 msgid "Unable to seek to end of file!" msgstr "" -#: readelf.c:4379 +#: readelf.c:4464 msgid "Unable to determine the number of symbols to load\n" msgstr "" -#: readelf.c:4409 +#: readelf.c:4494 msgid "Unable to seek to end of file\n" msgstr "" -#: readelf.c:4415 +#: readelf.c:4500 msgid "Unable to determine the length of the dynamic string table\n" msgstr "" -#: readelf.c:4420 +#: readelf.c:4505 msgid "dynamic string table" msgstr "" -#: readelf.c:4454 +#: readelf.c:4539 msgid "symbol information" msgstr "" -#: readelf.c:4478 +#: readelf.c:4563 #, c-format msgid "" "\n" "Dynamic segment at offset 0x%x contains %ld entries:\n" msgstr "" -#: readelf.c:4481 +#: readelf.c:4566 msgid " Tag Type Name/Value\n" msgstr "" -#: readelf.c:4517 +#: readelf.c:4602 msgid "Auxiliary library" msgstr "" -#: readelf.c:4521 +#: readelf.c:4606 msgid "Filter library" msgstr "" -#: readelf.c:4525 +#: readelf.c:4610 msgid "Configuration file" msgstr "" -#: readelf.c:4529 +#: readelf.c:4614 msgid "Dependency audit library" msgstr "" -#: readelf.c:4533 +#: readelf.c:4618 msgid "Audit library" msgstr "" -#: readelf.c:4551 readelf.c:4577 readelf.c:4603 +#: readelf.c:4636 readelf.c:4662 readelf.c:4688 msgid "Flags:" msgstr "" -#: readelf.c:4553 readelf.c:4579 readelf.c:4605 +#: readelf.c:4638 readelf.c:4664 readelf.c:4690 msgid " None\n" msgstr "" -#: readelf.c:4724 +#: readelf.c:4809 #, c-format msgid "Shared library: [%s]" msgstr "" -#: readelf.c:4727 +#: readelf.c:4812 msgid " program interpreter" msgstr "" -#: readelf.c:4731 +#: readelf.c:4816 #, c-format msgid "Library soname: [%s]" msgstr "" -#: readelf.c:4735 +#: readelf.c:4820 #, c-format msgid "Library rpath: [%s]" msgstr "" -#: readelf.c:4739 +#: readelf.c:4824 #, c-format msgid "Library runpath: [%s]" msgstr "" -#: readelf.c:4802 +#: readelf.c:4887 #, c-format msgid "Not needed object: [%s]\n" msgstr "" -#: readelf.c:4913 +#: readelf.c:4998 #, c-format msgid "" "\n" "Version definition section '%s' contains %ld entries:\n" msgstr "" -#: readelf.c:4916 +#: readelf.c:5001 msgid " Addr: 0x" msgstr "" -#: readelf.c:4918 readelf.c:5113 +#: readelf.c:5003 readelf.c:5198 #, c-format msgid " Offset: %#08lx Link: %lx (%s)\n" msgstr "" -#: readelf.c:4925 +#: readelf.c:5010 msgid "version definition section" msgstr "" -#: readelf.c:4951 +#: readelf.c:5036 #, c-format msgid " %#06x: Rev: %d Flags: %s" msgstr "" -#: readelf.c:4954 +#: readelf.c:5039 #, c-format msgid " Index: %d Cnt: %d " msgstr "" -#: readelf.c:4965 +#: readelf.c:5050 #, c-format msgid "Name: %s\n" msgstr "" -#: readelf.c:4967 +#: readelf.c:5052 #, c-format msgid "Name index: %ld\n" msgstr "" -#: readelf.c:4982 +#: readelf.c:5067 #, c-format msgid " %#06x: Parent %d: %s\n" msgstr "" -#: readelf.c:4985 +#: readelf.c:5070 #, c-format msgid " %#06x: Parent %d, name index: %ld\n" msgstr "" -#: readelf.c:5004 +#: readelf.c:5089 #, c-format msgid "" "\n" "Version needs section '%s' contains %ld entries:\n" msgstr "" -#: readelf.c:5007 +#: readelf.c:5092 msgid " Addr: 0x" msgstr "" -#: readelf.c:5009 +#: readelf.c:5094 #, c-format msgid " Offset: %#08lx Link to section: %ld (%s)\n" msgstr "" -#: readelf.c:5015 +#: readelf.c:5100 msgid "version need section" msgstr "" -#: readelf.c:5037 +#: readelf.c:5122 #, c-format msgid " %#06x: Version: %d" msgstr "" -#: readelf.c:5040 +#: readelf.c:5125 #, c-format msgid " File: %s" msgstr "" -#: readelf.c:5042 +#: readelf.c:5127 #, c-format msgid " File: %lx" msgstr "" -#: readelf.c:5044 +#: readelf.c:5129 #, c-format msgid " Cnt: %d\n" msgstr "" -#: readelf.c:5062 +#: readelf.c:5147 #, c-format msgid " %#06x: Name: %s" msgstr "" -#: readelf.c:5065 +#: readelf.c:5150 #, c-format msgid " %#06x: Name index: %lx" msgstr "" -#: readelf.c:5068 +#: readelf.c:5153 #, c-format msgid " Flags: %s Version: %d\n" msgstr "" -#: readelf.c:5104 +#: readelf.c:5189 msgid "version string table" msgstr "" -#: readelf.c:5108 +#: readelf.c:5193 #, c-format msgid "" "\n" "Version symbols section '%s' contains %d entries:\n" msgstr "" -#: readelf.c:5111 +#: readelf.c:5196 msgid " Addr: " msgstr "" -#: readelf.c:5121 +#: readelf.c:5206 msgid "version symbol data" msgstr "" -#: readelf.c:5148 +#: readelf.c:5233 msgid " 0 (*local*) " msgstr "" -#: readelf.c:5152 +#: readelf.c:5237 msgid " 1 (*global*) " msgstr "" -#: readelf.c:5187 readelf.c:5622 +#: readelf.c:5272 readelf.c:5707 msgid "version need" msgstr "" -#: readelf.c:5197 +#: readelf.c:5282 msgid "version need aux (2)" msgstr "" -#: readelf.c:5238 readelf.c:5684 +#: readelf.c:5323 readelf.c:5769 msgid "version def" msgstr "" -#: readelf.c:5257 readelf.c:5699 +#: readelf.c:5342 readelf.c:5784 msgid "version def aux" msgstr "" -#: readelf.c:5288 +#: readelf.c:5373 msgid "" "\n" "No version information found in this file.\n" msgstr "" -#: readelf.c:5420 +#: readelf.c:5505 msgid "Unable to read in dynamic data\n" msgstr "" -#: readelf.c:5462 +#: readelf.c:5547 msgid "Unable to seek to start of dynamic information" msgstr "" -#: readelf.c:5468 +#: readelf.c:5553 msgid "Failed to read in number of buckets\n" msgstr "" -#: readelf.c:5474 +#: readelf.c:5559 msgid "Failed to read in number of chains\n" msgstr "" -#: readelf.c:5494 +#: readelf.c:5579 msgid "" "\n" "Symbol table for image:\n" msgstr "" -#: readelf.c:5496 +#: readelf.c:5581 msgid " Num Buc: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:5498 +#: readelf.c:5583 msgid " Num Buc: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:5543 +#: readelf.c:5628 #, c-format msgid "" "\n" "Symbol table '%s' contains %lu entries:\n" msgstr "" -#: readelf.c:5547 +#: readelf.c:5632 msgid " Num: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:5549 +#: readelf.c:5634 msgid " Num: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:5595 +#: readelf.c:5680 msgid "version data" msgstr "" -#: readelf.c:5635 +#: readelf.c:5720 msgid "version need aux (3)" msgstr "" -#: readelf.c:5660 +#: readelf.c:5745 msgid "bad dynamic symbol" msgstr "" -#: readelf.c:5722 +#: readelf.c:5807 msgid "" "\n" "Dynamic symbol information is not available for displaying symbols.\n" msgstr "" -#: readelf.c:5734 +#: readelf.c:5819 #, c-format msgid "" "\n" "Histogram for bucket list length (total of %d buckets):\n" msgstr "" -#: readelf.c:5736 +#: readelf.c:5821 #, c-format msgid " Length Number %% of total Coverage\n" msgstr "" -#: readelf.c:5741 readelf.c:5760 readelf.c:9146 readelf.c:9338 +#: readelf.c:5826 readelf.c:5845 readelf.c:9234 readelf.c:9426 msgid "Out of memory" msgstr "" -#: readelf.c:5809 +#: readelf.c:5894 #, c-format msgid "" "\n" "Dynamic info segment at offset 0x%lx contains %d entries:\n" msgstr "" -#: readelf.c:5812 +#: readelf.c:5897 msgid " Num: Name BoundTo Flags\n" msgstr "" -#: readelf.c:5864 +#: readelf.c:5949 #, c-format msgid "" "\n" "Assembly dump of section %s\n" msgstr "" -#: readelf.c:5887 +#: readelf.c:5972 #, c-format msgid "" "\n" "Section '%s' has no data to dump.\n" msgstr "" -#: readelf.c:5892 +#: readelf.c:5977 #, c-format msgid "" "\n" "Hex dump of section '%s':\n" msgstr "" -#: readelf.c:5897 +#: readelf.c:5982 msgid "section data" msgstr "" -#: readelf.c:6046 +#: readelf.c:6131 msgid "badly formed extended line op encountered!\n" msgstr "" -#: readelf.c:6053 +#: readelf.c:6138 #, c-format msgid " Extended opcode %d: " msgstr "" -#: readelf.c:6058 +#: readelf.c:6143 msgid "" "End of Sequence\n" "\n" msgstr "" -#: readelf.c:6064 +#: readelf.c:6149 #, c-format msgid "set Address to 0x%lx\n" msgstr "" -#: readelf.c:6069 +#: readelf.c:6154 msgid " define new File Table entry\n" msgstr "" -#: readelf.c:6070 readelf.c:6199 +#: readelf.c:6155 readelf.c:6284 msgid " Entry\tDir\tTime\tSize\tName\n" msgstr "" -#: readelf.c:6072 +#: readelf.c:6157 #, c-format msgid " %d\t" msgstr "" -#: readelf.c:6075 readelf.c:6077 readelf.c:6079 readelf.c:6211 readelf.c:6213 -#: readelf.c:6215 +#: readelf.c:6160 readelf.c:6162 readelf.c:6164 readelf.c:6296 readelf.c:6298 +#: readelf.c:6300 #, c-format msgid "%lu\t" msgstr "" -#: readelf.c:6080 +#: readelf.c:6165 #, c-format msgid "" "%s\n" "\n" msgstr "" -#: readelf.c:6084 +#: readelf.c:6169 #, c-format msgid "UNKNOWN: length %d\n" msgstr "" -#: readelf.c:6110 +#: readelf.c:6195 #, c-format msgid "" "\n" @@ -3159,672 +3161,672 @@ msgid "" "\n" msgstr "" -#: readelf.c:6122 +#: readelf.c:6207 msgid "64-bit DWARF line info is not supported yet.\n" msgstr "" -#: readelf.c:6129 +#: readelf.c:6214 msgid "The line info appears to be corrupt - the section is too small\n" msgstr "" -#: readelf.c:6137 +#: readelf.c:6222 msgid "Only DWARF version 2 line info is currently supported.\n" msgstr "" -#: readelf.c:6152 +#: readelf.c:6237 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:6153 +#: readelf.c:6238 #, c-format msgid " DWARF Version: %d\n" msgstr "" -#: readelf.c:6154 +#: readelf.c:6239 #, c-format msgid " Prologue Length: %d\n" msgstr "" -#: readelf.c:6155 +#: readelf.c:6240 #, c-format msgid " Minimum Instruction Length: %d\n" msgstr "" -#: readelf.c:6156 +#: readelf.c:6241 #, c-format msgid " Initial value of 'is_stmt': %d\n" msgstr "" -#: readelf.c:6157 +#: readelf.c:6242 #, c-format msgid " Line Base: %d\n" msgstr "" -#: readelf.c:6158 +#: readelf.c:6243 #, c-format msgid " Line Range: %d\n" msgstr "" -#: readelf.c:6159 +#: readelf.c:6244 #, c-format msgid " Opcode Base: %d\n" msgstr "" -#: readelf.c:6168 +#: readelf.c:6253 msgid "" "\n" " Opcodes:\n" msgstr "" -#: readelf.c:6171 +#: readelf.c:6256 #, c-format msgid " Opcode %d has %d args\n" msgstr "" -#: readelf.c:6177 +#: readelf.c:6262 msgid "" "\n" " The Directory Table is empty.\n" msgstr "" -#: readelf.c:6180 +#: readelf.c:6265 msgid "" "\n" " The Directory Table:\n" msgstr "" -#: readelf.c:6184 +#: readelf.c:6269 #, c-format msgid " %s\n" msgstr "" -#: readelf.c:6195 +#: readelf.c:6280 msgid "" "\n" " The File Name Table is empty.\n" msgstr "" -#: readelf.c:6198 +#: readelf.c:6283 msgid "" "\n" " The File Name Table:\n" msgstr "" -#: readelf.c:6206 +#: readelf.c:6291 #, c-format msgid " %d\t" msgstr "" -#: readelf.c:6217 +#: readelf.c:6302 #, c-format msgid "%s\n" msgstr "" #. Now display the statements. -#: readelf.c:6225 +#: readelf.c:6310 msgid "" "\n" " Line Number Statements:\n" msgstr "" -#: readelf.c:6241 +#: readelf.c:6326 #, c-format msgid " Special opcode %d: advance Address by %d to 0x%lx" msgstr "" -#: readelf.c:6245 +#: readelf.c:6330 #, c-format msgid " and Line by %d to %d\n" msgstr "" -#: readelf.c:6256 +#: readelf.c:6341 msgid " Copy\n" msgstr "" -#: readelf.c:6263 +#: readelf.c:6348 #, c-format msgid " Advance PC by %d to %lx\n" msgstr "" -#: readelf.c:6271 +#: readelf.c:6356 #, c-format msgid " Advance Line by %d to %d\n" msgstr "" -#: readelf.c:6278 +#: readelf.c:6363 #, c-format msgid " Set File Name to entry %d in the File Name Table\n" msgstr "" -#: readelf.c:6286 +#: readelf.c:6371 #, c-format msgid " Set column to %d\n" msgstr "" -#: readelf.c:6293 +#: readelf.c:6378 #, c-format msgid " Set is_stmt to %d\n" msgstr "" -#: readelf.c:6298 +#: readelf.c:6383 msgid " Set basic block\n" msgstr "" -#: readelf.c:6306 +#: readelf.c:6391 #, c-format msgid " Advance PC by constant %d to 0x%lx\n" msgstr "" -#: readelf.c:6314 +#: readelf.c:6399 #, c-format msgid " Advance PC by fixed size amount %d to 0x%lx\n" msgstr "" -#: readelf.c:6319 +#: readelf.c:6404 msgid " Set prologue_end to true\n" msgstr "" -#: readelf.c:6323 +#: readelf.c:6408 msgid " Set epilogue_begin to true\n" msgstr "" -#: readelf.c:6329 +#: readelf.c:6414 #, c-format msgid " Set ISA to %d\n" msgstr "" -#: readelf.c:6333 +#: readelf.c:6418 #, c-format msgid " Unknown opcode %d with operands: " msgstr "" -#: readelf.c:6365 readelf.c:6827 readelf.c:6899 +#: readelf.c:6450 readelf.c:6912 readelf.c:6984 #, c-format msgid "" "Contents of the %s section:\n" "\n" msgstr "" -#: readelf.c:6384 +#: readelf.c:6469 msgid "64-bit DWARF pubnames are not supported yet.\n" msgstr "" -#: readelf.c:6394 +#: readelf.c:6479 msgid "Only DWARF 2 pubnames are currently supported\n" msgstr "" -#: readelf.c:6401 +#: readelf.c:6486 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:6403 +#: readelf.c:6488 #, c-format msgid " Version: %d\n" msgstr "" -#: readelf.c:6405 +#: readelf.c:6490 #, c-format msgid " Offset into .debug_info section: %ld\n" msgstr "" -#: readelf.c:6407 +#: readelf.c:6492 #, c-format msgid " Size of area in .debug_info section: %ld\n" msgstr "" -#: readelf.c:6410 +#: readelf.c:6495 msgid "" "\n" " Offset\tName\n" msgstr "" -#: readelf.c:6501 +#: readelf.c:6586 #, c-format msgid "Unknown TAG value: %lx" msgstr "" -#: readelf.c:6612 +#: readelf.c:6697 #, c-format msgid "Unknown AT value: %lx" msgstr "" -#: readelf.c:6649 +#: readelf.c:6734 #, c-format msgid "Unknown FORM value: %lx" msgstr "" -#: readelf.c:6848 +#: readelf.c:6933 #, c-format msgid " DW_MACINFO_start_file - lineno: %d filenum: %d\n" msgstr "" -#: readelf.c:6853 +#: readelf.c:6938 msgid " DW_MACINFO_end_file\n" msgstr "" -#: readelf.c:6861 +#: readelf.c:6946 #, c-format msgid " DW_MACINFO_define - lineno : %d macro : %s\n" msgstr "" -#: readelf.c:6869 +#: readelf.c:6954 #, c-format msgid " DW_MACINFO_undef - lineno : %d macro : %s\n" msgstr "" -#: readelf.c:6880 +#: readelf.c:6965 #, c-format msgid " DW_MACINFO_vendor_ext - constant : %d string : %s\n" msgstr "" -#: readelf.c:6908 +#: readelf.c:6993 msgid " Number TAG\n" msgstr "" -#: readelf.c:6914 +#: readelf.c:6999 #, c-format msgid " %ld %s [%s]\n" msgstr "" -#: readelf.c:6917 +#: readelf.c:7002 msgid "has children" msgstr "" -#: readelf.c:6917 +#: readelf.c:7002 msgid "no children" msgstr "" -#: readelf.c:6921 +#: readelf.c:7006 #, c-format msgid " %-18s %s\n" msgstr "" -#: readelf.c:6942 +#: readelf.c:7027 #, c-format msgid " %lu byte block: " msgstr "" -#: readelf.c:7265 +#: readelf.c:7350 msgid "(User defined location op)" msgstr "" -#: readelf.c:7267 +#: readelf.c:7352 msgid "(Unknown location op)" msgstr "" -#: readelf.c:7305 +#: readelf.c:7390 msgid "debug_loc section data" msgstr "" -#: readelf.c:7336 +#: readelf.c:7421 msgid "" "\n" "The .debug_loc section is empty.\n" msgstr "" -#: readelf.c:7339 +#: readelf.c:7424 msgid "" "Contents of the .debug_loc section:\n" "\n" msgstr "" -#: readelf.c:7340 +#: readelf.c:7425 msgid "" "\n" " Offset Begin End Expression\n" msgstr "" -#: readelf.c:7412 +#: readelf.c:7497 msgid "debug_str section data" msgstr "" -#: readelf.c:7431 +#: readelf.c:7516 msgid "<no .debug_str section>" msgstr "" -#: readelf.c:7434 +#: readelf.c:7519 msgid "<offset is too big>" msgstr "" -#: readelf.c:7454 +#: readelf.c:7539 msgid "" "\n" "The .debug_str section is empty.\n" msgstr "" -#: readelf.c:7458 +#: readelf.c:7543 msgid "" "Contents of the .debug_str section:\n" "\n" msgstr "" -#: readelf.c:7629 +#: readelf.c:7714 #, c-format msgid " (indirect string, offset: 0x%lx): " msgstr "" -#: readelf.c:7638 +#: readelf.c:7723 #, c-format msgid "Unrecognized form: %d\n" msgstr "" -#: readelf.c:7651 +#: readelf.c:7736 msgid "(not inlined)" msgstr "" -#: readelf.c:7652 +#: readelf.c:7737 msgid "(inlined)" msgstr "" -#: readelf.c:7653 +#: readelf.c:7738 msgid "(declared as inline but ignored)" msgstr "" -#: readelf.c:7654 +#: readelf.c:7739 msgid "(declared as inline and inlined)" msgstr "" -#: readelf.c:7655 +#: readelf.c:7740 #, c-format msgid " (Unknown inline attribute value: %lx)" msgstr "" -#: readelf.c:7826 readelf.c:8029 +#: readelf.c:7911 readelf.c:8117 #, c-format msgid "" "The section %s contains:\n" "\n" msgstr "" -#: readelf.c:7850 +#: readelf.c:7935 msgid "64-bit DWARF debug info is not supported yet.\n" msgstr "" -#: readelf.c:7919 +#: readelf.c:8007 #, c-format msgid " Compilation Unit @ %lx:\n" msgstr "" -#: readelf.c:7920 +#: readelf.c:8008 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:7921 +#: readelf.c:8009 #, c-format msgid " Version: %d\n" msgstr "" -#: readelf.c:7922 +#: readelf.c:8010 #, c-format msgid " Abbrev Offset: %ld\n" msgstr "" -#: readelf.c:7923 +#: readelf.c:8011 #, c-format msgid " Pointer Size: %d\n" msgstr "" -#: readelf.c:7927 +#: readelf.c:8015 msgid "Only version 2 DWARF debug information is currently supported.\n" msgstr "" -#: readelf.c:7948 +#: readelf.c:8036 msgid "Unable to locate .debug_abbrev section!\n" msgstr "" -#: readelf.c:7954 +#: readelf.c:8042 msgid "debug_abbrev section data" msgstr "" -#: readelf.c:7991 +#: readelf.c:8079 #, c-format msgid "Unable to locate entry %lu in the abbreviation table\n" msgstr "" -#: readelf.c:7996 +#: readelf.c:8084 #, c-format msgid " <%d><%lx>: Abbrev Number: %lu (%s)\n" msgstr "" -#: readelf.c:8050 +#: readelf.c:8138 msgid "64-bit DWARF aranges are not supported yet.\n" msgstr "" -#: readelf.c:8056 +#: readelf.c:8144 msgid "Only DWARF 2 aranges are currently supported.\n" msgstr "" -#: readelf.c:8060 +#: readelf.c:8148 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:8061 +#: readelf.c:8149 #, c-format msgid " Version: %d\n" msgstr "" -#: readelf.c:8062 +#: readelf.c:8150 #, c-format msgid " Offset into .debug_info: %lx\n" msgstr "" -#: readelf.c:8063 +#: readelf.c:8151 #, c-format msgid " Pointer Size: %d\n" msgstr "" -#: readelf.c:8064 +#: readelf.c:8152 #, c-format msgid " Segment Size: %d\n" msgstr "" -#: readelf.c:8066 +#: readelf.c:8154 msgid "" "\n" " Address Length\n" msgstr "" -#: readelf.c:8248 +#: readelf.c:8336 #, c-format msgid "The section %s contains:\n" msgstr "" -#: readelf.c:8271 +#: readelf.c:8359 msgid "64-bit DWARF format frames are not supported yet.\n" msgstr "" -#: readelf.c:8820 +#: readelf.c:8908 #, c-format msgid "Displaying the debug contents of section %s is not yet supported.\n" msgstr "" -#: readelf.c:8886 +#: readelf.c:8974 #, c-format msgid "" "\n" "Section '%s' has no debugging data.\n" msgstr "" -#: readelf.c:8891 readelf.c:8953 +#: readelf.c:8979 readelf.c:9041 msgid "debug section data" msgstr "" -#: readelf.c:8907 +#: readelf.c:8995 #, c-format msgid "Unrecognized debug section: %s\n" msgstr "" -#: readelf.c:8981 +#: readelf.c:9069 msgid "Some sections were not dumped because they do not exist!\n" msgstr "" -#: readelf.c:9054 readelf.c:9418 +#: readelf.c:9142 readelf.c:9506 msgid "liblist" msgstr "" -#: readelf.c:9139 +#: readelf.c:9227 msgid "options" msgstr "" -#: readelf.c:9170 +#: readelf.c:9258 #, c-format msgid "" "\n" "Section '%s' contains %d entries:\n" msgstr "" -#: readelf.c:9331 +#: readelf.c:9419 msgid "conflict list found without a dynamic symbol table" msgstr "" -#: readelf.c:9349 readelf.c:9365 +#: readelf.c:9437 readelf.c:9453 msgid "conflict" msgstr "" -#: readelf.c:9375 +#: readelf.c:9463 #, c-format msgid "" "\n" "Section '.conflict' contains %ld entries:\n" msgstr "" -#: readelf.c:9377 +#: readelf.c:9465 msgid " Num: Index Value Name" msgstr "" -#: readelf.c:9426 +#: readelf.c:9514 msgid "liblist string table" msgstr "" -#: readelf.c:9435 +#: readelf.c:9523 #, c-format msgid "" "\n" "Library list section '%s' contains %lu entries:\n" msgstr "" -#: readelf.c:9484 +#: readelf.c:9572 msgid "NT_PRSTATUS (prstatus structure)" msgstr "" -#: readelf.c:9485 +#: readelf.c:9573 msgid "NT_FPREGSET (floating point registers)" msgstr "" -#: readelf.c:9486 +#: readelf.c:9574 msgid "NT_PRPSINFO (prpsinfo structure)" msgstr "" -#: readelf.c:9487 +#: readelf.c:9575 msgid "NT_TASKSTRUCT (task structure)" msgstr "" -#: readelf.c:9488 +#: readelf.c:9576 msgid "NT_PRXFPREG (user_xfpregs structure)" msgstr "" -#: readelf.c:9489 +#: readelf.c:9577 msgid "NT_PSTATUS (pstatus structure)" msgstr "" -#: readelf.c:9490 +#: readelf.c:9578 msgid "NT_FPREGS (floating point registers)" msgstr "" -#: readelf.c:9491 +#: readelf.c:9579 msgid "NT_PSINFO (psinfo structure)" msgstr "" -#: readelf.c:9492 +#: readelf.c:9580 msgid "NT_LWPSTATUS (lwpstatus_t structure)" msgstr "" -#: readelf.c:9493 +#: readelf.c:9581 msgid "NT_LWPSINFO (lwpsinfo_t structure)" msgstr "" -#: readelf.c:9494 +#: readelf.c:9582 msgid "NT_WIN32PSTATUS (win32_pstatus structure)" msgstr "" -#: readelf.c:9496 readelf.c:9520 +#: readelf.c:9584 readelf.c:9608 #, c-format msgid "Unknown note type: (0x%08x)" msgstr "" #. NetBSD core "procinfo" structure. -#: readelf.c:9510 +#: readelf.c:9598 msgid "NetBSD procinfo structure" msgstr "" -#: readelf.c:9537 readelf.c:9551 +#: readelf.c:9625 readelf.c:9639 msgid "PT_GETREGS (reg structure)" msgstr "" -#: readelf.c:9539 readelf.c:9553 +#: readelf.c:9627 readelf.c:9641 msgid "PT_GETFPREGS (fpreg structure)" msgstr "" -#: readelf.c:9559 +#: readelf.c:9647 #, c-format msgid "PT_FIRSTMACH+%d" msgstr "" -#: readelf.c:9613 +#: readelf.c:9701 msgid "notes" msgstr "" -#: readelf.c:9619 +#: readelf.c:9707 #, c-format msgid "" "\n" "Notes at offset 0x%08lx with length 0x%08lx:\n" msgstr "" -#: readelf.c:9621 +#: readelf.c:9709 msgid " Owner\t\tData size\tDescription\n" msgstr "" -#: readelf.c:9640 +#: readelf.c:9728 #, c-format msgid "corrupt note found at offset %x into core notes\n" msgstr "" -#: readelf.c:9642 +#: readelf.c:9730 #, c-format msgid " type: %x, namesize: %08lx, descsize: %08lx\n" msgstr "" -#: readelf.c:9744 +#: readelf.c:9832 msgid "No note segments present in the core file.\n" msgstr "" -#: readelf.c:9822 +#: readelf.c:9910 msgid "" "This instance of readelf has been built without support for a\n" "64 bit data type and so it cannot read 64 bit ELF files.\n" msgstr "" -#: readelf.c:9868 +#: readelf.c:9956 #, c-format msgid "Cannot stat input file %s.\n" msgstr "" -#: readelf.c:9875 +#: readelf.c:9963 #, c-format msgid "Input file %s not found.\n" msgstr "" -#: readelf.c:9881 +#: readelf.c:9969 #, c-format msgid "%s: Failed to read file header\n" msgstr "" -#: readelf.c:9895 +#: readelf.c:9983 #, c-format msgid "" "\n" diff --git a/contrib/binutils/binutils/readelf.c b/contrib/binutils/binutils/readelf.c index e053cba..d397032 100644 --- a/contrib/binutils/binutils/readelf.c +++ b/contrib/binutils/binutils/readelf.c @@ -7949,7 +7949,8 @@ display_debug_info (section, start, file) Elf_Internal_Sym *sym; if (relsec->sh_type != SHT_RELA - || SECTION_HEADER (relsec->sh_info) != section) + || SECTION_HEADER (relsec->sh_info) != section + || relsec->sh_size == 0) continue; if (!slurp_rela_relocs (file, relsec->sh_offset, relsec->sh_size, @@ -7970,7 +7971,8 @@ display_debug_info (section, start, file) { sym = symtab + ELF32_R_SYM (rp->r_info); - if (ELF32_ST_TYPE (sym->st_info) != STT_SECTION) + if (ELF32_R_SYM (rp->r_info) != 0 + && ELF32_ST_TYPE (sym->st_info) != STT_SECTION) { warn (_("Skipping unexpected symbol type %u\n"), ELF32_ST_TYPE (sym->st_info)); @@ -7981,7 +7983,8 @@ display_debug_info (section, start, file) { sym = symtab + ELF64_R_SYM (rp->r_info); - if (ELF64_ST_TYPE (sym->st_info) != STT_SECTION) + if (ELF64_R_SYM (rp->r_info) != 0 + && ELF64_ST_TYPE (sym->st_info) != STT_SECTION) { warn (_("Skipping unexpected symbol type %u\n"), ELF64_ST_TYPE (sym->st_info)); @@ -7989,7 +7992,7 @@ display_debug_info (section, start, file) } } - compunit.cu_abbrev_offset += rp->r_addend; + compunit.cu_abbrev_offset = rp->r_addend; break; } diff --git a/contrib/binutils/etc/ChangeLog b/contrib/binutils/etc/ChangeLog index ffd021f..debe735 100644 --- a/contrib/binutils/etc/ChangeLog +++ b/contrib/binutils/etc/ChangeLog @@ -1,3 +1,40 @@ +2002-06-11 Nick Clifton <nickc@cambridge.redhat.com> + + Import the following patches from the FSF GCC sources: + 2002-03-25 Zack Weinberg <zack@codesourcery.com> + + * texi2pod.pl: Handle @end ftable and @end vtable. + + 2001-12-12 Matthias Klose <doko@debian.org> + + * texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows + generation of more than one man page from one source. + Add '-' to set of valid chars for an identifier. + Let -D option accept flags of the form <flag>=<value>. + Use \s+ for whitespace detection in '@c man' lines. + Handle @set and @clear independent of $output. + Substitute all @value{}'s in a line. + + 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk> + + * texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var + in verbatim blocks specially. Handle @unnumbered, @unnumberedsec + and @center. Allow [a-z] after @enumerate. Handle 0 and numbers + greater than 9 in enumerations. + + 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk> + + * texi2pod.pl: Handle @r inside @item. + +2002-02-27 Andrew Cagney <ac131313@redhat.com> + + * fdl.texi: New file. + +2002-02-24 Andrew Cagney <ac131313@redhat.com> + + * standards.texi: Import February 14, 2002 version. + * make-stds.texi: Import 2001 version. + 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> * Makefile.in (install): Depend on install-info. @@ -10,7 +47,7 @@ * add-log.el, add-log.vi: New files. -Wed Jan 20 01:33:50 1999 Angela Marie Thomas (angela@cygnus.com) +1999-01-20 Angela Marie Thomas (angela@cygnus.com) * comp-tools-verify: Remove some checks that are no longer valid. @@ -18,16 +55,16 @@ Wed Jan 20 01:33:50 1999 Angela Marie Thomas (angela@cygnus.com) * targetdoc/fr30.texi: New document. -Thu Oct 1 21:15:59 1998 Angela Marie Thomas (angela@cygnus.com) +1998-10-01 Angela Marie Thomas (angela@cygnus.com) * comp-tools-fix, cross-tools-fix: Replace /usr/include with ${FIXINCDIR}. -Tue Aug 11 19:22:11 1998 Doug Evans <devans@canuck.cygnus.com> +1998-08-11 Doug Evans <devans@canuck.cygnus.com> * make-rel-sym-tree (version): Update calculation. -Fri Jun 12 21:34:01 1998 Ian Lance Taylor <ian@cygnus.com> +1998-06-12 Ian Lance Taylor <ian@cygnus.com> * configure.texi: Various additions. * Makefile.in (TEXI2HTML, DVIPS): New variables. @@ -42,7 +79,7 @@ Fri Jun 12 21:34:01 1998 Ian Lance Taylor <ian@cygnus.com> * configbuild.ein: New file (EPS version of configbuild.fig). * configbuild.jin: New file (JPEG version of configbuild.fig). -Wed Jun 10 14:41:25 1998 Ian Lance Taylor <ian@cygnus.com> +1998-06-10 Ian Lance Taylor <ian@cygnus.com> * configure.texi: New file. * configdev.tin: New file. diff --git a/contrib/binutils/gas/ChangeLog b/contrib/binutils/gas/ChangeLog index 55fe8f2..94223d0 100644 --- a/contrib/binutils/gas/ChangeLog +++ b/contrib/binutils/gas/ChangeLog @@ -1,3 +1,91 @@ +2002-11-20 Alan Modra <amodra@bigpond.net.au> + + * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with + fx_subsy non-NULL. + +2002-11-19 Richard Henderson <rth@redhat.com> + + * config/obj-elf.c (obj_elf_visibility): Overwrite only the + visibility portion of st_other. + +2002-11-19 Luke Deller <luked@cse.unsw.edu.au> + + * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL. + +2002-11-13 Alan Modra <amodra@bigpond.net.au> + + Merge from mainline. + 2002-09-04 Alan Modra <amodra@bigpond.net.au> + * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning. + (md_parse_option): No -a64 without BFD64. + (ppc_set_cpu): Select appropriate cpu when ppc_obj64. + (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000. + +2002-11-06 Richard Henderson <rth@redhat.com> + + * config/tc-alpha.c (alpha_validate_fix): Move code ... + (alpha_fix_adjustable): ... here. + * config/tc-alpha.h (TC_VALIDATE_FIX): Remove. + +2002-11-05 H.J. Lu <hjl@gnu.org> + + * config/tc-mips.c (support_64bit_objects): Check *l before it + is freed. + +2002-10-31 David O'Brien <obrien@FreeBSD.org> + + * config/tc-ia64.c: Cast dwarf2_directive_file to int. + * config/tc-sparc.c: Likewise. + * config/tc-alpha.c: Cast s_alpha_file to int. + * config/tc-alpha.h (TC_INIT_FIX_DATA): info is of type struct + alpha_reloc_tag. + +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * configure.in: Update ARM CPU patterns. + * configure: Regenerated. + +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * po/gas.pot: Regenerated. + +2002-10-29 Daniel Jacobowitz <drow@mvista.com> + + * itbl-lex.l: Use #include <> for generated headers. + * itbl-ops.c: Likewise. + +2002-08-24 Andreas Schwab <schwab@suse.de> + + * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust symbols + in merge sections. + +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + * doc/gasp.texi: Fix typo in last typo fix. + +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-21 Richard Sandiford <rsandifo@redhat.com> + * config/tc-mips.c (mips_need_elf_addend_fixup): Return true + for relocs against symbols in a merged section. + + Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com> + * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n + inside loop. + +2002-10-17 Johannes Stezenbach <js@convergence.de> + + * itbl-parse.y (entry): Provide empty action. + +2002-10-14 Momchil Velikov <velco@fadata.bg> + + * config/tc-v850.c (CHECK_): Remove token pasting operator. + +2002-10-11 David O'Brien <obrien@FreeBSD.org> + + * gas/gasp.texi: Fix typo in noting that gasp is now deprecated. + 2002-10-11 Michel Six <msix@ccr.jussieu.fr> Alan Modra <amodra@bigpond.net.au> diff --git a/contrib/binutils/gas/config/obj-elf.c b/contrib/binutils/gas/config/obj-elf.c index 2266952..bbfbf40 100644 --- a/contrib/binutils/gas/config/obj-elf.c +++ b/contrib/binutils/gas/config/obj-elf.c @@ -547,7 +547,8 @@ obj_elf_visibility (visibility) assert (elfsym); - elfsym->internal_elf_sym.st_other = visibility; + elfsym->internal_elf_sym.st_other &= ~3; + elfsym->internal_elf_sym.st_other |= visibility; if (c == ',') { diff --git a/contrib/binutils/gas/config/tc-alpha.c b/contrib/binutils/gas/config/tc-alpha.c index 6ebd154..b9faadf 100644 --- a/contrib/binutils/gas/config/tc-alpha.c +++ b/contrib/binutils/gas/config/tc-alpha.c @@ -1412,49 +1412,6 @@ alpha_define_label (sym) alpha_insn_label = sym; } -/* If we have a BRSGP reloc to a local symbol, adjust it to BRADDR and - let it get resolved at assembly time. */ - -void -alpha_validate_fix (f) - fixS *f; -{ -#ifdef OBJ_ELF - int offset = 0; - const char *name; - - if (f->fx_r_type != BFD_RELOC_ALPHA_BRSGP) - return; - - if (! S_IS_DEFINED (f->fx_addsy)) - return; - - switch (S_GET_OTHER (f->fx_addsy) & STO_ALPHA_STD_GPLOAD) - { - case STO_ALPHA_NOPV: - break; - case STO_ALPHA_STD_GPLOAD: - offset = 8; - break; - default: - if (S_IS_LOCAL (f->fx_addsy)) - name = "<local>"; - else - name = S_GET_NAME (f->fx_addsy); - as_bad_where (f->fx_file, f->fx_line, - _("!samegp reloc against symbol without .prologue: %s"), - name); - break; - } - - if (! (S_IS_EXTERN (f->fx_addsy) || S_IS_WEAK (f->fx_addsy))) - { - f->fx_r_type = BFD_RELOC_23_PCREL_S2; - f->fx_offset += offset; - } -#endif -} - /* Return true if we must always emit a reloc for a type and false if there is some hope of resolving it at assembly time. */ @@ -1524,7 +1481,6 @@ alpha_fix_adjustable (f) case BFD_RELOC_ALPHA_GPDISP_HI16: case BFD_RELOC_ALPHA_GPDISP_LO16: case BFD_RELOC_ALPHA_GPDISP: - case BFD_RELOC_ALPHA_BRSGP: return 0; case BFD_RELOC_ALPHA_LITERAL: @@ -1562,6 +1518,39 @@ alpha_fix_adjustable (f) we're preventing this in the other assemblers. Follow for now. */ return 0; + case BFD_RELOC_ALPHA_BRSGP: + /* If we have a BRSGP reloc to a local symbol, adjust it to BRADDR and + let it get resolved at assembly time. */ + { + symbolS *sym = f->fx_addsy; + const char *name; + int offset = 0; + + if (! S_IS_DEFINED (sym)) + return 0; + + switch (S_GET_OTHER (sym) & STO_ALPHA_STD_GPLOAD) + { + case STO_ALPHA_NOPV: + break; + case STO_ALPHA_STD_GPLOAD: + offset = 8; + break; + default: + if (S_IS_LOCAL (sym)) + name = "<local>"; + else + name = S_GET_NAME (sym); + as_bad_where (f->fx_file, f->fx_line, + _("!samegp reloc against symbol without .prologue: %s"), + name); + break; + } + f->fx_r_type = BFD_RELOC_23_PCREL_S2; + f->fx_offset += offset; + return 1; + } + default: return 1; } @@ -4537,7 +4526,12 @@ s_alpha_prologue (ignore) sym = ecoff_get_cur_proc_sym (); else sym = alpha_cur_ent_sym; - know (sym != NULL); + + if (sym == NULL) + { + as_bad (_(".prologue directive without a preceding .ent directive")); + return; + } switch (arg) { @@ -5494,7 +5488,7 @@ const pseudo_typeS md_pseudo_table[] = { {"fmask", s_alpha_mask, 1}, {"frame", s_alpha_frame, 0}, {"prologue", s_alpha_prologue, 0}, - {"file", s_alpha_file, 5}, + {"file", (void (*) PARAMS ((int))) s_alpha_file, 5}, {"loc", s_alpha_loc, 9}, {"stabs", s_alpha_stab, 's'}, {"stabn", s_alpha_stab, 'n'}, diff --git a/contrib/binutils/gas/config/tc-alpha.h b/contrib/binutils/gas/config/tc-alpha.h index 247fea6..12146b7 100644 --- a/contrib/binutils/gas/config/tc-alpha.h +++ b/contrib/binutils/gas/config/tc-alpha.h @@ -46,14 +46,12 @@ #define NEED_LITERAL_POOL #define REPEAT_CONS_EXPRESSIONS -extern void alpha_validate_fix PARAMS ((struct fix *)); extern int alpha_force_relocation PARAMS ((struct fix *)); extern int alpha_fix_adjustable PARAMS ((struct fix *)); extern unsigned long alpha_gprmask, alpha_fprmask; extern valueT alpha_gp_value; -#define TC_VALIDATE_FIX(FIXP,SEGTYPE,SKIP) alpha_validate_fix (FIXP) #define TC_FORCE_RELOCATION(FIXP) alpha_force_relocation (FIXP) #define tc_fix_adjustable(FIXP) alpha_fix_adjustable (FIXP) #define RELOC_REQUIRES_SYMBOL @@ -152,7 +150,7 @@ struct alpha_fix_tag #define TC_INIT_FIX_DATA(fixP) \ do { \ fixP->tc_fix_data.next_reloc = (struct fix *)0; \ - fixP->tc_fix_data.info = (struct alpha_literal_tag *)0; \ + fixP->tc_fix_data.info = (struct alpha_reloc_tag *)0; \ } while (0) /* Work with DEBUG5 to print fields in tc_fix_type. */ diff --git a/contrib/binutils/gas/config/tc-ia64.c b/contrib/binutils/gas/config/tc-ia64.c index ae26ada..a634d80 100644 --- a/contrib/binutils/gas/config/tc-ia64.c +++ b/contrib/binutils/gas/config/tc-ia64.c @@ -4827,7 +4827,7 @@ const pseudo_typeS md_pseudo_table[] = { "body", dot_body, 0 }, { "prologue", dot_prologue, 0 }, { "endp", dot_endp, 0 }, - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { "fframe", dot_fframe, 0 }, diff --git a/contrib/binutils/gas/config/tc-ppc.c b/contrib/binutils/gas/config/tc-ppc.c index c743c54..d7e8e69 100644 --- a/contrib/binutils/gas/config/tc-ppc.c +++ b/contrib/binutils/gas/config/tc-ppc.c @@ -68,14 +68,14 @@ static int set_target_endian = 0; #define PPC_HA(v) PPC_HI ((v) + 0x8000) /* #higher(value) denotes bits 32 through 47 of the indicated value. */ -#define PPC_HIGHER(v) (((v) >> 32) & 0xffff) +#define PPC_HIGHER(v) (((v) >> 16 >> 16) & 0xffff) /* #highera(value) denotes bits 32 through 47 of the indicated value, compensating for #lo() being treated as a signed number. */ #define PPC_HIGHERA(v) PPC_HIGHER ((v) + 0x8000) /* #highest(value) denotes bits 48 through 63 of the indicated value. */ -#define PPC_HIGHEST(v) (((v) >> 48) & 0xffff) +#define PPC_HIGHEST(v) (((v) >> 24 >> 24) & 0xffff) /* #highesta(value) denotes bits 48 through 63 of the indicated value, compensating for #lo being treated as a signed number. */ @@ -852,7 +852,13 @@ md_parse_option (c, arg) /* a64 and a32 determine whether to use XCOFF64 or XCOFF32. */ case 'a': if (strcmp (arg, "64") == 0) - ppc_obj64 = 1; + { +#ifdef BFD64 + ppc_obj64 = 1; +#else + as_fatal (_("%s unsupported"), "-a64"); +#endif + } else if (strcmp (arg, "32") == 0) ppc_obj64 = 0; else @@ -1062,8 +1068,10 @@ ppc_set_cpu () if (ppc_cpu == 0) { - if (strncmp (default_os, "aix", 3) == 0 - && default_os[3] >= '4' && default_os[3] <= '9') + if (ppc_obj64) + ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_64; + else if (strncmp (default_os, "aix", 3) == 0 + && default_os[3] >= '4' && default_os[3] <= '9') ppc_cpu = PPC_OPCODE_COMMON | PPC_OPCODE_32; else if (strncmp (default_os, "aix3", 4) == 0) ppc_cpu = PPC_OPCODE_POWER | PPC_OPCODE_32; @@ -1109,7 +1117,12 @@ ppc_arch () unsigned long ppc_mach () { - return ppc_obj64 ? bfd_mach_ppc64 : bfd_mach_ppc; + if (ppc_obj64) + return bfd_mach_ppc64; + else if (ppc_arch () == bfd_arch_rs6000) + return bfd_mach_rs6k; + else + return bfd_mach_ppc; } extern char* diff --git a/contrib/binutils/gas/config/tc-s390.c b/contrib/binutils/gas/config/tc-s390.c index 4e09ab5..bce0604 100644 --- a/contrib/binutils/gas/config/tc-s390.c +++ b/contrib/binutils/gas/config/tc-s390.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + 02111-1307, USA. */ #include <stdio.h> #include "as.h" @@ -82,7 +82,7 @@ static void s390_literals PARAMS ((int)); const pseudo_typeS md_pseudo_table[] = { { "align", s_align_bytes, 0 }, - /* Pseudo-ops which must be defined. */ + /* Pseudo-ops which must be defined. */ { "bss", s390_bss, 0 }, { "insn", s390_insn, 0 }, /* Pseudo-ops which must be overridden. */ @@ -121,7 +121,7 @@ struct pd_reg sp has the value 15 lit has the value 12 - The table is sorted. Suitable for searching by a binary search. */ + The table is sorted. Suitable for searching by a binary search. */ static const struct pd_reg pre_defined_registers[] = { @@ -312,7 +312,7 @@ const int md_short_jump_size = 4; const int md_long_jump_size = 4; #endif -CONST char *md_shortopts = "A:m:kVQ:"; +const char *md_shortopts = "A:m:kVQ:"; struct option md_longopts[] = { {NULL, no_argument, NULL, 0} }; @@ -560,7 +560,7 @@ s390_insert_operand (insn, operand, val, file, line) { addressT min, max; - max = (((addressT) 1 << (operand->bits - 1))<<1) - 1; + max = (((addressT) 1 << (operand->bits - 1)) << 1) - 1; min = (offsetT) 0; uval = (addressT) val; /* Length x in an instructions has real length x+1. */ @@ -591,7 +591,7 @@ s390_insert_operand (insn, operand, val, file, line) /* Insert fragments of the operand byte for byte. */ offset = operand->shift + operand->bits; uval <<= (-offset) & 7; - insn += (offset - 1)/8; + insn += (offset - 1) / 8; while (uval != 0) { *insn-- |= uval; @@ -724,7 +724,7 @@ static int lp_count = 0; static int lpe_count = 0; static int -s390_exp_compare(exp1, exp2) +s390_exp_compare (exp1, exp2) expressionS *exp1; expressionS *exp2; { @@ -771,8 +771,8 @@ s390_exp_compare(exp1, exp2) && (exp1->X_op_symbol == exp2->X_op_symbol) && (exp1->X_add_number == exp2->X_add_number); default: - return 0; - } + return 0; + } } /* Test for @lit and if its present make an entry in the literal pool and @@ -852,7 +852,7 @@ s390_lit_suffix (str_p, exp_p, suffix) /* Processing for 'normal' data types. */ for (lpe = lpe_list; lpe != NULL; lpe = lpe->next) if (lpe->nbytes == nbytes && lpe->reloc == reloc - && s390_exp_compare(exp_p, &lpe->ex) != 0) + && s390_exp_compare (exp_p, &lpe->ex) != 0) break; } @@ -866,7 +866,7 @@ s390_lit_suffix (str_p, exp_p, suffix) } else { - lpe = (struct s390_lpe *) xmalloc(sizeof (struct s390_lpe)); + lpe = (struct s390_lpe *) xmalloc (sizeof (struct s390_lpe)); } lpe->ex = *exp_p; @@ -877,7 +877,7 @@ s390_lit_suffix (str_p, exp_p, suffix) lpe->floatnum = generic_floating_point_number; else if (exp_p->X_add_number <= 4) memcpy (lpe->bignum, generic_bignum, - exp_p->X_add_number*sizeof (LITTLENUM_TYPE)); + exp_p->X_add_number * sizeof (LITTLENUM_TYPE)); else as_bad (_("Big number is too big")); } @@ -888,13 +888,13 @@ s390_lit_suffix (str_p, exp_p, suffix) if (lp_sym == NULL) { sprintf (tmp_name, ".L\001%i", lp_count); - lp_sym = symbol_make(tmp_name); + lp_sym = symbol_make (tmp_name); } /* Make name for literal pool entry. */ sprintf (tmp_name, ".L\001%i\002%i", lp_count, lpe_count); lpe_count++; - lpe->sym = symbol_make(tmp_name); + lpe->sym = symbol_make (tmp_name); /* Add to literal pool list. */ lpe->next = NULL; @@ -984,7 +984,7 @@ s390_elf_cons (nbytes) } while (*input_line_pointer++ == ','); - input_line_pointer--; /* Put terminator back into stream. */ + input_line_pointer--; /* Put terminator back into stream. */ demand_empty_rest_of_line (); } @@ -1019,7 +1019,8 @@ md_gather_operands (str, insn, opcode) char *f; int fc, i; - while (ISSPACE (*str)) str++; + while (ISSPACE (*str)) + str++; parentheses = 0; skip_optional = 0; @@ -1047,7 +1048,8 @@ md_gather_operands (str, insn, opcode) hold = input_line_pointer; input_line_pointer = str; - if (! register_name (&ex)) /* parse the operand */ + /* Parse the operand. */ + if (! register_name (&ex)) expression (&ex); str = input_line_pointer; @@ -1397,7 +1399,7 @@ s390_insn (ignore) if (strcmp (opformat->name, "e") != 0 && *input_line_pointer++ != ',') as_bad (_("missing comma after insn constant\n")); - + if ((s = strchr (input_line_pointer, '\n')) != NULL) *s = '\0'; input_line_pointer = md_gather_operands (input_line_pointer, insn, @@ -1453,7 +1455,7 @@ s390_literals (ignore) struct s390_lpe *lpe; if (lp_sym == NULL || lpe_count == 0) - return; /* nothing to be done */ + return; /* Nothing to be done. */ /* Emit symbol for start of literal pool. */ S_SET_SEGMENT (lp_sym, now_seg); @@ -1492,7 +1494,7 @@ s390_literals (ignore) generic_floating_point_number = lpe->floatnum; else memcpy (generic_bignum, lpe->bignum, - lpe->ex.X_add_number*sizeof (LITTLENUM_TYPE)); + lpe->ex.X_add_number * sizeof (LITTLENUM_TYPE)); } emit_expr (&lpe->ex, lpe->nbytes); } @@ -1590,18 +1592,18 @@ symbolS * md_undefined_symbol (name) char *name; { - if (*name == '_' && *(name+1) == 'G' + if (*name == '_' && *(name + 1) == 'G' && strcmp (name, "_GLOBAL_OFFSET_TABLE_") == 0) - { - if (!GOT_symbol) - { - if (symbol_find (name)) - as_bad (_("GOT already in symbol table")); - GOT_symbol = symbol_new (name, undefined_section, - (valueT) 0, &zero_address_frag); - } - return GOT_symbol; - } + { + if (!GOT_symbol) + { + if (symbol_find (name)) + as_bad (_("GOT already in symbol table")); + GOT_symbol = symbol_new (name, undefined_section, + (valueT) 0, &zero_address_frag); + } + return GOT_symbol; + } return 0; } @@ -1623,17 +1625,16 @@ md_pcrel_from_section (fixp, sec) to make sure that the dynamic relocations are done correctly, so in some cases we force the original symbol to be used. */ int -tc_s390_fix_adjustable(fixP) - fixS * fixP; +tc_s390_fix_adjustable (fixP) + fixS *fixP; { /* Prevent all adjustments to global symbols. */ if (S_IS_EXTERN (fixP->fx_addsy)) return 0; if (S_IS_WEAK (fixP->fx_addsy)) return 0; - /* Don't adjust pc-relative references to merge sections. */ - if ((S_GET_SEGMENT(fixP->fx_addsy)->flags & SEC_MERGE) != 0 - && fixP->fx_pcrel) + /* Don't adjust references to merge sections. */ + if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0) return 0; /* adjust_reloc_syms doesn't know about the GOT. */ if ( fixP->fx_r_type == BFD_RELOC_32_GOTOFF @@ -1698,11 +1699,11 @@ md_apply_fix3 (fixP, valP, seg) segT seg; { char *where; - valueT value = * valP; + valueT value = *valP; where = fixP->fx_frag->fr_literal + fixP->fx_where; - if (fixP->fx_subsy != NULL) + if (fixP->fx_subsy != NULL) { if ((fixP->fx_addsy != NULL && S_GET_SEGMENT (fixP->fx_addsy) == S_GET_SEGMENT (fixP->fx_subsy) @@ -1712,24 +1713,24 @@ md_apply_fix3 (fixP, valP, seg) if (!S_IS_DEFINED (fixP->fx_subsy)) as_bad_where (fixP->fx_file, fixP->fx_line, _("unresolved fx_subsy symbol that must be resolved")); - value -= S_GET_VALUE(fixP->fx_subsy); + value -= S_GET_VALUE (fixP->fx_subsy); if (S_GET_SEGMENT (fixP->fx_subsy) == seg && ! fixP->fx_pcrel) value += MD_PCREL_FROM_SECTION (fixP, seg); } - - if (fixP->fx_addsy != NULL) + + if (fixP->fx_addsy != NULL) { if ((fixP->fx_subsy != NULL && S_GET_SEGMENT (fixP->fx_addsy) == S_GET_SEGMENT (fixP->fx_subsy) - && SEG_NORMAL (S_GET_SEGMENT(fixP->fx_addsy))) + && SEG_NORMAL (S_GET_SEGMENT (fixP->fx_addsy))) || (S_GET_SEGMENT (fixP->fx_addsy) == seg && fixP->fx_pcrel && TC_RELOC_RTSYM_LOC_FIXUP (fixP)) - || (!fixP->fx_pcrel + || (!fixP->fx_pcrel && S_GET_SEGMENT (fixP->fx_addsy) == absolute_section) || (S_GET_SEGMENT (fixP->fx_addsy) != undefined_section && !bfd_is_com_section (S_GET_SEGMENT (fixP->fx_addsy)) - && TC_FIX_ADJUSTABLE(fixP))) + && TC_FIX_ADJUSTABLE (fixP))) value -= S_GET_VALUE (fixP->fx_addsy); if (fixP->fx_pcrel) @@ -1965,8 +1966,8 @@ tc_gen_reloc (seg, fixp) if (reloc->howto == NULL) { as_bad_where (fixp->fx_file, fixp->fx_line, - _("cannot represent relocation type %s"), - bfd_get_reloc_code_name (code)); + _("cannot represent relocation type %s"), + bfd_get_reloc_code_name (code)); /* Set howto to a garbage value so that we can keep going. */ reloc->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_32); assert (reloc->howto != NULL); diff --git a/contrib/binutils/gas/config/tc-s390.h b/contrib/binutils/gas/config/tc-s390.h index 1837b1a..48dbeda 100644 --- a/contrib/binutils/gas/config/tc-s390.h +++ b/contrib/binutils/gas/config/tc-s390.h @@ -1,5 +1,5 @@ /* tc-s390.h -- Header file for tc-s390.c. - Copyright 2000, 2001 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. Written by Martin Schwidefsky (schwidefsky@de.ibm.com). This file is part of GAS, the GNU Assembler. @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + 02111-1307, USA. */ #define TC_S390 @@ -34,7 +34,7 @@ struct fix; are willing to perform this relocation while building the .o file. This is only used for pcrel relocations, so GOTOFF does not need to be checked here. I am not sure if some of the others are ever used with - pcrel, but it is easier to be safe than sorry. */ + pcrel, but it is easier to be safe than sorry. */ #define TC_RELOC_RTSYM_LOC_FIXUP(FIX) \ ((FIX)->fx_r_type != BFD_RELOC_390_GOTENT \ @@ -59,9 +59,9 @@ extern enum bfd_architecture s390_arch PARAMS ((void)); /* The target BFD format. */ #define TARGET_FORMAT s390_target_format() -extern const char * s390_target_format PARAMS ((void)); +extern const char *s390_target_format PARAMS ((void)); -/* Set the endianness we are using. */ +/* Set the endianness we are using. */ #define TARGET_BYTES_BIG_ENDIAN 1 /* Whether or not the target is big endian */ diff --git a/contrib/binutils/gas/config/tc-sparc.c b/contrib/binutils/gas/config/tc-sparc.c index 5c610a9..5fa4fe9 100644 --- a/contrib/binutils/gas/config/tc-sparc.c +++ b/contrib/binutils/gas/config/tc-sparc.c @@ -159,7 +159,7 @@ const pseudo_typeS md_pseudo_table[] = {"uaword", s_uacons, 4}, {"uaxword", s_uacons, 8}, #ifdef OBJ_ELF - {"file", dwarf2_directive_file, 0}, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0}, {"loc", dwarf2_directive_loc, 0}, /* These are specific to sparc/svr4. */ {"2byte", s_uacons, 2}, diff --git a/contrib/binutils/gas/config/tc-v850.c b/contrib/binutils/gas/config/tc-v850.c index e0c4936..e1e5475 100644 --- a/contrib/binutils/gas/config/tc-v850.c +++ b/contrib/binutils/gas/config/tc-v850.c @@ -1086,7 +1086,7 @@ parse_register_list (insn, operand) return NULL; } -CONST char *md_shortopts = "m:"; +const char *md_shortopts = "m:"; struct option md_longopts[] = { {NULL, no_argument, NULL, 0} @@ -1461,7 +1461,7 @@ v850_reloc_prefix (operand) } #define CHECK_(name, reloc) \ - if (strncmp (input_line_pointer, name##"(", strlen (name) + 1) == 0) \ + if (strncmp (input_line_pointer, name "(", strlen (name) + 1) == 0) \ { \ input_line_pointer += strlen (name); \ return reloc; \ @@ -1961,7 +1961,7 @@ md_assemble (str) if (((insn & 0x07e0) == 0x0200) && ex.X_op == O_constant && (ex.X_add_number < (-(1 << (operand->bits - 1))) - || ex.X_add_number > ((1 << operand->bits) - 1))) + || ex.X_add_number > ((1 << (operand->bits - 1)) - 1))) errmsg = _("immediate operand is too large"); } diff --git a/contrib/binutils/gas/config/tc-v850.h b/contrib/binutils/gas/config/tc-v850.h index 3de777c..8257428 100644 --- a/contrib/binutils/gas/config/tc-v850.h +++ b/contrib/binutils/gas/config/tc-v850.h @@ -1,5 +1,6 @@ /* tc-v850.h -- Header file for tc-v850.c. - Copyright 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1996, 1997, 1998, 2000, 2001, 2002 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -20,7 +21,7 @@ #define TC_V850 -#include <elf/v850.h> +#include "elf/v850.h" #define TARGET_BYTES_BIG_ENDIAN 0 diff --git a/contrib/binutils/gas/itbl-lex.l b/contrib/binutils/gas/itbl-lex.l index ed0be64..e924efc 100644 --- a/contrib/binutils/gas/itbl-lex.l +++ b/contrib/binutils/gas/itbl-lex.l @@ -22,7 +22,8 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> -#include "itbl-parse.h" + +#include <itbl-parse.h> #ifdef DEBUG #define DBG(x) printf x diff --git a/contrib/binutils/gas/itbl-ops.c b/contrib/binutils/gas/itbl-ops.c index d67a986..09db9f7 100644 --- a/contrib/binutils/gas/itbl-ops.c +++ b/contrib/binutils/gas/itbl-ops.c @@ -92,7 +92,7 @@ #include <stdlib.h> #include <string.h> #include "itbl-ops.h" -#include "itbl-parse.h" +#include <itbl-parse.h> /* #define DEBUG */ diff --git a/contrib/binutils/gas/itbl-parse.y b/contrib/binutils/gas/itbl-parse.y index c1afdbd..9a0b7c3 100644 --- a/contrib/binutils/gas/itbl-parse.y +++ b/contrib/binutils/gas/itbl-parse.y @@ -321,6 +321,7 @@ entry: insn=itbl_add_insn ($1, $3, $4, sbit, ebit, $6); } fieldspecs NL + {} | NL | error NL ; diff --git a/contrib/binutils/gas/po/gas.pot b/contrib/binutils/gas/po/gas.pot index b13d1da..45a2485 100644 --- a/contrib/binutils/gas/po/gas.pot +++ b/contrib/binutils/gas/po/gas.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-23 15:57-0400\n" +"POT-Creation-Date: 2002-10-30 10:07-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -346,7 +347,7 @@ msgstr "" #. * We have a GROSS internal error. #. * This should never happen. #. -#: atof-generic.c:437 config/tc-m68k.c:2879 +#: atof-generic.c:437 config/tc-m68k.c:2883 msgid "failed sanity check" msgstr "" @@ -443,7 +444,7 @@ msgstr "" msgid "%s: bad type for weak symbol" msgstr "" -#: config/obj-aout.c:458 config/obj-coff.c:2941 write.c:1952 +#: config/obj-aout.c:458 config/obj-coff.c:2941 write.c:1927 #, c-format msgid "%s: global symbols not supported in common sections" msgstr "" @@ -552,12 +553,12 @@ msgstr "" msgid "unsupported section attribute '%c'" msgstr "" -#: config/obj-coff.c:1483 config/obj-coff.c:3755 config/tc-ppc.c:4222 +#: config/obj-coff.c:1483 config/obj-coff.c:3755 config/tc-ppc.c:4243 #, c-format msgid "unknown section attribute '%c'" msgstr "" -#: config/obj-coff.c:1513 config/tc-ppc.c:4240 config/tc-tic54x.c:4339 +#: config/obj-coff.c:1513 config/tc-ppc.c:4261 config/tc-tic54x.c:4339 #: read.c:2560 #, c-format msgid "error setting flags for \"%s\": %s" @@ -640,7 +641,7 @@ msgstr "" #. This is a COBR instruction. They have only a 13-bit #. displacement and are only to be used for local branches: #. flag as error, don't generate relocation. -#: config/obj-coff.c:4416 config/tc-i960.c:3227 write.c:2845 +#: config/obj-coff.c:4416 config/tc-i960.c:3227 write.c:2820 msgid "can't use COBR format with external label" msgstr "" @@ -672,7 +673,7 @@ msgid ".COMMon length (%d.) <0! Ignored." msgstr "" #: config/obj-elf.c:330 ecoff.c:3397 read.c:1403 read.c:1504 read.c:2142 -#: read.c:2231 read.c:2861 read.c:4942 symbols.c:361 symbols.c:460 +#: read.c:2231 read.c:2861 read.c:4951 symbols.c:361 symbols.c:460 #, c-format msgid "symbol `%s' is already defined" msgstr "" @@ -1016,7 +1017,7 @@ msgstr "" #. Probably a memory allocation problem? Give up now. #: config/tc-a29k.c:330 config/tc-dlx.c:369 config/tc-hppa.c:1464 -#: config/tc-mips.c:1063 config/tc-mips.c:1105 config/tc-or32.c:230 +#: config/tc-mips.c:1077 config/tc-mips.c:1119 config/tc-or32.c:230 #: config/tc-sparc.c:853 msgid "Broken assembler. No assembly attempted." msgstr "" @@ -1025,7 +1026,7 @@ msgstr "" #: config/tc-d30v.c:552 config/tc-h8300.c:333 config/tc-h8500.c:284 #: config/tc-mcore.c:655 config/tc-mmix.c:475 config/tc-mn10200.c:940 #: config/tc-mn10300.c:1318 config/tc-or32.c:336 config/tc-or32.c:392 -#: config/tc-ppc.c:2122 config/tc-s390.c:1062 config/tc-sh.c:1272 +#: config/tc-ppc.c:2143 config/tc-s390.c:1062 config/tc-sh.c:1272 #: config/tc-sh64.c:2228 config/tc-tic80.c:283 config/tc-v850.c:1984 #: config/tc-w65.c:241 config/tc-z8k.c:343 msgid "missing operand" @@ -1054,7 +1055,7 @@ msgid "Immediate value of %ld is too large" msgstr "" #: config/tc-a29k.c:543 config/tc-i860.c:340 config/tc-i860.c:832 -#: config/tc-m68k.c:3181 config/tc-m68k.c:3210 config/tc-sparc.c:2550 +#: config/tc-m68k.c:3185 config/tc-m68k.c:3214 config/tc-sparc.c:2550 msgid "failed sanity check." msgstr "" @@ -1090,402 +1091,403 @@ msgstr "" msgid "Invalid register in & expression" msgstr "" -#: config/tc-alpha.c:816 +#: config/tc-alpha.c:822 #, c-format msgid "internal error: can't hash opcode `%s': %s" msgstr "" -#: config/tc-alpha.c:851 +#: config/tc-alpha.c:857 #, c-format msgid "internal error: can't hash macro `%s': %s" msgstr "" -#: config/tc-alpha.c:933 config/tc-i960.c:2702 +#: config/tc-alpha.c:939 config/tc-i960.c:2702 msgid "syntax error" msgstr "" -#: config/tc-alpha.c:1007 config/tc-h8300.c:1426 config/tc-h8500.c:1187 +#: config/tc-alpha.c:1013 config/tc-h8300.c:1426 config/tc-h8500.c:1187 #: config/tc-hppa.c:4019 config/tc-i860.c:931 config/tc-m68hc11.c:500 -#: config/tc-m68k.c:4201 config/tc-m88k.c:1011 config/tc-ns32k.c:1663 +#: config/tc-m68k.c:4205 config/tc-m88k.c:1011 config/tc-ns32k.c:1663 #: config/tc-or32.c:912 config/tc-sparc.c:2837 config/tc-z8k.c:1328 msgid "Bad call to MD_ATOF()" msgstr "" -#: config/tc-alpha.c:1057 +#: config/tc-alpha.c:1063 #, c-format msgid "Unknown CPU identifier `%s'" msgstr "" -#: config/tc-alpha.c:1101 +#: config/tc-alpha.c:1107 msgid "" "Alpha options:\n" "-32addr\t\t\ttreat addresses as 32-bit values\n" "-F\t\t\tlack floating point instructions support\n" -"-mev4 | -mev45 | -mev5 | -mev56 | -mpca56 | -mev6 | -mall\n" +"-mev4 | -mev45 | -mev5 | -mev56 | -mpca56 | -mev6 | -mev67 | -mev68 | -mall\n" "\t\t\tspecify variant of Alpha architecture\n" -"-m21064 | -m21066 | -m21164 | -m21164a | -m21164pc | -m21264\n" +"-m21064 | -m21066 | -m21164 | -m21164a | -m21164pc | -m21264 | -m21264a | -" +"m21264b\n" "\t\t\tthese variants include PALcode opcodes\n" msgstr "" -#: config/tc-alpha.c:1111 +#: config/tc-alpha.c:1117 msgid "" "VMS options:\n" "-+\t\t\thash encode (don't truncate) names longer than 64 characters\n" "-H\t\t\tshow new symbol after hash truncation\n" msgstr "" -#: config/tc-alpha.c:1284 +#: config/tc-alpha.c:1290 #, c-format msgid "unhandled relocation type %s" msgstr "" -#: config/tc-alpha.c:1297 +#: config/tc-alpha.c:1303 msgid "non-absolute expression in constant field" msgstr "" -#: config/tc-alpha.c:1311 +#: config/tc-alpha.c:1317 #, c-format msgid "type %d reloc done?\n" msgstr "" -#: config/tc-alpha.c:1359 config/tc-alpha.c:1366 config/tc-mips.c:8069 +#: config/tc-alpha.c:1365 config/tc-alpha.c:1372 config/tc-mips.c:8156 msgid "Used $at without \".set noat\"" msgstr "" -#: config/tc-alpha.c:1439 +#: config/tc-alpha.c:1445 #, c-format msgid "!samegp reloc against symbol without .prologue: %s" msgstr "" -#: config/tc-alpha.c:1588 +#: config/tc-alpha.c:1594 #, c-format msgid "cannot represent `%s' relocation in object file" msgstr "" -#: config/tc-alpha.c:1595 +#: config/tc-alpha.c:1601 #, c-format msgid "internal error? cannot generate `%s' relocation" msgstr "" -#: config/tc-alpha.c:1651 +#: config/tc-alpha.c:1657 #, c-format msgid "frame reg expected, using $%d." msgstr "" -#: config/tc-alpha.c:1752 +#: config/tc-alpha.c:1758 #, c-format msgid "No !literal!%ld was found" msgstr "" -#: config/tc-alpha.c:1758 +#: config/tc-alpha.c:1764 #, c-format msgid "No !tlsgd!%ld was found" msgstr "" -#: config/tc-alpha.c:1765 +#: config/tc-alpha.c:1771 #, c-format msgid "No !tlsldm!%ld was found" msgstr "" -#: config/tc-alpha.c:1773 +#: config/tc-alpha.c:1779 #, c-format msgid "No ldah !gpdisp!%ld was found" msgstr "" -#: config/tc-alpha.c:1823 +#: config/tc-alpha.c:1829 #, c-format msgid "too many !literal!%ld for %s" msgstr "" -#: config/tc-alpha.c:1853 +#: config/tc-alpha.c:1859 #, c-format msgid "No lda !gpdisp!%ld was found" msgstr "" #. only support one relocation op per insn -#: config/tc-alpha.c:1997 +#: config/tc-alpha.c:2003 msgid "More than one relocation op per insn" msgstr "" -#: config/tc-alpha.c:2013 +#: config/tc-alpha.c:2019 msgid "No relocation operand" msgstr "" -#: config/tc-alpha.c:2023 +#: config/tc-alpha.c:2029 #, c-format msgid "Unknown relocation operand: !%s" msgstr "" -#: config/tc-alpha.c:2033 +#: config/tc-alpha.c:2039 #, c-format msgid "no sequence number after !%s" msgstr "" -#: config/tc-alpha.c:2043 +#: config/tc-alpha.c:2049 #, c-format msgid "!%s does not use a sequence number" msgstr "" -#: config/tc-alpha.c:2053 +#: config/tc-alpha.c:2059 #, c-format msgid "Bad sequence number: !%s!%s" msgstr "" -#: config/tc-alpha.c:2381 +#: config/tc-alpha.c:2387 #, c-format msgid "operand out of range (%s not between %d and %d)" msgstr "" -#: config/tc-alpha.c:2495 config/tc-alpha.c:2519 config/tc-d10v.c:634 +#: config/tc-alpha.c:2501 config/tc-alpha.c:2525 config/tc-d10v.c:634 #: config/tc-d30v.c:640 config/tc-mn10200.c:995 config/tc-mn10300.c:1389 -#: config/tc-ppc.c:2088 config/tc-ppc.c:2269 config/tc-ppc.c:2281 +#: config/tc-ppc.c:2109 config/tc-ppc.c:2290 config/tc-ppc.c:2302 #: config/tc-s390.c:1072 config/tc-s390.c:1129 config/tc-v850.c:1764 #: config/tc-v850.c:1787 config/tc-v850.c:2007 msgid "too many fixups" msgstr "" -#: config/tc-alpha.c:2531 +#: config/tc-alpha.c:2537 msgid "invalid relocation for instruction" msgstr "" -#: config/tc-alpha.c:2542 +#: config/tc-alpha.c:2548 msgid "invalid relocation for field" msgstr "" -#: config/tc-alpha.c:2649 +#: config/tc-alpha.c:2655 #, c-format msgid "too many ldah insns for !gpdisp!%ld" msgstr "" -#: config/tc-alpha.c:2651 config/tc-alpha.c:2663 +#: config/tc-alpha.c:2657 config/tc-alpha.c:2669 #, c-format msgid "both insns for !gpdisp!%ld must be in the same section" msgstr "" -#: config/tc-alpha.c:2661 +#: config/tc-alpha.c:2667 #, c-format msgid "too many lda insns for !gpdisp!%ld" msgstr "" -#: config/tc-alpha.c:2713 +#: config/tc-alpha.c:2719 #, c-format msgid "too many lituse insns for !lituse_tlsgd!%ld" msgstr "" -#: config/tc-alpha.c:2716 +#: config/tc-alpha.c:2722 #, c-format msgid "too many lituse insns for !lituse_tlsldm!%ld" msgstr "" -#: config/tc-alpha.c:2733 +#: config/tc-alpha.c:2739 #, c-format msgid "duplicate !tlsgd!%ld" msgstr "" -#: config/tc-alpha.c:2735 +#: config/tc-alpha.c:2741 #, c-format msgid "sequence number in use for !tlsldm!%ld" msgstr "" -#: config/tc-alpha.c:2749 +#: config/tc-alpha.c:2755 #, c-format msgid "duplicate !tlsldm!%ld" msgstr "" -#: config/tc-alpha.c:2751 +#: config/tc-alpha.c:2757 #, c-format msgid "sequence number in use for !tlsgd!%ld" msgstr "" -#: config/tc-alpha.c:2796 config/tc-alpha.c:2869 +#: config/tc-alpha.c:2802 config/tc-alpha.c:2875 #, c-format msgid "inappropriate arguments for opcode `%s'" msgstr "" -#: config/tc-alpha.c:2798 config/tc-alpha.c:2871 +#: config/tc-alpha.c:2804 config/tc-alpha.c:2877 #, c-format msgid "opcode `%s' not supported for target %s" msgstr "" -#: config/tc-alpha.c:2802 config/tc-alpha.c:2875 config/tc-avr.c:1103 +#: config/tc-alpha.c:2808 config/tc-alpha.c:2881 config/tc-avr.c:1103 #, c-format msgid "unknown opcode `%s'" msgstr "" -#: config/tc-alpha.c:2922 +#: config/tc-alpha.c:2928 msgid "can not resolve expression" msgstr "" -#: config/tc-alpha.c:3066 config/tc-alpha.c:3245 +#: config/tc-alpha.c:3072 config/tc-alpha.c:3251 msgid "overflow in literal (.lita) table" msgstr "" -#: config/tc-alpha.c:3073 config/tc-alpha.c:3096 config/tc-alpha.c:3258 -#: config/tc-alpha.c:3473 config/tc-alpha.c:3518 config/tc-alpha.c:3592 -#: config/tc-alpha.c:3684 config/tc-alpha.c:3933 config/tc-alpha.c:4034 +#: config/tc-alpha.c:3079 config/tc-alpha.c:3102 config/tc-alpha.c:3264 +#: config/tc-alpha.c:3479 config/tc-alpha.c:3524 config/tc-alpha.c:3598 +#: config/tc-alpha.c:3690 config/tc-alpha.c:3939 config/tc-alpha.c:4040 msgid "macro requires $at register while noat in effect" msgstr "" -#: config/tc-alpha.c:3075 config/tc-alpha.c:3098 config/tc-alpha.c:3260 +#: config/tc-alpha.c:3081 config/tc-alpha.c:3104 config/tc-alpha.c:3266 msgid "macro requires $at while $at in use" msgstr "" -#: config/tc-alpha.c:3206 +#: config/tc-alpha.c:3212 msgid "bignum invalid; zero assumed" msgstr "" -#: config/tc-alpha.c:3208 +#: config/tc-alpha.c:3214 msgid "floating point number invalid; zero assumed" msgstr "" -#: config/tc-alpha.c:3213 +#: config/tc-alpha.c:3219 msgid "can't handle expression" msgstr "" -#: config/tc-alpha.c:3251 +#: config/tc-alpha.c:3257 msgid "overflow in literal (.lit8) table" msgstr "" -#: config/tc-alpha.c:4271 config/tc-ppc.c:1569 config/tc-ppc.c:3985 +#: config/tc-alpha.c:4277 config/tc-ppc.c:1582 config/tc-ppc.c:4006 #, c-format msgid ".COMMon length (%ld.) <0! Ignored." msgstr "" -#: config/tc-alpha.c:4300 config/tc-sparc.c:3707 config/tc-v850.c:254 +#: config/tc-alpha.c:4306 config/tc-sparc.c:3707 config/tc-v850.c:254 msgid "Ignoring attempt to re-define symbol" msgstr "" -#: config/tc-alpha.c:4309 config/tc-alpha.c:4318 config/tc-ppc.c:4022 +#: config/tc-alpha.c:4315 config/tc-alpha.c:4324 config/tc-ppc.c:4043 #, c-format msgid "Length of .comm \"%s\" is already %ld. Not changed to %ld." msgstr "" -#: config/tc-alpha.c:4420 ecoff.c:3082 +#: config/tc-alpha.c:4426 ecoff.c:3082 msgid ".ent directive has no name" msgstr "" -#: config/tc-alpha.c:4428 +#: config/tc-alpha.c:4434 msgid "nested .ent directives" msgstr "" -#: config/tc-alpha.c:4464 ecoff.c:3032 +#: config/tc-alpha.c:4470 ecoff.c:3032 msgid ".end directive has no name" msgstr "" -#: config/tc-alpha.c:4473 +#: config/tc-alpha.c:4479 msgid ".end directive names different symbol than .ent" msgstr "" -#: config/tc-alpha.c:4550 +#: config/tc-alpha.c:4556 #, c-format msgid "Invalid argument %d to .prologue." msgstr "" -#: config/tc-alpha.c:4642 +#: config/tc-alpha.c:4648 msgid "ECOFF debugging is disabled." msgstr "" -#: config/tc-alpha.c:4663 +#: config/tc-alpha.c:4669 msgid "Unknown section directive" msgstr "" -#: config/tc-alpha.c:4699 +#: config/tc-alpha.c:4705 msgid ".ent directive has no symbol" msgstr "" -#: config/tc-alpha.c:4726 +#: config/tc-alpha.c:4732 msgid "Bad .frame directive 1./2. param" msgstr "" -#: config/tc-alpha.c:4738 +#: config/tc-alpha.c:4744 msgid "Bad .frame directive 3./4. param" msgstr "" -#: config/tc-alpha.c:4763 +#: config/tc-alpha.c:4769 msgid ".pdesc directive not in link (.link) section" msgstr "" -#: config/tc-alpha.c:4771 +#: config/tc-alpha.c:4777 msgid ".pdesc has no matching .ent" msgstr "" -#: config/tc-alpha.c:4782 +#: config/tc-alpha.c:4788 msgid ".pdesc directive has no entry symbol" msgstr "" -#: config/tc-alpha.c:4795 +#: config/tc-alpha.c:4801 msgid "No comma after .pdesc <entryname>" msgstr "" -#: config/tc-alpha.c:4818 +#: config/tc-alpha.c:4824 msgid "unknown procedure kind" msgstr "" -#: config/tc-alpha.c:4911 +#: config/tc-alpha.c:4917 msgid ".name directive not in link (.link) section" msgstr "" -#: config/tc-alpha.c:4919 +#: config/tc-alpha.c:4925 msgid ".name directive has no symbol" msgstr "" -#: config/tc-alpha.c:4953 +#: config/tc-alpha.c:4959 msgid "No symbol after .linkage" msgstr "" -#: config/tc-alpha.c:4981 +#: config/tc-alpha.c:4987 msgid "No symbol after .code_address" msgstr "" -#: config/tc-alpha.c:5014 +#: config/tc-alpha.c:5020 msgid "Bad .mask directive" msgstr "" -#: config/tc-alpha.c:5035 +#: config/tc-alpha.c:5041 msgid "Bad .fmask directive" msgstr "" -#: config/tc-alpha.c:5205 +#: config/tc-alpha.c:5211 #, c-format msgid "Expected comma after name \"%s\"" msgstr "" #. *symbol_get_obj (symbolP) = (signed char) temp; -#: config/tc-alpha.c:5216 +#: config/tc-alpha.c:5222 #, c-format msgid "unhandled: .proc %s,%d" msgstr "" -#: config/tc-alpha.c:5251 +#: config/tc-alpha.c:5257 #, c-format msgid "Tried to .set unrecognized mode `%s'" msgstr "" #. not fatal, but it might not work in the end -#: config/tc-alpha.c:5268 +#: config/tc-alpha.c:5274 msgid "File overrides no-base-register option." msgstr "" -#: config/tc-alpha.c:5285 +#: config/tc-alpha.c:5291 #, c-format msgid "Bad base register, using $%d." msgstr "" -#: config/tc-alpha.c:5307 +#: config/tc-alpha.c:5313 #, c-format msgid "Alignment too large: %d. assumed" msgstr "" -#: config/tc-alpha.c:5311 config/tc-d30v.c:2214 +#: config/tc-alpha.c:5317 config/tc-d30v.c:2214 msgid "Alignment negative: 0 assumed" msgstr "" -#: config/tc-alpha.c:5623 +#: config/tc-alpha.c:5629 #, c-format msgid "Chose GP value of %lx\n" msgstr "" -#: config/tc-alpha.c:5639 config/tc-ia64.c:958 +#: config/tc-alpha.c:5645 config/tc-ia64.c:958 msgid "Bad .section directive: want a,s,w,x,M,S,G,T in string" msgstr "" @@ -1864,8 +1866,8 @@ msgstr "" #: config/tc-arm.c:5702 config/tc-arm.c:8765 config/tc-arm.c:8865 #: config/tc-avr.c:866 config/tc-cris.c:3006 config/tc-d10v.c:1724 -#: config/tc-d30v.c:1863 config/tc-mips.c:3509 config/tc-mips.c:4523 -#: config/tc-mips.c:5436 config/tc-mips.c:6090 config/tc-ppc.c:5154 +#: config/tc-d30v.c:1863 config/tc-mips.c:3570 config/tc-mips.c:4594 +#: config/tc-mips.c:5505 config/tc-mips.c:6159 config/tc-ppc.c:5175 #: config/tc-v850.c:2287 config/tc-xstormy16.c:479 msgid "expression too complex" msgstr "" @@ -1904,7 +1906,7 @@ msgstr "" #: config/tc-arm.c:6904 config/tc-arm.c:6943 config/tc-arm.c:6956 #: config/tc-arm.c:7017 config/tc-arm.c:7056 config/tc-arm.c:7069 -#: config/tc-mips.c:9255 config/tc-mips.c:9285 +#: config/tc-mips.c:9336 config/tc-mips.c:9366 msgid "invalid register list" msgstr "" @@ -2595,8 +2597,8 @@ msgid "redefinition of mcu type `%s' to `%s'" msgstr "" #: config/tc-avr.c:390 config/tc-d10v.c:319 config/tc-d30v.c:366 -#: config/tc-mips.c:9781 config/tc-mmix.c:2250 config/tc-mn10200.c:361 -#: config/tc-pj.c:357 config/tc-ppc.c:4814 config/tc-sh.c:2536 +#: config/tc-mips.c:9862 config/tc-mmix.c:2250 config/tc-mn10200.c:361 +#: config/tc-pj.c:357 config/tc-ppc.c:4835 config/tc-sh.c:2536 #: config/tc-v850.c:1194 msgid "bad call to md_atof" msgstr "" @@ -2692,7 +2694,7 @@ msgstr "" #: config/tc-avr.c:1073 config/tc-d10v.c:1659 config/tc-d30v.c:1807 #: config/tc-mn10200.c:1240 config/tc-mn10300.c:1781 config/tc-or32.c:1622 -#: config/tc-ppc.c:5538 config/tc-v850.c:2207 +#: config/tc-ppc.c:5573 config/tc-v850.c:2207 #, c-format msgid "reloc %d not supported by object file format" msgstr "" @@ -2947,7 +2949,7 @@ msgid "" msgstr "" #: config/tc-d10v.c:543 config/tc-d30v.c:550 config/tc-mn10200.c:937 -#: config/tc-mn10300.c:1315 config/tc-ppc.c:2120 config/tc-s390.c:1060 +#: config/tc-mn10300.c:1315 config/tc-ppc.c:2141 config/tc-s390.c:1060 #: config/tc-tic80.c:279 config/tc-v850.c:1981 msgid "illegal operand" msgstr "" @@ -3048,7 +3050,7 @@ msgstr "" msgid "bad opcode or operands" msgstr "" -#: config/tc-d10v.c:1503 config/tc-m68k.c:4310 +#: config/tc-d10v.c:1503 config/tc-m68k.c:4314 msgid "value out of range" msgstr "" @@ -3468,7 +3470,7 @@ msgstr "" msgid "invalid operands" msgstr "" -#: config/tc-h8300.c:1300 config/tc-h8500.c:1094 config/tc-mips.c:8834 +#: config/tc-h8300.c:1300 config/tc-h8500.c:1094 config/tc-mips.c:8915 #: config/tc-sh.c:2371 config/tc-sh64.c:2811 config/tc-w65.c:733 #: config/tc-z8k.c:1206 msgid "unknown opcode" @@ -3967,169 +3969,169 @@ msgstr "" msgid "No memory for symbol name." msgstr "" -#: config/tc-i386.c:658 +#: config/tc-i386.c:660 #, c-format msgid "%s shortened to %s" msgstr "" -#: config/tc-i386.c:714 +#: config/tc-i386.c:716 msgid "same type of prefix used twice" msgstr "" -#: config/tc-i386.c:732 +#: config/tc-i386.c:734 msgid "64bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:736 +#: config/tc-i386.c:738 msgid "32bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:769 +#: config/tc-i386.c:771 msgid "bad argument to syntax directive." msgstr "" -#: config/tc-i386.c:813 +#: config/tc-i386.c:815 #, c-format msgid "no such architecture: `%s'" msgstr "" -#: config/tc-i386.c:818 +#: config/tc-i386.c:820 msgid "missing cpu architecture" msgstr "" -#: config/tc-i386.c:832 +#: config/tc-i386.c:834 #, c-format msgid "no such architecture modifier: `%s'" msgstr "" -#: config/tc-i386.c:849 config/tc-i386.c:4857 +#: config/tc-i386.c:851 config/tc-i386.c:4944 msgid "Unknown architecture" msgstr "" -#: config/tc-i386.c:884 config/tc-i386.c:907 config/tc-m68k.c:3826 +#: config/tc-i386.c:886 config/tc-i386.c:909 config/tc-m68k.c:3830 #, c-format msgid "Internal Error: Can't hash %s: %s" msgstr "" -#: config/tc-i386.c:1150 +#: config/tc-i386.c:1152 msgid "There are no unsigned pc-relative relocations" msgstr "" -#: config/tc-i386.c:1157 config/tc-i386.c:5062 +#: config/tc-i386.c:1159 config/tc-i386.c:5151 #, c-format msgid "can not do %d byte pc-relative relocation" msgstr "" -#: config/tc-i386.c:1174 +#: config/tc-i386.c:1176 #, c-format msgid "can not do %s %d byte relocation" msgstr "" #. UnixWare fsub no args is alias for fsubp, fadd -> faddp, etc. -#: config/tc-i386.c:1386 +#: config/tc-i386.c:1396 #, c-format msgid "translating to `%sp'" msgstr "" -#: config/tc-i386.c:1431 +#: config/tc-i386.c:1441 #, c-format msgid "can't encode register '%%%s' in an instruction requiring REX prefix.\n" msgstr "" -#: config/tc-i386.c:1470 config/tc-i386.c:1565 +#: config/tc-i386.c:1480 config/tc-i386.c:1575 #, c-format msgid "no such instruction: `%s'" msgstr "" -#: config/tc-i386.c:1480 config/tc-i386.c:1597 +#: config/tc-i386.c:1490 config/tc-i386.c:1607 #, c-format msgid "invalid character %s in mnemonic" msgstr "" -#: config/tc-i386.c:1487 +#: config/tc-i386.c:1497 msgid "expecting prefix; got nothing" msgstr "" -#: config/tc-i386.c:1489 +#: config/tc-i386.c:1499 msgid "expecting mnemonic; got nothing" msgstr "" -#: config/tc-i386.c:1508 +#: config/tc-i386.c:1518 #, c-format msgid "redundant %s prefix" msgstr "" -#: config/tc-i386.c:1606 +#: config/tc-i386.c:1616 #, c-format msgid "`%s' is not supported on `%s'" msgstr "" -#: config/tc-i386.c:1611 +#: config/tc-i386.c:1621 msgid "use .code16 to ensure correct addressing mode" msgstr "" -#: config/tc-i386.c:1618 +#: config/tc-i386.c:1628 #, c-format msgid "expecting string instruction after `%s'" msgstr "" -#: config/tc-i386.c:1646 +#: config/tc-i386.c:1656 #, c-format msgid "invalid character %s before operand %d" msgstr "" -#: config/tc-i386.c:1660 +#: config/tc-i386.c:1670 #, c-format msgid "unbalanced parenthesis in operand %d." msgstr "" -#: config/tc-i386.c:1663 +#: config/tc-i386.c:1673 #, c-format msgid "unbalanced brackets in operand %d." msgstr "" -#: config/tc-i386.c:1672 +#: config/tc-i386.c:1682 #, c-format msgid "invalid character %s in operand %d" msgstr "" -#: config/tc-i386.c:1699 +#: config/tc-i386.c:1709 #, c-format msgid "spurious operands; (%d operands/instruction max)" msgstr "" -#: config/tc-i386.c:1722 +#: config/tc-i386.c:1732 msgid "expecting operand after ','; got nothing" msgstr "" -#: config/tc-i386.c:1727 +#: config/tc-i386.c:1737 msgid "expecting operand before ','; got nothing" msgstr "" #. We found no match. -#: config/tc-i386.c:2069 +#: config/tc-i386.c:2079 #, c-format msgid "suffix or operands invalid for `%s'" msgstr "" -#: config/tc-i386.c:2080 +#: config/tc-i386.c:2090 #, c-format msgid "indirect %s without `*'" msgstr "" #. Warn them that a data or address size prefix doesn't #. affect assembly of the next line of code. -#: config/tc-i386.c:2088 +#: config/tc-i386.c:2098 #, c-format msgid "stand-alone `%s' prefix" msgstr "" -#: config/tc-i386.c:2117 config/tc-i386.c:2132 +#: config/tc-i386.c:2127 config/tc-i386.c:2142 #, c-format msgid "`%s' operand %d must use `%%es' segment" msgstr "" -#: config/tc-i386.c:2212 +#: config/tc-i386.c:2222 msgid "" "no instruction mnemonic suffix given and no register operands; can't size " "instruction" @@ -4137,187 +4139,192 @@ msgstr "" #. Prohibit these changes in the 64bit mode, since the #. lowering is more complicated. -#: config/tc-i386.c:2296 config/tc-i386.c:2355 config/tc-i386.c:2372 -#: config/tc-i386.c:2404 config/tc-i386.c:2437 +#: config/tc-i386.c:2306 config/tc-i386.c:2365 config/tc-i386.c:2382 +#: config/tc-i386.c:2414 config/tc-i386.c:2447 #, c-format msgid "Incorrect register `%%%s' used with `%c' suffix" msgstr "" -#: config/tc-i386.c:2304 config/tc-i386.c:2362 config/tc-i386.c:2444 +#: config/tc-i386.c:2314 config/tc-i386.c:2372 config/tc-i386.c:2454 #, c-format msgid "using `%%%s' instead of `%%%s' due to `%c' suffix" msgstr "" -#: config/tc-i386.c:2319 config/tc-i386.c:2340 config/tc-i386.c:2391 -#: config/tc-i386.c:2422 +#: config/tc-i386.c:2329 config/tc-i386.c:2350 config/tc-i386.c:2401 +#: config/tc-i386.c:2432 #, c-format msgid "`%%%s' not allowed with `%s%c'" msgstr "" -#: config/tc-i386.c:2485 +#: config/tc-i386.c:2495 msgid "no instruction mnemonic suffix given; can't determine immediate size" msgstr "" -#: config/tc-i386.c:2518 +#: config/tc-i386.c:2528 #, c-format msgid "" "no instruction mnemonic suffix given; can't determine immediate size %x %c" msgstr "" #. Reversed arguments on faddp, fsubp, etc. -#: config/tc-i386.c:2567 +#: config/tc-i386.c:2577 #, c-format msgid "translating to `%s %%%s,%%%s'" msgstr "" #. Extraneous `l' suffix on fp insn. -#: config/tc-i386.c:2574 +#: config/tc-i386.c:2584 #, c-format msgid "translating to `%s %%%s'" msgstr "" -#: config/tc-i386.c:2593 +#: config/tc-i386.c:2602 #, c-format msgid "you can't `pop %%cs'" msgstr "" -#: config/tc-i386.c:2919 config/tc-i386.c:3012 config/tc-i386.c:3051 +#. lea +#: config/tc-i386.c:2621 +msgid "segment override on `lea' is ineffectual" +msgstr "" + +#: config/tc-i386.c:2930 config/tc-i386.c:3024 config/tc-i386.c:3069 msgid "skipping prefixes on this instruction" msgstr "" -#: config/tc-i386.c:3071 +#: config/tc-i386.c:3089 msgid "16-bit jump out of range" msgstr "" -#: config/tc-i386.c:3080 +#: config/tc-i386.c:3098 #, c-format msgid "can't handle non absolute segment in `%s'" msgstr "" -#: config/tc-i386.c:3418 +#: config/tc-i386.c:3539 #, c-format msgid "@%s reloc is not supported in %s bit mode" msgstr "" -#: config/tc-i386.c:3494 +#: config/tc-i386.c:3615 msgid "only 1 or 2 immediate operands are allowed" msgstr "" -#: config/tc-i386.c:3517 config/tc-i386.c:3708 +#: config/tc-i386.c:3638 config/tc-i386.c:3830 #, c-format msgid "junk `%s' after expression" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3528 +#: config/tc-i386.c:3649 #, c-format msgid "missing or invalid immediate expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3559 config/tc-i386.c:3769 +#: config/tc-i386.c:3681 config/tc-i386.c:3896 #, c-format msgid "unimplemented segment %s in operand" msgstr "" -#: config/tc-i386.c:3561 config/tc-i386.c:3771 +#: config/tc-i386.c:3683 config/tc-i386.c:3898 #, c-format msgid "unimplemented segment type %d in operand" msgstr "" -#: config/tc-i386.c:3605 config/tc-i386.c:5836 +#: config/tc-i386.c:3727 config/tc-i386.c:5925 #, c-format msgid "expecting scale factor of 1, 2, 4, or 8: got `%s'" msgstr "" -#: config/tc-i386.c:3612 +#: config/tc-i386.c:3734 #, c-format msgid "scale factor of %d without an index register" msgstr "" -#: config/tc-i386.c:3728 +#: config/tc-i386.c:3850 #, c-format msgid "bad expression used with @%s" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3750 +#: config/tc-i386.c:3872 #, c-format msgid "missing or invalid displacement expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3869 +#: config/tc-i386.c:3996 #, c-format msgid "`%s' is not a valid base/index expression" msgstr "" -#: config/tc-i386.c:3873 +#: config/tc-i386.c:4000 #, c-format msgid "`%s' is not a valid %s bit base/index expression" msgstr "" -#: config/tc-i386.c:3948 +#: config/tc-i386.c:4075 #, c-format msgid "bad memory operand `%s'" msgstr "" -#: config/tc-i386.c:3963 +#: config/tc-i386.c:4090 #, c-format msgid "junk `%s' after register" msgstr "" -#: config/tc-i386.c:3972 config/tc-i386.c:4087 config/tc-i386.c:4125 +#: config/tc-i386.c:4099 config/tc-i386.c:4214 config/tc-i386.c:4252 #, c-format msgid "bad register name `%s'" msgstr "" -#: config/tc-i386.c:3980 +#: config/tc-i386.c:4107 msgid "immediate operand illegal with absolute jump" msgstr "" -#: config/tc-i386.c:4002 +#: config/tc-i386.c:4129 #, c-format msgid "too many memory references for `%s'" msgstr "" -#: config/tc-i386.c:4080 +#: config/tc-i386.c:4207 #, c-format msgid "expecting `,' or `)' after index register in `%s'" msgstr "" -#: config/tc-i386.c:4104 +#: config/tc-i386.c:4231 #, c-format msgid "expecting `)' after scale factor in `%s'" msgstr "" -#: config/tc-i386.c:4111 +#: config/tc-i386.c:4238 #, c-format msgid "expecting index register or scale factor after `,'; got '%c'" msgstr "" -#: config/tc-i386.c:4118 +#: config/tc-i386.c:4245 #, c-format msgid "expecting `,' or `)' after base register in `%s'" msgstr "" #. It's not a memory operand; argh! -#: config/tc-i386.c:4159 +#: config/tc-i386.c:4286 #, c-format msgid "invalid char %s beginning operand %d `%s'" msgstr "" -#: config/tc-i386.c:4338 +#: config/tc-i386.c:4469 msgid "long jump required" msgstr "" -#: config/tc-i386.c:4646 +#: config/tc-i386.c:4733 msgid "Bad call to md_atof ()" msgstr "" -#: config/tc-i386.c:4810 +#: config/tc-i386.c:4897 msgid "No compiled in support for x86_64" msgstr "" -#: config/tc-i386.c:4831 +#: config/tc-i386.c:4918 msgid "" " -Q ignored\n" " -V print assembler version number\n" @@ -4326,63 +4333,63 @@ msgid "" " -s ignored\n" msgstr "" -#: config/tc-i386.c:4838 +#: config/tc-i386.c:4925 msgid " -q quieten some warnings\n" msgstr "" -#: config/tc-i386.c:4939 config/tc-s390.c:1601 +#: config/tc-i386.c:5026 config/tc-s390.c:1601 msgid "GOT already in symbol table" msgstr "" -#: config/tc-i386.c:5077 +#: config/tc-i386.c:5166 #, c-format msgid "can not do %d byte relocation" msgstr "" -#: config/tc-i386.c:5142 config/tc-s390.c:1969 +#: config/tc-i386.c:5231 config/tc-s390.c:1969 #, c-format msgid "cannot represent relocation type %s" msgstr "" -#: config/tc-i386.c:5438 +#: config/tc-i386.c:5527 #, c-format msgid "too many memory references for '%s'" msgstr "" -#: config/tc-i386.c:5601 +#: config/tc-i386.c:5690 #, c-format msgid "Unknown operand modifier `%s'\n" msgstr "" -#: config/tc-i386.c:5808 +#: config/tc-i386.c:5897 #, c-format msgid "`%s' is not a valid segment register" msgstr "" -#: config/tc-i386.c:5818 config/tc-i386.c:5939 +#: config/tc-i386.c:5907 config/tc-i386.c:6028 msgid "Register scaling only allowed in memory operands." msgstr "" -#: config/tc-i386.c:5849 +#: config/tc-i386.c:5938 msgid "Too many register references in memory operand.\n" msgstr "" -#: config/tc-i386.c:5918 +#: config/tc-i386.c:6007 #, c-format msgid "Syntax error. Expecting a constant. Got `%s'.\n" msgstr "" -#: config/tc-i386.c:5988 +#: config/tc-i386.c:6077 #, c-format msgid "Unrecognized token '%s'" msgstr "" -#: config/tc-i386.c:6005 +#: config/tc-i386.c:6094 #, c-format msgid "Unexpected token `%s'\n" msgstr "" -#: config/tc-i386.c:6149 +#: config/tc-i386.c:6238 #, c-format msgid "Unrecognized token `%s'\n" msgstr "" @@ -4391,7 +4398,7 @@ msgstr "" msgid "Unknown temporary pseudo register" msgstr "" -#: config/tc-i860.c:181 config/tc-mips.c:1060 +#: config/tc-i860.c:181 config/tc-mips.c:1074 #, c-format msgid "internal error: can't hash `%s': %s\n" msgstr "" @@ -4649,7 +4656,7 @@ msgstr "" msgid "option --link-relax is only supported in b.out format" msgstr "" -#: config/tc-i960.c:3218 write.c:2689 +#: config/tc-i960.c:3218 write.c:2664 msgid "callj to difference of two symbols" msgstr "" @@ -4760,7 +4767,7 @@ msgstr "" msgid "--gstabs is not supported for ia64" msgstr "" -#: config/tc-ia64.c:6743 config/tc-mips.c:1049 +#: config/tc-ia64.c:6743 config/tc-mips.c:1063 msgid "Could not set architecture and machine" msgstr "" @@ -4921,7 +4928,7 @@ msgid "" "is this intentional ?" msgstr "" -#: config/tc-m32r.c:1252 config/tc-ppc.c:1561 config/tc-ppc.c:3977 +#: config/tc-m32r.c:1252 config/tc-ppc.c:1574 config/tc-ppc.c:3998 msgid "Expected comma after symbol-name: rest of line ignored." msgstr "" @@ -4930,16 +4937,16 @@ msgstr "" msgid ".SCOMMon length (%ld.) <0! Ignored." msgstr "" -#: config/tc-m32r.c:1276 config/tc-ppc.c:1583 config/tc-ppc.c:2626 -#: config/tc-ppc.c:4001 +#: config/tc-m32r.c:1276 config/tc-ppc.c:1596 config/tc-ppc.c:2647 +#: config/tc-ppc.c:4022 msgid "ignoring bad alignment" msgstr "" -#: config/tc-m32r.c:1288 config/tc-ppc.c:1620 config/tc-v850.c:333 +#: config/tc-m32r.c:1288 config/tc-ppc.c:1633 config/tc-v850.c:333 msgid "Common alignment not a power of 2" msgstr "" -#: config/tc-m32r.c:1303 config/tc-ppc.c:1594 config/tc-ppc.c:4013 +#: config/tc-m32r.c:1303 config/tc-ppc.c:1607 config/tc-ppc.c:4034 #, c-format msgid "Ignoring attempt to re-define symbol `%s'." msgstr "" @@ -5290,326 +5297,326 @@ msgstr "" msgid "Can not do %d byte pic relocation" msgstr "" -#: config/tc-m68k.c:904 +#: config/tc-m68k.c:908 #, c-format msgid "Unable to produce reloc against symbol '%s'" msgstr "" -#: config/tc-m68k.c:948 config/tc-mips.c:12955 config/tc-vax.c:3442 +#: config/tc-m68k.c:952 config/tc-mips.c:13040 config/tc-vax.c:3442 #, c-format msgid "Cannot make %s relocation PC relative" msgstr "" -#: config/tc-m68k.c:1041 config/tc-tahoe.c:1495 config/tc-vax.c:1890 +#: config/tc-m68k.c:1045 config/tc-tahoe.c:1495 config/tc-vax.c:1890 msgid "No operator" msgstr "" -#: config/tc-m68k.c:1071 config/tc-tahoe.c:1512 config/tc-vax.c:1907 +#: config/tc-m68k.c:1075 config/tc-tahoe.c:1512 config/tc-vax.c:1907 msgid "Unknown operator" msgstr "" -#: config/tc-m68k.c:1846 +#: config/tc-m68k.c:1850 msgid "invalid instruction for this architecture; needs " msgstr "" -#: config/tc-m68k.c:1851 +#: config/tc-m68k.c:1855 msgid "fpu (68040, 68060 or 68881/68882)" msgstr "" -#: config/tc-m68k.c:1854 +#: config/tc-m68k.c:1858 msgid "mmu (68030 or 68851)" msgstr "" -#: config/tc-m68k.c:1857 +#: config/tc-m68k.c:1861 msgid "68020 or higher" msgstr "" -#: config/tc-m68k.c:1860 +#: config/tc-m68k.c:1864 msgid "68000 or higher" msgstr "" -#: config/tc-m68k.c:1863 +#: config/tc-m68k.c:1867 msgid "68010 or higher" msgstr "" -#: config/tc-m68k.c:1892 +#: config/tc-m68k.c:1896 msgid "operands mismatch" msgstr "" -#: config/tc-m68k.c:1949 config/tc-m68k.c:1955 config/tc-m68k.c:1961 +#: config/tc-m68k.c:1953 config/tc-m68k.c:1959 config/tc-m68k.c:1965 #: config/tc-mmix.c:2465 config/tc-mmix.c:2489 msgid "operand out of range" msgstr "" -#: config/tc-m68k.c:2018 +#: config/tc-m68k.c:2022 #, c-format msgid "Bignum too big for %c format; truncated" msgstr "" -#: config/tc-m68k.c:2086 +#: config/tc-m68k.c:2090 msgid "displacement too large for this architecture; needs 68020 or higher" msgstr "" -#: config/tc-m68k.c:2196 +#: config/tc-m68k.c:2200 msgid "" "scale factor invalid on this architecture; needs cpu32 or 68020 or higher" msgstr "" -#: config/tc-m68k.c:2201 +#: config/tc-m68k.c:2205 msgid "invalid index size for coldfire" msgstr "" -#: config/tc-m68k.c:2254 +#: config/tc-m68k.c:2258 msgid "Forcing byte displacement" msgstr "" -#: config/tc-m68k.c:2256 +#: config/tc-m68k.c:2260 msgid "byte displacement out of range" msgstr "" -#: config/tc-m68k.c:2303 config/tc-m68k.c:2341 +#: config/tc-m68k.c:2307 config/tc-m68k.c:2345 msgid "invalid operand mode for this architecture; needs 68020 or higher" msgstr "" -#: config/tc-m68k.c:2327 config/tc-m68k.c:2361 +#: config/tc-m68k.c:2331 config/tc-m68k.c:2365 msgid ":b not permitted; defaulting to :w" msgstr "" -#: config/tc-m68k.c:2438 +#: config/tc-m68k.c:2442 msgid "unsupported byte value; use a different suffix" msgstr "" -#: config/tc-m68k.c:2452 +#: config/tc-m68k.c:2456 msgid "unknown/incorrect operand" msgstr "" -#: config/tc-m68k.c:2485 config/tc-m68k.c:2493 config/tc-m68k.c:2500 -#: config/tc-m68k.c:2507 +#: config/tc-m68k.c:2489 config/tc-m68k.c:2497 config/tc-m68k.c:2504 +#: config/tc-m68k.c:2511 msgid "out of range" msgstr "" -#: config/tc-m68k.c:2553 +#: config/tc-m68k.c:2557 msgid "Can't use long branches on 68000/68010/5200" msgstr "" -#: config/tc-m68k.c:2663 +#: config/tc-m68k.c:2667 msgid "Expression out of range, using 0" msgstr "" -#: config/tc-m68k.c:2775 config/tc-m68k.c:2791 +#: config/tc-m68k.c:2779 config/tc-m68k.c:2795 msgid "Floating point register in register list" msgstr "" -#: config/tc-m68k.c:2781 +#: config/tc-m68k.c:2785 msgid "Wrong register in floating-point reglist" msgstr "" -#: config/tc-m68k.c:2797 +#: config/tc-m68k.c:2801 msgid "incorrect register in reglist" msgstr "" -#: config/tc-m68k.c:2803 +#: config/tc-m68k.c:2807 msgid "wrong register in floating-point reglist" msgstr "" #. ERROR -#: config/tc-m68k.c:3244 +#: config/tc-m68k.c:3248 msgid "Extra )" msgstr "" #. ERROR -#: config/tc-m68k.c:3255 +#: config/tc-m68k.c:3259 msgid "Missing )" msgstr "" -#: config/tc-m68k.c:3272 +#: config/tc-m68k.c:3276 msgid "Missing operand" msgstr "" -#: config/tc-m68k.c:3604 +#: config/tc-m68k.c:3608 #, c-format msgid "%s -- statement `%s' ignored" msgstr "" -#: config/tc-m68k.c:3653 +#: config/tc-m68k.c:3657 #, c-format msgid "Don't know how to figure width of %c in md_assemble()" msgstr "" -#: config/tc-m68k.c:3835 config/tc-m68k.c:3873 +#: config/tc-m68k.c:3839 config/tc-m68k.c:3877 #, c-format msgid "Internal Error: Can't find %s in hash table" msgstr "" -#: config/tc-m68k.c:3838 config/tc-m68k.c:3876 +#: config/tc-m68k.c:3842 config/tc-m68k.c:3880 #, c-format msgid "Internal Error: Can't hash %s: %s" msgstr "" -#: config/tc-m68k.c:4002 +#: config/tc-m68k.c:4006 #, c-format msgid "unrecognized default cpu `%s' ???" msgstr "" -#: config/tc-m68k.c:4014 +#: config/tc-m68k.c:4018 msgid "68040 and 68851 specified; mmu instructions may assemble incorrectly" msgstr "" -#: config/tc-m68k.c:4034 +#: config/tc-m68k.c:4038 msgid "options for 68881 and no-68881 both given" msgstr "" -#: config/tc-m68k.c:4036 +#: config/tc-m68k.c:4040 msgid "options for 68851 and no-68851 both given" msgstr "" -#: config/tc-m68k.c:4107 +#: config/tc-m68k.c:4111 #, c-format msgid "text label `%s' aligned to odd boundary" msgstr "" -#: config/tc-m68k.c:4326 +#: config/tc-m68k.c:4330 msgid "invalid byte branch offset" msgstr "" -#: config/tc-m68k.c:4363 +#: config/tc-m68k.c:4367 msgid "short branch with zero offset: use :w" msgstr "" -#: config/tc-m68k.c:4832 config/tc-m68k.c:4843 +#: config/tc-m68k.c:4836 config/tc-m68k.c:4847 msgid "expression out of range: defaulting to 1" msgstr "" -#: config/tc-m68k.c:4875 +#: config/tc-m68k.c:4879 msgid "expression out of range: defaulting to 0" msgstr "" -#: config/tc-m68k.c:4908 config/tc-m68k.c:4920 +#: config/tc-m68k.c:4912 config/tc-m68k.c:4924 #, c-format msgid "Can't deal with expression; defaulting to %ld" msgstr "" -#: config/tc-m68k.c:4934 +#: config/tc-m68k.c:4938 msgid "expression doesn't fit in BYTE" msgstr "" -#: config/tc-m68k.c:4938 +#: config/tc-m68k.c:4942 msgid "expression doesn't fit in WORD" msgstr "" -#: config/tc-m68k.c:5031 +#: config/tc-m68k.c:5035 #, c-format msgid "%s: unrecognized processor name" msgstr "" -#: config/tc-m68k.c:5096 +#: config/tc-m68k.c:5100 msgid "bad coprocessor id" msgstr "" -#: config/tc-m68k.c:5102 +#: config/tc-m68k.c:5106 msgid "unrecognized fopt option" msgstr "" -#: config/tc-m68k.c:5236 +#: config/tc-m68k.c:5240 #, c-format msgid "option `%s' may not be negated" msgstr "" -#: config/tc-m68k.c:5247 +#: config/tc-m68k.c:5251 #, c-format msgid "option `%s' not recognized" msgstr "" -#: config/tc-m68k.c:5280 +#: config/tc-m68k.c:5284 msgid "bad format of OPT NEST=depth" msgstr "" -#: config/tc-m68k.c:5343 +#: config/tc-m68k.c:5347 msgid "missing label" msgstr "" -#: config/tc-m68k.c:5367 config/tc-m68k.c:5396 +#: config/tc-m68k.c:5371 config/tc-m68k.c:5400 msgid "bad register list" msgstr "" -#: config/tc-m68k.c:5369 +#: config/tc-m68k.c:5373 #, c-format msgid "bad register list: %s" msgstr "" -#: config/tc-m68k.c:5467 +#: config/tc-m68k.c:5471 msgid "restore without save" msgstr "" -#: config/tc-m68k.c:5641 config/tc-m68k.c:6028 +#: config/tc-m68k.c:5645 config/tc-m68k.c:6032 msgid "syntax error in structured control directive" msgstr "" -#: config/tc-m68k.c:5690 +#: config/tc-m68k.c:5694 msgid "missing condition code in structured control directive" msgstr "" -#: config/tc-m68k.c:5762 +#: config/tc-m68k.c:5766 #, c-format msgid "" "Condition <%c%c> in structured control directive can not be encoded correctly" msgstr "" -#: config/tc-m68k.c:6071 +#: config/tc-m68k.c:6075 msgid "missing then" msgstr "" -#: config/tc-m68k.c:6153 +#: config/tc-m68k.c:6157 msgid "else without matching if" msgstr "" -#: config/tc-m68k.c:6187 +#: config/tc-m68k.c:6191 msgid "endi without matching if" msgstr "" -#: config/tc-m68k.c:6228 +#: config/tc-m68k.c:6232 msgid "break outside of structured loop" msgstr "" -#: config/tc-m68k.c:6267 +#: config/tc-m68k.c:6271 msgid "next outside of structured loop" msgstr "" -#: config/tc-m68k.c:6319 +#: config/tc-m68k.c:6323 msgid "missing =" msgstr "" -#: config/tc-m68k.c:6357 +#: config/tc-m68k.c:6361 msgid "missing to or downto" msgstr "" -#: config/tc-m68k.c:6393 config/tc-m68k.c:6427 config/tc-m68k.c:6646 +#: config/tc-m68k.c:6397 config/tc-m68k.c:6431 config/tc-m68k.c:6650 msgid "missing do" msgstr "" -#: config/tc-m68k.c:6530 +#: config/tc-m68k.c:6534 msgid "endf without for" msgstr "" -#: config/tc-m68k.c:6586 +#: config/tc-m68k.c:6590 msgid "until without repeat" msgstr "" -#: config/tc-m68k.c:6682 +#: config/tc-m68k.c:6686 msgid "endw without while" msgstr "" -#: config/tc-m68k.c:6806 +#: config/tc-m68k.c:6810 #, c-format msgid "unrecognized option `%s'" msgstr "" -#: config/tc-m68k.c:6851 +#: config/tc-m68k.c:6855 #, c-format msgid "unrecognized architecture specification `%s'" msgstr "" -#: config/tc-m68k.c:6944 +#: config/tc-m68k.c:6948 #, c-format msgid "" "680X0 options:\n" @@ -5623,7 +5630,7 @@ msgid "" "\t\t\t[default yes for 68020, 68030, and cpu32]\n" msgstr "" -#: config/tc-m68k.c:6955 +#: config/tc-m68k.c:6959 msgid "" "-m68851 | -mno-68851\n" "\t\t\ttarget has/lacks memory-management unit coprocessor\n" @@ -5636,7 +5643,7 @@ msgid "" "--bitwise-or\t\tdo not treat `|' as a comment character\n" msgstr "" -#: config/tc-m68k.c:6965 +#: config/tc-m68k.c:6969 msgid "" "--base-size-default-16\tbase reg without size is 16 bits\n" "--base-size-default-32\tbase reg without size is 32 bits (default)\n" @@ -5644,12 +5651,12 @@ msgid "" "--disp-size-default-32\tdisplacement with unknown size is 32 bits (default)\n" msgstr "" -#: config/tc-m68k.c:7000 +#: config/tc-m68k.c:7004 #, c-format msgid "Error %s in %s\n" msgstr "" -#: config/tc-m68k.c:7004 +#: config/tc-m68k.c:7008 #, c-format msgid "Opcode(%d.%s): " msgstr "" @@ -5923,426 +5930,426 @@ msgstr "" msgid "pc-relative" msgstr "" -#: config/tc-mips.c:690 +#: config/tc-mips.c:701 #, c-format msgid "internal Error, line %d, %s" msgstr "" -#: config/tc-mips.c:692 +#: config/tc-mips.c:703 msgid "MIPS internal Error" msgstr "" -#: config/tc-mips.c:1086 +#: config/tc-mips.c:1100 #, c-format msgid "internal: can't hash `%s': %s" msgstr "" -#: config/tc-mips.c:1094 +#: config/tc-mips.c:1108 #, c-format msgid "internal error: bad mips16 opcode: %s %s\n" msgstr "" -#: config/tc-mips.c:1275 +#: config/tc-mips.c:1289 #, c-format msgid "returned from mips_ip(%s) insn_opcode = 0x%x\n" msgstr "" -#: config/tc-mips.c:1830 config/tc-mips.c:13100 +#: config/tc-mips.c:1844 config/tc-mips.c:13185 msgid "extended instruction in delay slot" msgstr "" -#: config/tc-mips.c:1874 config/tc-mips.c:1885 +#: config/tc-mips.c:1888 config/tc-mips.c:1899 #, c-format msgid "jump to misaligned address (0x%lx)" msgstr "" -#: config/tc-mips.c:1878 config/tc-mips.c:1889 +#: config/tc-mips.c:1892 config/tc-mips.c:1903 #, c-format msgid "jump address range overflow (0x%lx)" msgstr "" -#: config/tc-mips.c:2693 config/tc-mips.c:3088 +#: config/tc-mips.c:2707 config/tc-mips.c:3108 msgid "Macro instruction expanded into multiple instructions" msgstr "" -#: config/tc-mips.c:2705 +#: config/tc-mips.c:2719 msgid "" "Macro instruction expanded into multiple instructions in a branch delay slot" msgstr "" -#: config/tc-mips.c:3141 +#: config/tc-mips.c:3143 config/tc-mips.c:7198 config/tc-mips.c:7227 +#: config/tc-mips.c:7297 config/tc-mips.c:7323 +msgid "operand overflow" +msgstr "" + +#: config/tc-mips.c:3170 config/tc-mips.c:6562 config/tc-mips.c:7404 +msgid "Macro used $at after \".set noat\"" +msgstr "" + +#: config/tc-mips.c:3207 msgid "unsupported large constant" msgstr "" -#: config/tc-mips.c:3143 +#: config/tc-mips.c:3209 #, c-format msgid "Instruction %s requires absolute expression" msgstr "" -#: config/tc-mips.c:3292 +#: config/tc-mips.c:3353 #, c-format msgid "Number (0x%lx) larger than 32 bits" msgstr "" -#: config/tc-mips.c:3314 +#: config/tc-mips.c:3375 msgid "Number larger than 64 bits" msgstr "" -#: config/tc-mips.c:3631 config/tc-mips.c:3709 config/tc-mips.c:5637 -#: config/tc-mips.c:5688 config/tc-mips.c:6236 config/tc-mips.c:6295 +#: config/tc-mips.c:3692 config/tc-mips.c:3770 config/tc-mips.c:5706 +#: config/tc-mips.c:5757 config/tc-mips.c:6305 config/tc-mips.c:6364 msgid "PIC code offset overflow (max 16 signed bits)" msgstr "" -#: config/tc-mips.c:3957 +#: config/tc-mips.c:4018 #, c-format msgid "Branch %s is always false (nop)" msgstr "" -#: config/tc-mips.c:3965 +#: config/tc-mips.c:4026 #, c-format msgid "Branch likely %s is always false" msgstr "" -#: config/tc-mips.c:3973 config/tc-mips.c:4042 config/tc-mips.c:4137 -#: config/tc-mips.c:4187 config/tc-mips.c:7426 config/tc-mips.c:7434 -#: config/tc-mips.c:7442 config/tc-mips.c:7551 +#: config/tc-mips.c:4034 config/tc-mips.c:4103 config/tc-mips.c:4198 +#: config/tc-mips.c:4248 config/tc-mips.c:7513 config/tc-mips.c:7521 +#: config/tc-mips.c:7529 config/tc-mips.c:7638 msgid "Unsupported large constant" msgstr "" #. result is always true -#: config/tc-mips.c:4007 +#: config/tc-mips.c:4068 #, c-format msgid "Branch %s is always true" msgstr "" -#: config/tc-mips.c:4259 config/tc-mips.c:4371 +#: config/tc-mips.c:4320 config/tc-mips.c:4432 msgid "Divide by zero." msgstr "" -#: config/tc-mips.c:4460 +#: config/tc-mips.c:4521 msgid "dla used to load 32-bit register" msgstr "" -#: config/tc-mips.c:4463 +#: config/tc-mips.c:4524 msgid "la used to load 64-bit address" msgstr "" -#: config/tc-mips.c:5044 +#: config/tc-mips.c:5115 msgid "MIPS PIC call to register other than $25" msgstr "" -#: config/tc-mips.c:5051 config/tc-mips.c:5062 config/tc-mips.c:5181 -#: config/tc-mips.c:5192 +#: config/tc-mips.c:5122 config/tc-mips.c:5133 config/tc-mips.c:5251 +#: config/tc-mips.c:5262 msgid "No .cprestore pseudo-op used in PIC code" msgstr "" -#: config/tc-mips.c:5056 config/tc-mips.c:5186 +#: config/tc-mips.c:5127 config/tc-mips.c:5256 msgid "No .frame pseudo-op used in PIC code" msgstr "" -#: config/tc-mips.c:5265 config/tc-mips.c:5354 config/tc-mips.c:5985 -#: config/tc-mips.c:6026 config/tc-mips.c:6044 config/tc-mips.c:6759 +#: config/tc-mips.c:5334 config/tc-mips.c:5423 config/tc-mips.c:6054 +#: config/tc-mips.c:6095 config/tc-mips.c:6113 config/tc-mips.c:6846 msgid "opcode not supported on this processor" msgstr "" -#: config/tc-mips.c:6493 config/tc-mips.c:7317 -msgid "Macro used $at after \".set noat\"" -msgstr "" - -#: config/tc-mips.c:6660 config/tc-mips.c:6681 config/tc-mips.c:6722 -#: config/tc-mips.c:6743 +#: config/tc-mips.c:6728 config/tc-mips.c:6755 config/tc-mips.c:6799 +#: config/tc-mips.c:6826 msgid "rotate count too large" msgstr "" -#: config/tc-mips.c:6799 +#: config/tc-mips.c:6886 #, c-format msgid "Instruction %s: result is always false" msgstr "" -#: config/tc-mips.c:6972 +#: config/tc-mips.c:7059 #, c-format msgid "Instruction %s: result is always true" msgstr "" -#: config/tc-mips.c:7111 config/tc-mips.c:7140 config/tc-mips.c:7210 -#: config/tc-mips.c:7236 -msgid "operand overflow" -msgstr "" - #. FIXME: Check if this is one of the itbl macros, since they #. are added dynamically. -#: config/tc-mips.c:7313 +#: config/tc-mips.c:7400 #, c-format msgid "Macro %s not implemented yet" msgstr "" -#: config/tc-mips.c:7584 +#: config/tc-mips.c:7671 #, c-format msgid "internal: bad mips opcode (mask error): %s %s" msgstr "" -#: config/tc-mips.c:7646 +#: config/tc-mips.c:7733 #, c-format msgid "internal: bad mips opcode (unknown operand type `%c'): %s %s" msgstr "" -#: config/tc-mips.c:7653 +#: config/tc-mips.c:7740 #, c-format msgid "internal: bad mips opcode (bits 0x%lx undefined): %s %s" msgstr "" -#: config/tc-mips.c:7767 +#: config/tc-mips.c:7854 #, c-format msgid "opcode not supported on this processor: %s (%s)" msgstr "" -#: config/tc-mips.c:7847 +#: config/tc-mips.c:7934 #, c-format msgid "Improper shift amount (%lu)" msgstr "" -#: config/tc-mips.c:7873 config/tc-mips.c:9187 config/tc-mips.c:9302 +#: config/tc-mips.c:7960 config/tc-mips.c:9268 config/tc-mips.c:9383 #, c-format msgid "Invalid value for `%s' (%lu)" msgstr "" -#: config/tc-mips.c:7891 +#: config/tc-mips.c:7978 #, c-format msgid "Illegal break code (%lu)" msgstr "" -#: config/tc-mips.c:7905 +#: config/tc-mips.c:7992 #, c-format msgid "Illegal lower break code (%lu)" msgstr "" -#: config/tc-mips.c:7918 +#: config/tc-mips.c:8005 #, c-format msgid "Illegal 20-bit code (%lu)" msgstr "" -#: config/tc-mips.c:7930 +#: config/tc-mips.c:8017 #, c-format msgid "Coproccesor code > 25 bits (%lu)" msgstr "" -#: config/tc-mips.c:7943 +#: config/tc-mips.c:8030 #, c-format msgid "Illegal 19-bit code (%lu)" msgstr "" -#: config/tc-mips.c:7955 +#: config/tc-mips.c:8042 #, c-format msgid "Invalid performance register (%lu)" msgstr "" -#: config/tc-mips.c:7992 +#: config/tc-mips.c:8079 #, c-format msgid "Invalid register number (%d)" msgstr "" -#: config/tc-mips.c:8168 +#: config/tc-mips.c:8255 #, c-format msgid "Invalid MDMX Immediate (%ld)" msgstr "" -#: config/tc-mips.c:8211 +#: config/tc-mips.c:8298 #, c-format msgid "Invalid float register number (%d)" msgstr "" -#: config/tc-mips.c:8221 +#: config/tc-mips.c:8308 #, c-format msgid "Float register should be even, was %d" msgstr "" -#: config/tc-mips.c:8260 +#: config/tc-mips.c:8347 #, c-format msgid "Bad element selector %ld" msgstr "" -#: config/tc-mips.c:8267 +#: config/tc-mips.c:8354 #, c-format msgid "Expecting ']' found '%s'" msgstr "" -#: config/tc-mips.c:8309 +#: config/tc-mips.c:8396 msgid "absolute expression required" msgstr "" -#: config/tc-mips.c:8377 +#: config/tc-mips.c:8464 #, c-format msgid "Bad floating point constant: %s" msgstr "" -#: config/tc-mips.c:8505 +#: config/tc-mips.c:8592 msgid "Can't use floating point insn in this section" msgstr "" -#: config/tc-mips.c:8546 config/tc-mips.c:8551 config/tc-mips.c:8682 -#: config/tc-mips.c:8687 +#: config/tc-mips.c:8635 config/tc-mips.c:8640 config/tc-mips.c:8763 +#: config/tc-mips.c:8768 msgid "bad composition of relocations" msgstr "" -#: config/tc-mips.c:8584 +#: config/tc-mips.c:8668 msgid "16 bit expression not in range 0..65535" msgstr "" -#: config/tc-mips.c:8621 +#: config/tc-mips.c:8705 msgid "16 bit expression not in range -32768..32767" msgstr "" -#: config/tc-mips.c:8706 +#: config/tc-mips.c:8787 msgid "lui expression not in range 0..65535" msgstr "" -#: config/tc-mips.c:8730 +#: config/tc-mips.c:8811 #, c-format msgid "invalid condition code register $fcc%d" msgstr "" -#: config/tc-mips.c:8755 +#: config/tc-mips.c:8836 msgid "invalid coprocessor sub-selection value (0-7)" msgstr "" -#: config/tc-mips.c:8760 +#: config/tc-mips.c:8841 #, c-format msgid "bad char = '%c'\n" msgstr "" -#: config/tc-mips.c:8771 config/tc-mips.c:8776 config/tc-mips.c:9327 +#: config/tc-mips.c:8852 config/tc-mips.c:8857 config/tc-mips.c:9408 msgid "illegal operands" msgstr "" -#: config/tc-mips.c:8843 +#: config/tc-mips.c:8924 msgid "unrecognized opcode" msgstr "" -#: config/tc-mips.c:8955 +#: config/tc-mips.c:9036 #, c-format msgid "invalid register number (%d)" msgstr "" -#: config/tc-mips.c:9046 +#: config/tc-mips.c:9127 msgid "used $at without \".set noat\"" msgstr "" -#: config/tc-mips.c:9221 +#: config/tc-mips.c:9302 msgid "can't parse register list" msgstr "" -#: config/tc-mips.c:9453 +#: config/tc-mips.c:9534 msgid "extended operand requested but not required" msgstr "" -#: config/tc-mips.c:9455 +#: config/tc-mips.c:9536 msgid "invalid unextended operand value" msgstr "" -#: config/tc-mips.c:9483 +#: config/tc-mips.c:9564 msgid "operand value out of range for instruction" msgstr "" -#: config/tc-mips.c:9715 +#: config/tc-mips.c:9796 msgid "internal error" msgstr "" -#: config/tc-mips.c:10048 +#: config/tc-mips.c:10129 #, c-format msgid "invalid architecture -mtune=%s" msgstr "" -#: config/tc-mips.c:10051 +#: config/tc-mips.c:10132 #, c-format msgid "invalid architecture -march=%s" msgstr "" -#: config/tc-mips.c:10054 +#: config/tc-mips.c:10135 #, c-format msgid "invalid architecture -mcpu=%s" msgstr "" -#: config/tc-mips.c:10066 +#: config/tc-mips.c:10147 #, c-format msgid "A different -mtune= was already specified, is now -mtune=%s" msgstr "" -#: config/tc-mips.c:10072 +#: config/tc-mips.c:10153 #, c-format msgid "A different -march= was already specified, is now -march=%s" msgstr "" -#: config/tc-mips.c:10078 +#: config/tc-mips.c:10159 #, c-format msgid "A different -mcpu= was already specified, is now -mcpu=%s" msgstr "" -#: config/tc-mips.c:10088 +#: config/tc-mips.c:10169 msgid "A different -march= or -mtune= was already specified, is now -m4650" msgstr "" -#: config/tc-mips.c:10100 +#: config/tc-mips.c:10181 msgid "A different -march= or -mtune= was already specified, is now -m4010" msgstr "" -#: config/tc-mips.c:10112 +#: config/tc-mips.c:10193 msgid "A different -march= or -mtune= was already specified, is now -m4100" msgstr "" -#: config/tc-mips.c:10124 +#: config/tc-mips.c:10205 msgid "A different -march= or -mtune= was already specified, is now -m3900" msgstr "" -#: config/tc-mips.c:10163 +#: config/tc-mips.c:10244 msgid "-G may not be used with embedded PIC code" msgstr "" -#: config/tc-mips.c:10176 +#: config/tc-mips.c:10257 msgid "-call_shared is supported only for ELF format" msgstr "" -#: config/tc-mips.c:10182 config/tc-mips.c:11627 config/tc-mips.c:11837 +#: config/tc-mips.c:10263 config/tc-mips.c:11708 config/tc-mips.c:11918 msgid "-G may not be used with SVR4 PIC code" msgstr "" -#: config/tc-mips.c:10191 +#: config/tc-mips.c:10272 msgid "-non_shared is supported only for ELF format" msgstr "" -#: config/tc-mips.c:10208 +#: config/tc-mips.c:10289 msgid "-G is not supported for this configuration" msgstr "" -#: config/tc-mips.c:10213 +#: config/tc-mips.c:10294 msgid "-G may not be used with SVR4 or embedded PIC code" msgstr "" -#: config/tc-mips.c:10227 +#: config/tc-mips.c:10308 msgid "-32 is supported for ELF format only" msgstr "" -#: config/tc-mips.c:10236 +#: config/tc-mips.c:10317 msgid "-n32 is supported for ELF format only" msgstr "" -#: config/tc-mips.c:10245 +#: config/tc-mips.c:10326 msgid "-64 is supported for ELF format only" msgstr "" -#: config/tc-mips.c:10250 config/tc-mips.c:10289 +#: config/tc-mips.c:10331 config/tc-mips.c:10370 msgid "No compiled in support for 64 bit object file format" msgstr "" -#: config/tc-mips.c:10276 +#: config/tc-mips.c:10357 msgid "-mabi is supported for ELF format only" msgstr "" -#: config/tc-mips.c:10296 +#: config/tc-mips.c:10377 #, c-format msgid "invalid abi -mabi=%s" msgstr "" -#: config/tc-mips.c:10363 +#: config/tc-mips.c:10444 msgid "" "MIPS options:\n" "-membedded-pic\t\tgenerate embedded position independent code\n" @@ -6353,7 +6360,7 @@ msgid "" "\t\t\timplicitly with the gp register [default 8]\n" msgstr "" -#: config/tc-mips.c:10371 +#: config/tc-mips.c:10452 msgid "" "-mips1\t\t\tgenerate MIPS ISA I instructions\n" "-mips2\t\t\tgenerate MIPS ISA II instructions\n" @@ -6365,20 +6372,20 @@ msgid "" "-march=CPU/-mtune=CPU\tgenerate code/schedule for CPU, where CPU is one of:\n" msgstr "" -#: config/tc-mips.c:10407 +#: config/tc-mips.c:10488 msgid "" "-mCPU\t\t\tequivalent to -march=CPU -mtune=CPU. Deprecated.\n" "-no-mCPU\t\tdon't generate code specific to CPU.\n" "\t\t\tFor -mCPU and -no-mCPU, CPU must be one of:\n" msgstr "" -#: config/tc-mips.c:10420 +#: config/tc-mips.c:10501 msgid "" "-mips16\t\t\tgenerate mips16 instructions\n" "-no-mips16\t\tdo not generate mips16 instructions\n" msgstr "" -#: config/tc-mips.c:10423 +#: config/tc-mips.c:10504 msgid "" "-mgp32\t\t\tuse 32-bit GPRs, regardless of the chosen ISA\n" "-mfp32\t\t\tuse 32-bit FPRs, regardless of the chosen ISA\n" @@ -6390,7 +6397,7 @@ msgid "" "--break, --no-trap\tbreak exception on div by 0 and mult overflow\n" msgstr "" -#: config/tc-mips.c:10433 +#: config/tc-mips.c:10514 msgid "" "-KPIC, -call_shared\tgenerate SVR4 position independent code\n" "-non_shared\t\tdo not generate position independent code\n" @@ -6398,223 +6405,223 @@ msgid "" "-mabi=ABI\t\tcreate ABI conformant object file for:\n" msgstr "" -#: config/tc-mips.c:10449 +#: config/tc-mips.c:10530 msgid "" "-32\t\t\tcreate o32 ABI object file (default)\n" "-n32\t\t\tcreate n32 ABI object file\n" "-64\t\t\tcreate 64 ABI object file\n" msgstr "" -#: config/tc-mips.c:10469 +#: config/tc-mips.c:10550 msgid "-G not supported in this configuration." msgstr "" -#: config/tc-mips.c:10488 +#: config/tc-mips.c:10569 msgid "" "The -mcpu option can't be used together with -march. Use -mtune instead of -" "mcpu." msgstr "" -#: config/tc-mips.c:10496 +#: config/tc-mips.c:10577 msgid "" "The -mcpu option can't be used together with -mtune. Use -march instead of -" "mcpu." msgstr "" -#: config/tc-mips.c:10545 config/tc-mips.c:10570 +#: config/tc-mips.c:10626 config/tc-mips.c:10651 msgid "The -mcpu option is deprecated. Please use -march and -mtune instead." msgstr "" #. This really should be an error instead of a warning, but old #. compilers only have -mcpu which sets both arch and tune. For #. now, we discard arch and preserve tune. -#: config/tc-mips.c:10590 +#: config/tc-mips.c:10671 msgid "The -march option is incompatible to -mipsN and therefore ignored." msgstr "" -#: config/tc-mips.c:10642 +#: config/tc-mips.c:10723 msgid "trap exception not supported at ISA 1" msgstr "" -#: config/tc-mips.c:10810 +#: config/tc-mips.c:10891 #, c-format msgid "Unmatched %%hi reloc" msgstr "" -#: config/tc-mips.c:11030 +#: config/tc-mips.c:11111 msgid "Invalid PC relative reloc" msgstr "" -#: config/tc-mips.c:11138 config/tc-sparc.c:3113 config/tc-sparc.c:3120 +#: config/tc-mips.c:11219 config/tc-sparc.c:3113 config/tc-sparc.c:3120 #: config/tc-sparc.c:3127 config/tc-sparc.c:3134 config/tc-sparc.c:3141 #: config/tc-sparc.c:3150 config/tc-sparc.c:3161 config/tc-sparc.c:3183 -#: config/tc-sparc.c:3207 write.c:1041 write.c:1104 +#: config/tc-sparc.c:3207 write.c:1038 write.c:1101 msgid "relocation overflow" msgstr "" -#: config/tc-mips.c:11149 +#: config/tc-mips.c:11230 #, c-format msgid "Branch to odd address (%lx)" msgstr "" -#: config/tc-mips.c:11214 +#: config/tc-mips.c:11295 msgid "Branch out of range" msgstr "" -#: config/tc-mips.c:11322 +#: config/tc-mips.c:11403 #, c-format msgid "%08lx UNDEFINED\n" msgstr "" -#: config/tc-mips.c:11385 +#: config/tc-mips.c:11466 #, c-format msgid "Alignment too large: %d. assumed." msgstr "" -#: config/tc-mips.c:11388 +#: config/tc-mips.c:11469 msgid "Alignment negative: 0 assumed." msgstr "" -#: config/tc-mips.c:11476 +#: config/tc-mips.c:11557 msgid "No read only data section in this object file format" msgstr "" -#: config/tc-mips.c:11499 +#: config/tc-mips.c:11580 msgid "Global pointers not supported; recompile -G 0" msgstr "" -#: config/tc-mips.c:11585 +#: config/tc-mips.c:11666 #, c-format msgid "%s: no such section" msgstr "" -#: config/tc-mips.c:11622 +#: config/tc-mips.c:11703 #, c-format msgid ".option pic%d not supported" msgstr "" -#: config/tc-mips.c:11633 +#: config/tc-mips.c:11714 #, c-format msgid "Unrecognized option \"%s\"" msgstr "" -#: config/tc-mips.c:11696 +#: config/tc-mips.c:11777 msgid "`noreorder' must be set before `nomacro'" msgstr "" -#: config/tc-mips.c:11760 config/tc-mips.c:11774 +#: config/tc-mips.c:11841 config/tc-mips.c:11855 #, c-format msgid "unknown ISA level %s" msgstr "" -#: config/tc-mips.c:11796 +#: config/tc-mips.c:11877 msgid ".set pop with no .set push" msgstr "" -#: config/tc-mips.c:11820 +#: config/tc-mips.c:11901 #, c-format msgid "Tried to set unrecognized symbol: %s\n" msgstr "" -#: config/tc-mips.c:11871 +#: config/tc-mips.c:11952 msgid ".cpload not in noreorder section" msgstr "" -#: config/tc-mips.c:11928 config/tc-mips.c:11947 +#: config/tc-mips.c:12009 config/tc-mips.c:12028 msgid "missing argument separator ',' for .cpsetup" msgstr "" -#: config/tc-mips.c:12128 +#: config/tc-mips.c:12213 msgid "Unsupported use of .gpword" msgstr "" -#: config/tc-mips.c:12263 +#: config/tc-mips.c:12348 msgid "expected `$'" msgstr "" -#: config/tc-mips.c:12271 +#: config/tc-mips.c:12356 msgid "Bad register number" msgstr "" -#: config/tc-mips.c:12319 +#: config/tc-mips.c:12404 msgid "Unrecognized register name" msgstr "" -#: config/tc-mips.c:12505 +#: config/tc-mips.c:12590 msgid "unsupported PC relative reference to different section" msgstr "" -#: config/tc-mips.c:12618 +#: config/tc-mips.c:12703 msgid "unsupported relocation" msgstr "" -#: config/tc-mips.c:12714 +#: config/tc-mips.c:12799 msgid "AT used after \".set noat\" or macro used after \".set nomacro\"" msgstr "" -#: config/tc-mips.c:12784 +#: config/tc-mips.c:12869 msgid "Double check fx_r_type in tc-mips.c:tc_gen_reloc" msgstr "" -#: config/tc-mips.c:12987 config/tc-sh.c:3799 +#: config/tc-mips.c:13072 config/tc-sh.c:3799 #, c-format msgid "Can not represent %s relocation in this object file format" msgstr "" -#: config/tc-mips.c:13338 +#: config/tc-mips.c:13423 msgid "missing .end at end of assembly" msgstr "" -#: config/tc-mips.c:13353 +#: config/tc-mips.c:13438 msgid "expected simple number" msgstr "" -#: config/tc-mips.c:13379 +#: config/tc-mips.c:13464 #, c-format msgid " *input_line_pointer == '%c' 0x%02x\n" msgstr "" -#: config/tc-mips.c:13381 +#: config/tc-mips.c:13466 msgid "invalid number" msgstr "" -#: config/tc-mips.c:13470 +#: config/tc-mips.c:13555 msgid ".end not in text section" msgstr "" -#: config/tc-mips.c:13474 +#: config/tc-mips.c:13559 msgid ".end directive without a preceding .ent directive." msgstr "" -#: config/tc-mips.c:13483 +#: config/tc-mips.c:13568 msgid ".end symbol does not match .ent symbol." msgstr "" -#: config/tc-mips.c:13490 +#: config/tc-mips.c:13575 msgid ".end directive missing or unknown symbol" msgstr "" -#: config/tc-mips.c:13564 +#: config/tc-mips.c:13649 msgid ".ent or .aent not in text section." msgstr "" -#: config/tc-mips.c:13567 +#: config/tc-mips.c:13652 msgid "missing .end" msgstr "" -#: config/tc-mips.c:13609 ecoff.c:3200 +#: config/tc-mips.c:13694 ecoff.c:3200 msgid ".frame outside of .ent" msgstr "" -#: config/tc-mips.c:13620 +#: config/tc-mips.c:13705 msgid "Bad .frame directive" msgstr "" -#: config/tc-mips.c:13653 +#: config/tc-mips.c:13738 msgid ".mask/.fmask outside of .ent" msgstr "" -#: config/tc-mips.c:13660 +#: config/tc-mips.c:13745 msgid "Bad .mask/.fmask directive" msgstr "" @@ -6866,19 +6873,19 @@ msgid "" "none yet\n" msgstr "" -#: config/tc-mn10200.c:793 config/tc-mn10300.c:936 config/tc-ppc.c:1883 +#: config/tc-mn10200.c:793 config/tc-mn10300.c:936 config/tc-ppc.c:1896 #: config/tc-s390.c:1299 config/tc-v850.c:1636 #, c-format msgid "Unrecognized opcode: `%s'" msgstr "" -#: config/tc-mn10200.c:1036 config/tc-mn10300.c:1459 config/tc-ppc.c:2318 +#: config/tc-mn10200.c:1036 config/tc-mn10300.c:1459 config/tc-ppc.c:2339 #: config/tc-s390.c:1224 config/tc-v850.c:2060 #, c-format msgid "junk at end of line: `%s'" msgstr "" -#: config/tc-mn10200.c:1349 config/tc-mn10300.c:2083 config/tc-ppc.c:1290 +#: config/tc-mn10200.c:1349 config/tc-mn10300.c:2083 config/tc-ppc.c:1303 #: config/tc-v850.c:1565 #, c-format msgid "operand out of range (%s not between %ld and %ld)" @@ -7196,216 +7203,216 @@ msgid "" "-Qy, -Qn\t\tignored\n" msgstr "" -#: config/tc-ppc.c:1075 +#: config/tc-ppc.c:1080 #, c-format msgid "Unknown default cpu = %s, os = %s" msgstr "" -#: config/tc-ppc.c:1100 +#: config/tc-ppc.c:1105 msgid "Neither Power nor PowerPC opcodes were selected." msgstr "" -#: config/tc-ppc.c:1181 config/tc-s390.c:477 +#: config/tc-ppc.c:1194 config/tc-s390.c:477 #, c-format msgid "Internal assembler error for instruction %s" msgstr "" -#: config/tc-ppc.c:1201 +#: config/tc-ppc.c:1214 #, c-format msgid "Internal assembler error for macro %s" msgstr "" -#: config/tc-ppc.c:1428 +#: config/tc-ppc.c:1441 msgid "identifier+constant@got means identifier@got+constant" msgstr "" -#: config/tc-ppc.c:1495 +#: config/tc-ppc.c:1508 #, c-format msgid "%s relocations do not fit in %d bytes\n" msgstr "" -#: config/tc-ppc.c:1602 +#: config/tc-ppc.c:1615 #, c-format msgid "Length of .lcomm \"%s\" is already %ld. Not changed to %ld." msgstr "" -#: config/tc-ppc.c:1684 +#: config/tc-ppc.c:1697 msgid "Relocation cannot be done when using -mrelocatable" msgstr "" -#: config/tc-ppc.c:1810 +#: config/tc-ppc.c:1823 #, c-format msgid "syntax error: invalid toc specifier `%s'" msgstr "" -#: config/tc-ppc.c:1824 +#: config/tc-ppc.c:1837 #, c-format msgid "syntax error: expected `]', found `%c'" msgstr "" -#: config/tc-ppc.c:2060 +#: config/tc-ppc.c:2081 msgid "[tocv] symbol is not a toc symbol" msgstr "" -#: config/tc-ppc.c:2071 +#: config/tc-ppc.c:2092 msgid "Unimplemented toc32 expression modifier" msgstr "" -#: config/tc-ppc.c:2076 +#: config/tc-ppc.c:2097 msgid "Unimplemented toc64 expression modifier" msgstr "" -#: config/tc-ppc.c:2080 +#: config/tc-ppc.c:2101 #, c-format msgid "Unexpected return value [%d] from parse_toc_entry!\n" msgstr "" -#: config/tc-ppc.c:2262 +#: config/tc-ppc.c:2283 msgid "unsupported relocation for DS offset field" msgstr "" -#: config/tc-ppc.c:2306 +#: config/tc-ppc.c:2327 #, c-format msgid "syntax error; found `%c' but expected `%c'" msgstr "" -#: config/tc-ppc.c:2430 +#: config/tc-ppc.c:2451 msgid "wrong number of operands" msgstr "" -#: config/tc-ppc.c:2486 +#: config/tc-ppc.c:2507 msgid "Bad .section directive: want a,e,w,x,M,S,G,T in string" msgstr "" -#: config/tc-ppc.c:2601 +#: config/tc-ppc.c:2622 msgid "missing size" msgstr "" -#: config/tc-ppc.c:2610 +#: config/tc-ppc.c:2631 msgid "negative size" msgstr "" -#: config/tc-ppc.c:2647 +#: config/tc-ppc.c:2668 msgid "missing real symbol name" msgstr "" -#: config/tc-ppc.c:2668 +#: config/tc-ppc.c:2689 msgid "attempt to redefine symbol" msgstr "" -#: config/tc-ppc.c:2902 +#: config/tc-ppc.c:2923 msgid "The XCOFF file format does not support arbitrary sections" msgstr "" -#: config/tc-ppc.c:2979 +#: config/tc-ppc.c:3000 msgid "missing rename string" msgstr "" -#: config/tc-ppc.c:3010 config/tc-ppc.c:3565 read.c:3058 +#: config/tc-ppc.c:3031 config/tc-ppc.c:3586 read.c:3058 msgid "missing value" msgstr "" -#: config/tc-ppc.c:3028 +#: config/tc-ppc.c:3049 msgid "illegal .stabx expression; zero assumed" msgstr "" -#: config/tc-ppc.c:3060 +#: config/tc-ppc.c:3081 msgid "missing class" msgstr "" -#: config/tc-ppc.c:3069 +#: config/tc-ppc.c:3090 msgid "missing type" msgstr "" -#: config/tc-ppc.c:3150 +#: config/tc-ppc.c:3171 msgid "missing symbol name" msgstr "" -#: config/tc-ppc.c:3344 +#: config/tc-ppc.c:3365 msgid "nested .bs blocks" msgstr "" -#: config/tc-ppc.c:3377 +#: config/tc-ppc.c:3398 msgid ".es without preceding .bs" msgstr "" -#: config/tc-ppc.c:3557 +#: config/tc-ppc.c:3578 msgid "non-constant byte count" msgstr "" -#: config/tc-ppc.c:3605 +#: config/tc-ppc.c:3626 msgid ".tc not in .toc section" msgstr "" -#: config/tc-ppc.c:3624 +#: config/tc-ppc.c:3645 msgid ".tc with no label" msgstr "" -#: config/tc-ppc.c:3735 +#: config/tc-ppc.c:3756 msgid "No previous section to return to. Directive ignored." msgstr "" #. Section Contents #. unknown -#: config/tc-ppc.c:4152 +#: config/tc-ppc.c:4173 msgid "Unsupported section attribute -- 'a'" msgstr "" -#: config/tc-ppc.c:4341 +#: config/tc-ppc.c:4362 msgid "bad symbol suffix" msgstr "" -#: config/tc-ppc.c:4434 +#: config/tc-ppc.c:4455 msgid "Unrecognized symbol suffix" msgstr "" -#: config/tc-ppc.c:4516 +#: config/tc-ppc.c:4537 msgid "two .function pseudo-ops with no intervening .ef" msgstr "" -#: config/tc-ppc.c:4529 +#: config/tc-ppc.c:4550 msgid ".ef with no preceding .function" msgstr "" -#: config/tc-ppc.c:4657 +#: config/tc-ppc.c:4678 #, c-format msgid "warning: symbol %s has no csect" msgstr "" -#: config/tc-ppc.c:4957 +#: config/tc-ppc.c:4978 msgid "symbol in .toc does not match any .tc" msgstr "" -#: config/tc-ppc.c:5256 config/tc-s390.c:1809 config/tc-v850.c:2331 +#: config/tc-ppc.c:5291 config/tc-s390.c:1809 config/tc-v850.c:2331 #: config/tc-xstormy16.c:536 msgid "unresolved expression that must be resolved" msgstr "" -#: config/tc-ppc.c:5259 +#: config/tc-ppc.c:5294 #, c-format msgid "unsupported relocation against %s" msgstr "" -#: config/tc-ppc.c:5334 +#: config/tc-ppc.c:5369 #, c-format msgid "cannot emit PC relative %s relocation against %s" msgstr "" -#: config/tc-ppc.c:5339 +#: config/tc-ppc.c:5374 #, c-format msgid "cannot emit PC relative %s relocation" msgstr "" -#: config/tc-ppc.c:5460 +#: config/tc-ppc.c:5495 msgid "must branch to an address a multiple of 4" msgstr "" -#: config/tc-ppc.c:5464 +#: config/tc-ppc.c:5499 #, c-format msgid "@local or @plt branch destination is too far away, %ld bytes" msgstr "" -#: config/tc-ppc.c:5495 +#: config/tc-ppc.c:5530 #, c-format msgid "Gas failure, reloc value %d\n" msgstr "" @@ -8114,6 +8121,7 @@ msgid ": asr number must be between 0 and 31" msgstr "" #: config/tc-sparc.c:1658 +#, c-format msgid ": expecting %asrN" msgstr "" @@ -9532,7 +9540,7 @@ msgstr "" msgid "unassigned file number %ld" msgstr "" -#: dwarf2dbg.c:1311 dwarf2dbg.c:1319 dwarf2dbg.c:1327 dwarf2dbg.c:1347 +#: dwarf2dbg.c:1329 dwarf2dbg.c:1337 dwarf2dbg.c:1345 dwarf2dbg.c:1365 msgid "dwarf2 is not supported for this object file format" msgstr "" @@ -10567,7 +10575,7 @@ msgstr "" msgid "zero assumed for missing expression" msgstr "" -#: read.c:3571 read.c:4470 write.c:293 +#: read.c:3571 read.c:4470 write.c:290 msgid "register value used as expression" msgstr "" @@ -10614,79 +10622,83 @@ msgstr "" msgid "floating point constant too large" msgstr "" -#: read.c:4612 +#: read.c:4571 +msgid "strings must be placed into a section" +msgstr "" + +#: read.c:4621 msgid "expected <nn>" msgstr "" #. To be compatible with BSD 4.2 as: give the luser a linefeed!! -#: read.c:4645 read.c:4731 +#: read.c:4654 read.c:4740 msgid "unterminated string; newline inserted" msgstr "" -#: read.c:4739 +#: read.c:4748 msgid "bad escaped character in string" msgstr "" -#: read.c:4765 +#: read.c:4774 msgid "expected address expression" msgstr "" -#: read.c:4785 +#: read.c:4794 #, c-format msgid "symbol \"%s\" undefined; zero assumed" msgstr "" -#: read.c:4788 +#: read.c:4797 msgid "some symbol undefined; zero assumed" msgstr "" -#: read.c:4806 +#: read.c:4815 msgid "bad or irreducible absolute expression" msgstr "" -#: read.c:4841 +#: read.c:4850 msgid "this string may not contain '\\0'" msgstr "" -#: read.c:4878 +#: read.c:4887 msgid "missing string" msgstr "" -#: read.c:5001 +#: read.c:5010 #, c-format msgid ".incbin count zero, ignoring `%s'" msgstr "" -#: read.c:5027 +#: read.c:5036 #, c-format msgid "file not found: %s" msgstr "" -#: read.c:5041 +#: read.c:5050 #, c-format msgid "seek to end of .incbin file failed `%s'" msgstr "" -#: read.c:5052 +#: read.c:5061 #, c-format msgid "skip (%ld) + count (%ld) larger than file size (%ld)" msgstr "" -#: read.c:5059 +#: read.c:5068 #, c-format msgid "could not skip to %ld in file `%s'" msgstr "" -#: read.c:5068 +#: read.c:5077 #, c-format msgid "truncated file `%s', %ld of %ld bytes read" msgstr "" -#: read.c:5231 +#: read.c:5240 msgid "missing .func" msgstr "" -#: read.c:5248 +#: read.c:5257 msgid ".endfunc missing for previous .func" msgstr "" @@ -10751,7 +10763,7 @@ msgstr "" msgid "division by zero when setting `%s'" msgstr "" -#: symbols.c:1225 write.c:2028 +#: symbols.c:1225 write.c:2003 #, c-format msgid "can't resolve value for symbol `%s'" msgstr "" @@ -10770,102 +10782,102 @@ msgstr "" msgid "section symbols are already global" msgstr "" -#: write.c:179 +#: write.c:176 #, c-format msgid "field fx_size too small to hold %d" msgstr "" -#: write.c:320 +#: write.c:317 msgid "rva not supported" msgstr "" -#: write.c:528 +#: write.c:525 #, c-format msgid "attempt to .org/.space backwards? (%ld)" msgstr "" -#: write.c:1044 +#: write.c:1041 msgid "relocation out of range" msgstr "" -#: write.c:1047 +#: write.c:1044 #, c-format msgid "%s:%u: bad return from bfd_install_relocation: %x" msgstr "" -#: write.c:1091 +#: write.c:1088 msgid "internal error: fixup not contained within frag" msgstr "" -#: write.c:1107 +#: write.c:1104 #, c-format msgid "%s:%u: bad return from bfd_install_relocation" msgstr "" -#: write.c:1194 write.c:1218 +#: write.c:1191 write.c:1215 #, c-format msgid "FATAL: Can't write %s" msgstr "" -#: write.c:1250 +#: write.c:1247 msgid "cannot write to output file" msgstr "" -#: write.c:1503 +#: write.c:1486 #, c-format msgid "%d error%s, %d warning%s, generating bad object file" msgstr "" -#: write.c:1510 +#: write.c:1493 #, c-format msgid "%d error%s, %d warning%s, no object file generated" msgstr "" -#: write.c:1966 +#: write.c:1941 #, c-format msgid "local label `%s' is not defined" msgstr "" -#: write.c:2264 +#: write.c:2239 #, c-format msgid "alignment padding (%lu bytes) not a multiple of %ld" msgstr "" -#: write.c:2381 +#: write.c:2356 #, c-format msgid ".word %s-%s+%s didn't fit" msgstr "" -#: write.c:2466 +#: write.c:2441 msgid "attempt to .org backwards" msgstr "" -#: write.c:2494 +#: write.c:2469 msgid ".space specifies non-absolute value" msgstr "" -#: write.c:2501 +#: write.c:2476 msgid ".space or .fill with negative value, ignored" msgstr "" -#: write.c:2675 +#: write.c:2650 #, c-format msgid "negative of non-absolute symbol `%s'" msgstr "" -#: write.c:2769 +#: write.c:2744 #, c-format msgid "" "subtraction of two symbols in different sections `%s' {%s section} - `%s' {%" "s section} at file address %s" msgstr "" -#: write.c:2905 +#: write.c:2880 #, c-format msgid "value of %s too large for field of %d bytes at %s" msgstr "" -#: write.c:2917 +#: write.c:2892 #, c-format msgid "signed .word overflow; switch may be too large; %ld at 0x%lx" msgstr "" diff --git a/contrib/binutils/gas/write.c b/contrib/binutils/gas/write.c index 323b95f..f8120cb 100644 --- a/contrib/binutils/gas/write.c +++ b/contrib/binutils/gas/write.c @@ -881,7 +881,8 @@ adjust_reloc_syms (abfd, sec, xxx) /* Never adjust a reloc against local symbol in a merge section with non-zero addend. */ - if ((symsec->flags & SEC_MERGE) && fixp->fx_offset) + if ((symsec->flags & SEC_MERGE) != 0 + && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL)) { symbol_mark_used_in_reloc (fixp->fx_addsy); goto done; diff --git a/contrib/binutils/gprof/po/Make-in b/contrib/binutils/gprof/po/Make-in index 0552db1..833d418 100644 --- a/contrib/binutils/gprof/po/Make-in +++ b/contrib/binutils/gprof/po/Make-in @@ -70,7 +70,9 @@ INSTOBJEXT = @INSTOBJEXT@ .po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ - && rm -f $$file && $(GMSGFMT) -o $$file $< + && test -w $$file \ + && (rm -f $$file && $(GMSGFMT) -o $$file $< ) \ + || echo "$$file is not writable" .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ diff --git a/contrib/binutils/gprof/po/gprof.pot b/contrib/binutils/gprof/po/gprof.pot index f586066..ab103f4 100644 --- a/contrib/binutils/gprof/po/gprof.pot +++ b/contrib/binutils/gprof/po/gprof.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-01-31 18:32+0000\n" +"POT-Creation-Date: 2002-10-30 10:08-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -14,46 +15,46 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: alpha.c:93 mips.c:47 +#: alpha.c:103 mips.c:57 msgid "<indirect child>" msgstr "" -#: alpha.c:110 mips.c:64 +#: alpha.c:120 mips.c:74 #, c-format msgid "[find_call] %s: 0x%lx to 0x%lx\n" msgstr "" -#: alpha.c:132 +#: alpha.c:142 #, c-format msgid "[find_call] 0x%lx: jsr%s <indirect_child>\n" msgstr "" -#: alpha.c:142 +#: alpha.c:152 #, c-format msgid "[find_call] 0x%lx: bsr" msgstr "" -#: basic_blocks.c:122 call_graph.c:90 hist.c:93 +#: basic_blocks.c:134 call_graph.c:94 hist.c:98 #, c-format msgid "%s: %s: unexpected end of file\n" msgstr "" -#: basic_blocks.c:190 +#: basic_blocks.c:202 #, c-format msgid "%s: warning: ignoring basic-block exec counts (use -l or --line)\n" msgstr "" #. FIXME: This only works if bfd_vma is unsigned long. -#: basic_blocks.c:281 basic_blocks.c:291 +#: basic_blocks.c:295 basic_blocks.c:305 #, c-format msgid "%s:%d: (%s:0x%lx) %lu executions\n" msgstr "" -#: basic_blocks.c:282 basic_blocks.c:292 +#: basic_blocks.c:296 basic_blocks.c:306 msgid "<unknown>" msgstr "" -#: basic_blocks.c:536 +#: basic_blocks.c:553 #, c-format msgid "" "\n" @@ -64,140 +65,141 @@ msgid "" "\n" msgstr "" -#: basic_blocks.c:560 +#: basic_blocks.c:577 msgid "" "\n" "Execution Summary:\n" "\n" msgstr "" -#: basic_blocks.c:561 +#: basic_blocks.c:578 #, c-format msgid "%9ld Executable lines in this file\n" msgstr "" -#: basic_blocks.c:563 +#: basic_blocks.c:580 #, c-format msgid "%9ld Lines executed\n" msgstr "" -#: basic_blocks.c:564 +#: basic_blocks.c:581 #, c-format msgid "%9.2f Percent of the file executed\n" msgstr "" -#: basic_blocks.c:568 +#: basic_blocks.c:585 #, c-format msgid "" "\n" "%9lu Total number of line executions\n" msgstr "" -#: basic_blocks.c:570 +#: basic_blocks.c:587 #, c-format msgid "%9.2f Average executions per line\n" msgstr "" -#: call_graph.c:69 +#: call_graph.c:71 #, c-format msgid "[cg_tally] arc from %s to %s traversed %lu times\n" msgstr "" -#: cg_print.c:58 +#: cg_print.c:73 msgid "" "\t\t Call graph (explanation follows)\n" "\n" msgstr "" -#: cg_print.c:60 +#: cg_print.c:75 msgid "" "\t\t\tCall graph\n" "\n" msgstr "" -#: cg_print.c:63 hist.c:355 +#: cg_print.c:78 hist.c:363 #, c-format msgid "" "\n" "granularity: each sample hit covers %ld byte(s)" msgstr "" -#: cg_print.c:67 +#: cg_print.c:82 #, c-format msgid "" " for %.2f%% of %.2f seconds\n" "\n" msgstr "" -#: cg_print.c:71 +#: cg_print.c:86 msgid "" " no time propagated\n" "\n" msgstr "" -#: cg_print.c:80 cg_print.c:83 cg_print.c:85 +#: cg_print.c:95 cg_print.c:98 cg_print.c:100 msgid "called" msgstr "" -#: cg_print.c:80 cg_print.c:85 +#: cg_print.c:95 cg_print.c:100 msgid "total" msgstr "" -#: cg_print.c:80 +#: cg_print.c:95 msgid "parents" msgstr "" -#: cg_print.c:82 cg_print.c:83 +#: cg_print.c:97 cg_print.c:98 msgid "index" msgstr "" -#: cg_print.c:82 +#: cg_print.c:97 +#, c-format msgid "%time" msgstr "" -#: cg_print.c:82 cg_print.c:83 +#: cg_print.c:97 cg_print.c:98 msgid "self" msgstr "" -#: cg_print.c:82 +#: cg_print.c:97 msgid "descendants" msgstr "" -#: cg_print.c:83 hist.c:381 +#: cg_print.c:98 hist.c:389 msgid "name" msgstr "" -#: cg_print.c:85 +#: cg_print.c:100 msgid "children" msgstr "" -#: cg_print.c:90 +#: cg_print.c:105 #, c-format msgid "index %% time self children called name\n" msgstr "" -#: cg_print.c:113 +#: cg_print.c:129 #, c-format msgid " <cycle %d as a whole> [%d]\n" msgstr "" -#: cg_print.c:339 +#: cg_print.c:363 #, c-format msgid "%6.6s %5.5s %7.7s %11.11s %7.7s %7.7s <spontaneous>\n" msgstr "" -#: cg_print.c:340 +#: cg_print.c:364 #, c-format msgid "%6.6s %5.5s %7.7s %7.7s %7.7s %7.7s <spontaneous>\n" msgstr "" -#: cg_print.c:574 +#: cg_print.c:604 msgid "" "Index by function name\n" "\n" msgstr "" -#: cg_print.c:631 cg_print.c:640 +#: cg_print.c:661 cg_print.c:670 #, c-format msgid "<cycle %d>" msgstr "" @@ -212,132 +214,132 @@ msgstr "" msgid "%s: unable to parse mapping file %s.\n" msgstr "" -#: corefile.c:154 +#: corefile.c:155 #, c-format msgid "%s: %s: not in a.out format\n" msgstr "" -#: corefile.c:165 +#: corefile.c:166 #, c-format msgid "%s: can't find .text section in %s\n" msgstr "" -#: corefile.c:223 +#: corefile.c:225 #, c-format msgid "%s: ran out room for %lu bytes of text space\n" msgstr "" -#: corefile.c:237 +#: corefile.c:239 #, c-format msgid "%s: can't do -c\n" msgstr "" -#: corefile.c:272 +#: corefile.c:276 #, c-format msgid "%s: -c not supported on architecture %s\n" msgstr "" -#: corefile.c:439 +#: corefile.c:447 #, c-format msgid "%s: file `%s' has no symbols\n" msgstr "" -#: corefile.c:739 +#: corefile.c:748 #, c-format msgid "%s: somebody miscounted: ltab.len=%d instead of %ld\n" msgstr "" -#: gmon_io.c:83 gmon_io.c:137 gmon_io.c:188 gmon_io.c:216 gmon_io.c:386 -#: gmon_io.c:413 gmon_io.c:609 gmon_io.c:634 +#: gmon_io.c:96 gmon_io.c:159 gmon_io.c:219 gmon_io.c:251 gmon_io.c:422 +#: gmon_io.c:449 gmon_io.c:646 gmon_io.c:671 #, c-format msgid "%s: bits per address has unexpected value of %u\n" msgstr "" -#: gmon_io.c:252 gmon_io.c:347 +#: gmon_io.c:288 gmon_io.c:383 #, c-format msgid "%s: file too short to be a gmon file\n" msgstr "" -#: gmon_io.c:262 gmon_io.c:396 +#: gmon_io.c:298 gmon_io.c:432 #, c-format msgid "%s: file `%s' has bad magic cookie\n" msgstr "" -#: gmon_io.c:273 +#: gmon_io.c:309 #, c-format msgid "%s: file `%s' has unsupported version %d\n" msgstr "" -#: gmon_io.c:303 +#: gmon_io.c:339 #, c-format msgid "%s: %s: found bad tag %d (file corrupted?)\n" msgstr "" -#: gmon_io.c:369 +#: gmon_io.c:405 #, c-format msgid "%s: profiling rate incompatible with first gmon file\n" msgstr "" -#: gmon_io.c:429 +#: gmon_io.c:465 #, c-format msgid "%s: incompatible with first gmon file\n" msgstr "" -#: gmon_io.c:457 +#: gmon_io.c:493 #, c-format msgid "%s: file '%s' does not appear to be in gmon.out format\n" msgstr "" -#: gmon_io.c:478 +#: gmon_io.c:514 #, c-format msgid "%s: unexpected EOF after reading %d/%d bins\n" msgstr "" -#: gmon_io.c:511 +#: gmon_io.c:547 msgid "time is in ticks, not seconds\n" msgstr "" -#: gmon_io.c:517 gmon_io.c:704 +#: gmon_io.c:553 gmon_io.c:742 #, c-format msgid "%s: don't know how to deal with file format %d\n" msgstr "" -#: gmon_io.c:524 +#: gmon_io.c:560 #, c-format msgid "File `%s' (version %d) contains:\n" msgstr "" -#: gmon_io.c:527 +#: gmon_io.c:563 #, c-format msgid "\t%d histogram record\n" msgstr "" -#: gmon_io.c:528 +#: gmon_io.c:564 #, c-format msgid "\t%d histogram records\n" msgstr "" -#: gmon_io.c:530 +#: gmon_io.c:566 #, c-format msgid "\t%d call-graph record\n" msgstr "" -#: gmon_io.c:531 +#: gmon_io.c:567 #, c-format msgid "\t%d call-graph records\n" msgstr "" -#: gmon_io.c:533 +#: gmon_io.c:569 #, c-format msgid "\t%d basic-block count record\n" msgstr "" -#: gmon_io.c:534 +#: gmon_io.c:570 #, c-format msgid "\t%d basic-block count records\n" msgstr "" -#: gprof.c:147 +#: gprof.c:163 #, c-format msgid "" "Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n" @@ -355,119 +357,119 @@ msgid "" "\t[image-file] [profile-file...]\n" msgstr "" -#: gprof.c:163 +#: gprof.c:179 #, c-format msgid "Report bugs to %s\n" msgstr "" -#: gprof.c:235 +#: gprof.c:253 #, c-format msgid "%s: debugging not supported; -d ignored\n" msgstr "" -#: gprof.c:315 +#: gprof.c:333 #, c-format msgid "%s: unknown file format %s\n" msgstr "" #. This output is intended to follow the GNU standards document. -#: gprof.c:399 +#: gprof.c:417 #, c-format msgid "GNU gprof %s\n" msgstr "" -#: gprof.c:400 +#: gprof.c:418 msgid "" "Based on BSD gprof, copyright 1983 Regents of the University of California.\n" msgstr "" -#: gprof.c:401 +#: gprof.c:419 msgid "" "This program is free software. This program has absolutely no warranty.\n" msgstr "" -#: gprof.c:442 +#: gprof.c:460 #, c-format msgid "%s: unknown demangling style `%s'\n" msgstr "" -#: gprof.c:462 +#: gprof.c:480 #, c-format msgid "" "%s: Only one of --function-ordering and --file-ordering may be specified.\n" msgstr "" -#: gprof.c:562 +#: gprof.c:578 #, c-format msgid "%s: sorry, file format `prof' is not yet supported\n" msgstr "" -#: gprof.c:623 +#: gprof.c:639 #, c-format msgid "%s: gmon.out file is missing histogram\n" msgstr "" -#: gprof.c:630 +#: gprof.c:646 #, c-format msgid "%s: gmon.out file is missing call-graph data\n" msgstr "" -#: hist.c:122 +#: hist.c:127 #, c-format msgid "%s: `%s' is incompatible with first gmon file\n" msgstr "" -#: hist.c:138 +#: hist.c:143 #, c-format msgid "%s: %s: unexpected EOF after reading %d of %d samples\n" msgstr "" -#: hist.c:351 +#: hist.c:359 #, c-format msgid "%c%c/call" msgstr "" -#: hist.c:359 +#: hist.c:367 #, c-format msgid "" " for %.2f%% of %.2f %s\n" "\n" msgstr "" -#: hist.c:365 +#: hist.c:373 #, c-format msgid "" "\n" "Each sample counts as %g %s.\n" msgstr "" -#: hist.c:370 +#: hist.c:378 msgid "" " no time accumulated\n" "\n" msgstr "" -#: hist.c:377 +#: hist.c:385 msgid "cumulative" msgstr "" -#: hist.c:377 +#: hist.c:385 msgid "self " msgstr "" -#: hist.c:377 +#: hist.c:385 msgid "total " msgstr "" -#: hist.c:380 +#: hist.c:388 msgid "time" msgstr "" -#: hist.c:380 +#: hist.c:388 msgid "calls" msgstr "" -#: hist.c:469 +#: hist.c:481 msgid "" "\n" "\n" @@ -475,31 +477,31 @@ msgid "" "flat profile:\n" msgstr "" -#: hist.c:475 +#: hist.c:487 msgid "Flat profile:\n" msgstr "" -#: mips.c:75 +#: mips.c:85 #, c-format msgid "[find_call] 0x%lx: jal" msgstr "" -#: mips.c:100 +#: mips.c:110 #, c-format msgid "[find_call] 0x%lx: jalr\n" msgstr "" -#: source.c:163 +#: source.c:166 #, c-format msgid "%s: could not locate `%s'\n" msgstr "" -#: source.c:238 +#: source.c:241 #, c-format msgid "*** File %s:\n" msgstr "" -#: utils.c:96 +#: utils.c:109 #, c-format msgid " <cycle %d>" msgstr "" diff --git a/contrib/binutils/include/ChangeLog b/contrib/binutils/include/ChangeLog index 786e08b..2353d99 100644 --- a/contrib/binutils/include/ChangeLog +++ b/contrib/binutils/include/ChangeLog @@ -1,3 +1,11 @@ +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-24 Nathan Tallent <eraxxon@alumni.rice.edu> + * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the + list of platform compilers that may look, smell and act + like __STDC__ but that may not define it. + 2002-09-23 Daniel Jacobowitz <drow@mvista.com> Merge from mainline: diff --git a/contrib/binutils/include/ansidecl.h b/contrib/binutils/include/ansidecl.h index 9a7c577..d169b4f 100644 --- a/contrib/binutils/include/ansidecl.h +++ b/contrib/binutils/include/ansidecl.h @@ -136,10 +136,13 @@ So instead we use the macro below and test it against specific values. */ #define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__) #endif /* GCC_VERSION */ -#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32) +#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32) || (defined(__alpha) && defined(__cplusplus)) /* All known AIX compilers implement these things (but don't always define __STDC__). The RISC/OS MIPS compiler defines these things in SVR4 mode, but does not define __STDC__. */ +/* eraxxon@alumni.rice.edu: The Compaq C++ compiler, unlike many other + C++ compilers, does not define __STDC__, though it acts as if this + was so. (Verified versions: 5.7, 6.2, 6.3, 6.5) */ #define ANSI_PROTOTYPES 1 #define PTR void * diff --git a/contrib/binutils/ld/ChangeLog b/contrib/binutils/ld/ChangeLog index 7b79459..428de76 100644 --- a/contrib/binutils/ld/ChangeLog +++ b/contrib/binutils/ld/ChangeLog @@ -1,3 +1,111 @@ +2002-11-27 David O'Brien <obrien@FreeBSD.org> + + * configure.host: Fix generic FreeBSD configuration entry. + +2002-11-20 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf64ppc.sh (DATA_ADDR): Don't define. + +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * ld.1: Regenerated. + * ldgram.c: Regenerated. + * po/ld.pot: Regenerated. + +2002-10-29 Daniel Jacobowitz <drow@mvista.com> + + * emultempl/aix.em: Use include <> for generated headers. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/pe.em: Likewise. + * ldctor.c: Likewise. + * ldexp.c: Likewise. + * ldfile.c: Likewise. + * ldlang.c: Likewise. + * ldlex.c: Likewise. + * ldlex.l: Likewise. + * ldmain.c: Likewise. + * ldmisc.c: Likewise. + * ldwrite.c: Likewise. + * lexsup.c: Likewise. + * mri.c: Likewise. + * pe-dll.c: Likewise. + +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-23 Jakub Jelinek <jakub@redhat.com> + * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* + sections into .rel{,a}.dyn. + + 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net> + * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, + __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. + + 2002-10-16 Jakub Jelinek <jakub@redhat.com> + * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. + (s390-*-linux*): Add elf64_s390 emulation if want64. + * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 + genscript.sh changes. + * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. + * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs. + + 2002-10-10 Jakub Jelinek <jakub@redhat.com> + * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if + they have OUTPUT_FORMAT not matching actual output format. + * ldlang.c (lang_get_output_target): New function. + (open_output): Use it. + * ldlang.h (lang_get_output_target): New prototype. + + 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de> + * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export + auto-import symbols. + (make_one): Create _nm_<symbol> for data only. + + 2002-10-10 Alan Modra <amodra@bigpond.net.au> + * emultempl/elf32.em (output_rel_find): Prefer .rel script sections + when orphan is .rel, .rela when orphan is .rela. + (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case + first. Remove outsecname var. + + 2002-09-30 Alan Modra <amodra@bigpond.net.au> + * scripttempl/elfd30v.sc: Order reloc sections placing .plt last. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + + * emultempl/elf32.em (output_rel_find): Always place orphan loadable + reloc sections just before .rel.plt/.rela.plt. + (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. + Only put loadable reloc sections in hold_rel. + + 2002-09-29 H.J. Lu <hjl@gnu.org> + * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. + + 2002-08-27 Egor Duda <deo@logos-m.ru> + * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections. + Add symbols for application to access them. + +2002-10-15 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (load_symbols): Revert last change. + +2002-10-14 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when + just_syms_flag. + (lang_reasonable_defaults): Don't compare against false. + (size_input_section): Likewise. + (lang_size_sections_1): Likewise. + (lang_do_assignments): Likewise. + (lang_add_output): Likewise. + +2002-10-11 Alan Modra <amodra@bigpond.net.au> + + * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer. + + * ldgram.y (memory_spec): Provide empty action. + (section <NAME>): Likewise. + 2002-10-02 Alan Modra <amodra@bigpond.net.au> * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000. diff --git a/contrib/binutils/ld/emulparams/elf32ppc.sh b/contrib/binutils/ld/emulparams/elf32ppc.sh index f88198f..778260b 100644 --- a/contrib/binutils/ld/emulparams/elf32ppc.sh +++ b/contrib/binutils/ld/emulparams/elf32ppc.sh @@ -17,6 +17,10 @@ OTHER_READWRITE_SECTIONS=" .got1 ${RELOCATING-0} : { *(.got1) } .got2 ${RELOCATING-0} : { *(.got2) } " +OTHER_GOT_RELOC_SECTIONS=" + .rela.got1 ${RELOCATING-0} : { *(.rela.got1) } + .rela.got2 ${RELOCATING-0} : { *(.rela.got2) } +" # Treat a host that matches the target with the possible exception of "64" # in the name as if it were native. diff --git a/contrib/binutils/ld/emulparams/elf64_s390.sh b/contrib/binutils/ld/emulparams/elf64_s390.sh index 8416c89..236fd17 100644 --- a/contrib/binutils/ld/emulparams/elf64_s390.sh +++ b/contrib/binutils/ld/emulparams/elf64_s390.sh @@ -9,3 +9,33 @@ MACHINE= NOP=0x07070707 TEMPLATE_NAME=elf32 GENERATE_SHLIB_SCRIPT=yes + +# Treat a host that matches the target with the possible exception of "x" +# in the name as if it were native. +if test `echo "$host" | sed -e s/390x/390/` \ + = `echo "$target" | sed -e s/390x/390/`; then + case " $EMULATION_LIBPATH " in + *" ${EMULATION_NAME} "*) + LIB_PATH=${libdir} + for lib in ${NATIVE_LIB_DIRS}; do + case :${LIB_PATH}: in + *:${lib}:*) ;; + *) LIB_PATH=${LIB_PATH}:${lib} ;; + esac + done + + case "$target" in + s390*-linux*) + suffix=64 ;; + esac + + # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first + # on Linux. + if [ -n "$suffix" ]; then + case "$EMULATION_NAME" in + *64*) + LIB_PATH=`echo ${LIB_PATH}: | sed -e s,:,$suffix:,g`$LIB_PATH ;; + esac + fi ;; + esac +fi diff --git a/contrib/binutils/ld/emulparams/elf64_sparc.sh b/contrib/binutils/ld/emulparams/elf64_sparc.sh index a4706b5..7a4d2dc 100644 --- a/contrib/binutils/ld/emulparams/elf64_sparc.sh +++ b/contrib/binutils/ld/emulparams/elf64_sparc.sh @@ -22,36 +22,37 @@ case "$target" in ;; esac -if [ "x${host}" = "x${target}" ]; then +# Treat a host that matches the target with the possible exception of "64" +# and "v7", "v8", "v9" in the name as if it were native. +if test `echo "$host" | sed -e 's/64//;s/v[789]//'` \ + = `echo "$target" | sed -e 's/64//;s/v[789]//'`; then case " $EMULATION_LIBPATH " in *" ${EMULATION_NAME} "*) - # Native, and default or emulation requesting LIB_PATH. + LIB_PATH=${libdir} + for lib in ${NATIVE_LIB_DIRS}; do + case :${LIB_PATH}: in + *:${lib}:*) ;; + *) LIB_PATH=${LIB_PATH}:${lib} ;; + esac + done # Linux and Solaris modify the default library search path # to first include a 64-bit specific directory. It's put # in slightly different places on the two systems. case "$target" in - sparc*-linux*) - suffix=64 ;; - sparc*-solaris*) - suffix=/sparcv9 ;; + sparc*-linux*) + suffix=64 ;; + sparc*-solaris*) + suffix=/sparcv9 ;; esac - if [ -n "${suffix}" ]; then - - LIB_PATH=/lib${suffix}:/lib - LIB_PATH=${LIB_PATH}:/usr/lib${suffix}:/usr/lib - if [ -n "${NATIVE_LIB_DIRS}" ]; then - LIB_PATH=${LIB_PATH}:`echo ${NATIVE_LIB_DIRS} | sed s_:_${suffix}:_g`${suffix}:${NATIVE_LIB_DIRS} - fi - if [ "${libdir}" != /usr/lib ]; then - LIB_PATH=${LIB_PATH}:${libdir}${suffix}:${libdir} - fi - if [ "${libdir}" != /usr/local/lib ]; then - LIB_PATH=${LIB_PATH}:/usr/local/lib${suffix}:/usr/local/lib - fi - - fi - ;; + # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first + # on Linux and /lib/sparcv9, /usr/lib/sparcv9 etc. on Solaris. + if [ -n "$suffix" ]; then + case "$EMULATION_NAME" in + *64*) + LIB_PATH=`echo ${LIB_PATH}: | sed -e s,:,$suffix:,g`$LIB_PATH ;; + esac + fi ;; esac fi diff --git a/contrib/binutils/ld/emulparams/elf64ppc.sh b/contrib/binutils/ld/emulparams/elf64ppc.sh index e3a8177..add6c54 100644 --- a/contrib/binutils/ld/emulparams/elf64ppc.sh +++ b/contrib/binutils/ld/emulparams/elf64ppc.sh @@ -5,7 +5,7 @@ GENERATE_SHLIB_SCRIPT=yes SCRIPT_NAME=elf OUTPUT_FORMAT="elf64-powerpc" TEXT_START_ADDR=0x10000000 -DATA_ADDR="ALIGN (0x10000000) + (. & (${MAXPAGESIZE} - 1))" +#DATA_ADDR="ALIGN (0x10000000) + (. & (${MAXPAGESIZE} - 1))" MAXPAGESIZE=0x10000 COMMONPAGESIZE=0x1000 ARCH=powerpc:common64 diff --git a/contrib/binutils/ld/emulparams/elf_x86_64.sh b/contrib/binutils/ld/emulparams/elf_x86_64.sh index 1786e33..a428bfc 100644 --- a/contrib/binutils/ld/emulparams/elf_x86_64.sh +++ b/contrib/binutils/ld/emulparams/elf_x86_64.sh @@ -15,30 +15,27 @@ NO_SMALL_DATA=yes if [ "x${host}" = "x${target}" ]; then case " $EMULATION_LIBPATH " in *" ${EMULATION_NAME} "*) - # Native, and default or emulation requesting LIB_PATH. + LIB_PATH=${libdir} + for lib in ${NATIVE_LIB_DIRS}; do + case :${LIB_PATH}: in + *:${lib}:*) ;; + *) LIB_PATH=${LIB_PATH}:${lib} ;; + esac + done # Linux modify the default library search path to first include # a 64-bit specific directory. case "$target" in - x86_64*-linux*) - suffix=64 ;; + x86_64*-linux*) + suffix=64 ;; esac - if [ -n "${suffix}" ]; then - - LIB_PATH=/lib${suffix}:/lib - LIB_PATH=${LIB_PATH}:/usr/lib${suffix}:/usr/lib - if [ -n "${NATIVE_LIB_DIRS}" ]; then - LIB_PATH=${LIB_PATH}:`echo ${NATIVE_LIB_DIRS} | sed s_:_${suffix}:_g`${suffix}:${NATIVE_LIB_DIRS} - fi - if [ "${libdir}" != /usr/lib ]; then - LIB_PATH=${LIB_PATH}:${libdir}${suffix}:${libdir} - fi - if [ "${libdir}" != /usr/local/lib ]; then - LIB_PATH=${LIB_PATH}:/usr/local/lib${suffix}:/usr/local/lib - fi - - fi - ;; + # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first. + if [ -n "$suffix" ]; then + case "$EMULATION_NAME" in + *64*) + LIB_PATH=`echo ${LIB_PATH}: | sed -e s,:,$suffix:,g`$LIB_PATH ;; + esac + fi ;; esac fi diff --git a/contrib/binutils/ld/emulparams/shelf.sh b/contrib/binutils/ld/emulparams/shelf.sh index 27b73b6..5c0c9d6 100755 --- a/contrib/binutils/ld/emulparams/shelf.sh +++ b/contrib/binutils/ld/emulparams/shelf.sh @@ -17,4 +17,16 @@ CTOR_START='___ctors = .;' CTOR_END='___ctors_end = .;' DTOR_START='___dtors = .;' DTOR_END='___dtors_end = .;' -STACK_ADDR=0x30000 +# This is like setting STACK_ADDR to 0x30000, except that the setting can +# be overridden, e.g. --defsym _stack=0x0f00, and that we put an extra +# sentinal value at the bottom. +# N.B. We can't use PROVIDE to set the default value in a symbol because +# the address is needed to place the .stack section, which in turn is needed +# to hold the sentinel value(s). +OTHER_SECTIONS=" .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : 0x30000)} : + { + ${RELOCATING+_stack = .;} + *(.stack) + LONG(0xdeaddead) + }" + diff --git a/contrib/binutils/ld/emultempl/pe.em b/contrib/binutils/ld/emultempl/pe.em index 37146ab..474b984 100644 --- a/contrib/binutils/ld/emultempl/pe.em +++ b/contrib/binutils/ld/emultempl/pe.em @@ -56,7 +56,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "ldlang.h" #include "ldfile.h" #include "ldemul.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlex.h" #include "ldmisc.h" #include "ldctor.h" diff --git a/contrib/binutils/ld/ldctor.c b/contrib/binutils/ld/ldctor.c index 9e79921..aa6a05b 100644 --- a/contrib/binutils/ld/ldctor.c +++ b/contrib/binutils/ld/ldctor.c @@ -29,7 +29,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldexp.h" #include "ldlang.h" #include "ldmisc.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldmain.h" #include "ldctor.h" diff --git a/contrib/binutils/ld/ldexp.c b/contrib/binutils/ld/ldexp.c index e45c470..e88e322 100644 --- a/contrib/binutils/ld/ldexp.c +++ b/contrib/binutils/ld/ldexp.c @@ -36,7 +36,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldmain.h" #include "ldmisc.h" #include "ldexp.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlang.h" #include "libiberty.h" #include "safe-ctype.h" diff --git a/contrib/binutils/ld/ldfile.c b/contrib/binutils/ld/ldfile.c index 9fb2b2d..d706eec 100644 --- a/contrib/binutils/ld/ldfile.c +++ b/contrib/binutils/ld/ldfile.c @@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldlang.h" #include "ldfile.h" #include "ldmain.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlex.h" #include "ldemul.h" #include "libiberty.h" @@ -131,7 +131,99 @@ ldfile_try_open_bfd (attempt, entry) if (check != NULL) { if (! bfd_check_format (check, bfd_object)) - return true; + { + if (check == entry->the_bfd + && bfd_get_error () == bfd_error_file_not_recognized + && ! ldemul_unrecognized_file (entry)) + { + int token, skip = 0; + char *arg, *arg1, *arg2, *arg3; + extern FILE *yyin; + + /* Try to interpret the file as a linker script. */ + ldfile_open_command_file (attempt); + + ldfile_assumed_script = true; + parser_input = input_selected; + ldlex_both (); + token = INPUT_SCRIPT; + while (token != 0) + { + switch (token) + { + case OUTPUT_FORMAT: + if ((token = yylex ()) != '(') + continue; + if ((token = yylex ()) != NAME) + continue; + arg1 = yylval.name; + arg2 = NULL; + arg3 = NULL; + token = yylex (); + if (token == ',') + { + if ((token = yylex ()) != NAME) + { + free (arg1); + continue; + } + arg2 = yylval.name; + if ((token = yylex ()) != ',' + || (token = yylex ()) != NAME) + { + free (arg1); + free (arg2); + continue; + } + arg3 = yylval.name; + token = yylex (); + } + if (token == ')') + { + switch (command_line.endian) + { + default: + case ENDIAN_UNSET: + arg = arg1; break; + case ENDIAN_BIG: + arg = arg2 ? arg2 : arg1; break; + case ENDIAN_LITTLE: + arg = arg3 ? arg3 : arg1; break; + } + if (strcmp (arg, lang_get_output_target ()) != 0) + skip = 1; + } + free (arg1); + if (arg2) free (arg2); + if (arg3) free (arg3); + break; + case NAME: + case LNAME: + case VERS_IDENTIFIER: + case VERS_TAG: + free (yylval.name); + break; + case INT: + if (yylval.bigint.str) + free (yylval.bigint.str); + break; + } + token = yylex (); + } + ldfile_assumed_script = false; + fclose (yyin); + yyin = NULL; + if (skip) + { + einfo (_("%P: skipping incompatible %s when searching for %s\n"), + attempt, entry->local_sym_name); + bfd_close (entry->the_bfd); + entry->the_bfd = NULL; + return false; + } + } + return true; + } if ((bfd_arch_get_compatible (check, output_bfd) == NULL) /* XCOFF archives can have 32 and 64 bit objects */ diff --git a/contrib/binutils/ld/ldgram.y b/contrib/binutils/ld/ldgram.y index 3de9326..d2533c2 100644 --- a/contrib/binutils/ld/ldgram.y +++ b/contrib/binutils/ld/ldgram.y @@ -626,11 +626,11 @@ memory_spec_list: ; -memory_spec: NAME - { region = lang_memory_region_lookup($1); } +memory_spec: NAME + { region = lang_memory_region_lookup($1); } attributes_opt ':' origin_spec opt_comma length_spec - + {} ; origin_spec: @@ -845,6 +845,7 @@ section: NAME { ldlex_expression(); } lang_leave_output_section_statement ($14, $11, $13, $12); } opt_comma + {} | OVERLAY { ldlex_expression (); } opt_exp_without_type opt_nocrossrefs opt_at diff --git a/contrib/binutils/ld/ldlang.c b/contrib/binutils/ld/ldlang.c index 79de098..0eb06b2 100644 --- a/contrib/binutils/ld/ldlang.c +++ b/contrib/binutils/ld/ldlang.c @@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldmain.h" #include "ldexp.h" #include "ldlang.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlex.h" #include "ldmisc.h" #include "ldctor.h" @@ -1783,6 +1783,29 @@ get_first_input_target () return target; } +const char * +lang_get_output_target () +{ + const char *target; + + /* Has the user told us which output format to use? */ + if (output_target != (char *) NULL) + return output_target; + + /* No - has the current target been set to something other than + the default? */ + if (current_target != default_target) + return current_target; + + /* No - can we determine the format of the first input file? */ + target = get_first_input_target (); + if (target != NULL) + return target; + + /* Failed - use the default output target. */ + return default_target; +} + /* Open the output file. */ static bfd * @@ -1791,24 +1814,7 @@ open_output (name) { bfd *output; - /* Has the user told us which output format to use? */ - if (output_target == (char *) NULL) - { - /* No - has the current target been set to something other than - the default? */ - if (current_target != default_target) - output_target = current_target; - - /* No - can we determine the format of the first input file? */ - else - { - output_target = get_first_input_target (); - - /* Failed - use the default output target. */ - if (output_target == NULL) - output_target = default_target; - } - } + output_target = lang_get_output_target (); /* Has the user requested a particular endianness on the command line? */ @@ -2012,7 +2018,7 @@ lang_reasonable_defaults () default_common_section = lang_output_section_statement_lookup (".bss"); - if (placed_commons == false) + if (!placed_commons) { lang_wild_statement_type *new = new_stat (lang_wild_statement, @@ -2768,7 +2774,7 @@ size_input_section (this_ptr, output_section_statement, fill, dot) lang_input_section_type *is = &((*this_ptr)->input_section); asection *i = is->section; - if (is->ifile->just_syms_flag == false) + if (!is->ifile->just_syms_flag) { unsigned opb = bfd_arch_mach_octets_per_byte (ldfile_output_architecture, ldfile_output_machine); @@ -3023,11 +3029,10 @@ lang_size_sections_1 (s, output_section_statement, prev, fill, dot, relax) abs_output_section, lang_allocating_phase_enum, dot, &dot); - if (r.valid_p == false) - { - einfo (_("%F%S: non constant address expression for section %s\n"), - os->name); - } + if (!r.valid_p) + einfo (_("%F%S: non constant address expression for section %s\n"), + os->name); + dot = r.value + r.section->bfd_section->vma; } @@ -3394,7 +3399,7 @@ lang_do_assignments (s, output_section_statement, fill, dot) abs_output_section, lang_final_phase_enum, dot, &dot); s->data_statement.value = value.value; - if (value.valid_p == false) + if (!value.valid_p) einfo (_("%F%P: invalid data statement\n")); } { @@ -3431,7 +3436,7 @@ lang_do_assignments (s, output_section_statement, fill, dot) abs_output_section, lang_final_phase_enum, dot, &dot); s->reloc_statement.addend_value = value.value; - if (value.valid_p == false) + if (!value.valid_p) einfo (_("%F%P: invalid reloc statement\n")); } dot += bfd_get_reloc_size (s->reloc_statement.howto) / opb; @@ -4014,7 +4019,7 @@ lang_add_output (name, from_script) int from_script; { /* Make -o on command line override OUTPUT in script. */ - if (had_output_filename == false || !from_script) + if (!had_output_filename || !from_script) { output_filename = name; had_output_filename = true; diff --git a/contrib/binutils/ld/ldlang.h b/contrib/binutils/ld/ldlang.h index cb4b6d3..57c8c51 100644 --- a/contrib/binutils/ld/ldlang.h +++ b/contrib/binutils/ld/ldlang.h @@ -483,5 +483,6 @@ extern void lang_register_vers_node struct bfd_elf_version_deps *)); boolean unique_section_p PARAMS ((const char *)); extern void lang_add_unique PARAMS ((const char *)); +extern const char *lang_get_output_target PARAMS ((void)); #endif diff --git a/contrib/binutils/ld/ldlex.l b/contrib/binutils/ld/ldlex.l index 68ed7fc..5b799c4 100644 --- a/contrib/binutils/ld/ldlex.l +++ b/contrib/binutils/ld/ldlex.l @@ -42,7 +42,7 @@ This was written by steve chamberlain #include "ldmisc.h" #include "ldexp.h" #include "ldlang.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldfile.h" #include "ldlex.h" #include "ldmain.h" diff --git a/contrib/binutils/ld/ldmain.c b/contrib/binutils/ld/ldmain.c index 3a0828f..41d778f 100644 --- a/contrib/binutils/ld/ldmain.c +++ b/contrib/binutils/ld/ldmain.c @@ -36,7 +36,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldwrite.h" #include "ldexp.h" #include "ldlang.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlex.h" #include "ldfile.h" #include "ldemul.h" diff --git a/contrib/binutils/ld/ldmisc.c b/contrib/binutils/ld/ldmisc.c index 2869ba9..7f9746a 100644 --- a/contrib/binutils/ld/ldmisc.c +++ b/contrib/binutils/ld/ldmisc.c @@ -36,7 +36,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldmisc.h" #include "ldexp.h" #include "ldlang.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlex.h" #include "ldmain.h" #include "ldfile.h" diff --git a/contrib/binutils/ld/ldwrite.c b/contrib/binutils/ld/ldwrite.c index e5949c1..eb31171 100644 --- a/contrib/binutils/ld/ldwrite.c +++ b/contrib/binutils/ld/ldwrite.c @@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "ldlang.h" #include "ldwrite.h" #include "ldmisc.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldmain.h" static void build_link_order PARAMS ((lang_statement_union_type *)); diff --git a/contrib/binutils/ld/lexsup.c b/contrib/binutils/ld/lexsup.c index 4acb4fd..f0d4c50 100644 --- a/contrib/binutils/ld/lexsup.c +++ b/contrib/binutils/ld/lexsup.c @@ -33,7 +33,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldmisc.h" #include "ldexp.h" #include "ldlang.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldlex.h" #include "ldfile.h" #include "ldver.h" diff --git a/contrib/binutils/ld/mri.c b/contrib/binutils/ld/mri.c index 89514e9..62a7f08 100644 --- a/contrib/binutils/ld/mri.c +++ b/contrib/binutils/ld/mri.c @@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldlang.h" #include "ldmisc.h" #include "mri.h" -#include "ldgram.h" +#include <ldgram.h> #include "libiberty.h" struct section_name_struct { diff --git a/contrib/binutils/ld/pe-dll.c b/contrib/binutils/ld/pe-dll.c index fd70c78..e59c32d 100644 --- a/contrib/binutils/ld/pe-dll.c +++ b/contrib/binutils/ld/pe-dll.c @@ -32,7 +32,7 @@ #include "ldlang.h" #include "ldwrite.h" #include "ldmisc.h" -#include "ldgram.h" +#include <ldgram.h> #include "ldmain.h" #include "ldfile.h" #include "ldemul.h" @@ -257,6 +257,8 @@ static autofilter_entry_type autofilter_symbolprefixlist[] = /* { "__imp_", 6 }, */ /* Do __imp_ explicitly to save time. */ { "__rtti_", 7 }, + /* Don't re-export auto-imported symbols. */ + { "_nm_", 4 }, { "__builtin_", 10 }, /* Don't export symbols specifying internal DLL layout. */ { "_head_", 6 }, @@ -1814,8 +1816,10 @@ make_one (exp, parent) quick_symbol (abfd, U ("_head_"), dll_symname, "", UNDSEC, BSF_GLOBAL, 0); quick_symbol (abfd, U ("_imp__"), exp->internal_name, "", id5, BSF_GLOBAL, 0); /* Symbol to reference ord/name of imported - symbol, used to implement auto-import. */ - quick_symbol (abfd, U("_nm__"), exp->internal_name, "", id6, BSF_GLOBAL, 0); + data symbol, used to implement auto-import. */ + if (exp->flag_data) + quick_symbol (abfd, U("_nm__"), exp->internal_name, "", id6, + BSF_GLOBAL,0); if (pe_dll_compat_implib) quick_symbol (abfd, U ("__imp_"), exp->internal_name, "", id5, BSF_GLOBAL, 0); @@ -1974,7 +1978,7 @@ make_import_fixup_mark (rel) struct symbol_cache_entry *sym = *rel->sym_ptr_ptr; bfd *abfd = bfd_asymbol_bfd (sym); - struct coff_link_hash_entry *myh = NULL; + struct bfd_link_hash_entry *bh; if (!fixup_name) { @@ -1996,15 +2000,20 @@ make_import_fixup_mark (rel) sprintf (fixup_name, "__fu%d_%s", counter++, sym->name); + bh = NULL; bfd_coff_link_add_one_symbol (&link_info, abfd, fixup_name, BSF_GLOBAL, current_sec, /* sym->section, */ - rel->address, NULL, true, false, - (struct bfd_link_hash_entry **) &myh); + rel->address, NULL, true, false, &bh); + + if (0) + { + struct coff_link_hash_entry *myh; + + myh = (struct coff_link_hash_entry *) bh; + printf ("type:%d\n", myh->type); + printf ("%s\n", myh->root.u.def.section->name); + } -#if 0 - printf ("type:%d\n", myh->type); - printf ("%s\n", myh->root.u.def.section->name); -#endif return fixup_name; } diff --git a/contrib/binutils/ld/po/ld.pot b/contrib/binutils/ld/po/ld.pot index 131bef0..87119b5 100644 --- a/contrib/binutils/ld/po/ld.pot +++ b/contrib/binutils/ld/po/ld.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-23 15:58-0400\n" +"POT-Creation-Date: 2002-10-30 10:08-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -249,6 +250,7 @@ msgid "Use --disable-stdcall-fixup to disable these fixups\n" msgstr "" #: emultempl/pe.em:879 +#, c-format msgid "%C: Cannot get section contents - auto-import exception\n" msgstr "" @@ -277,8 +279,8 @@ msgstr "" msgid "Errors encountered processing file %s for interworking" msgstr "" -#: emultempl/pe.em:1305 ldlang.c:2065 ldlang.c:4608 ldlang.c:4641 -#: ldmain.c:1061 +#: emultempl/pe.em:1305 ldlang.c:2071 ldlang.c:4613 ldlang.c:4646 +#: ldmain.c:1062 msgid "%P%F: bfd_link_hash_lookup failed: %E\n" msgstr "" @@ -317,11 +319,11 @@ msgstr "" msgid "%B%F: could not read symbols; %E\n" msgstr "" -#: ldcref.c:469 ldmain.c:1127 ldmain.c:1131 +#: ldcref.c:469 ldmain.c:1128 ldmain.c:1132 msgid "%B%F: could not read symbols: %E\n" msgstr "" -#: ldcref.c:537 ldcref.c:544 ldmain.c:1177 ldmain.c:1184 +#: ldcref.c:537 ldcref.c:544 ldmain.c:1178 ldmain.c:1185 msgid "%B%F: could not read relocs: %E\n" msgstr "" @@ -357,10 +359,12 @@ msgid "" msgstr "" #: ldemul.c:225 +#, c-format msgid "%S SYSLIB ignored\n" msgstr "" #: ldemul.c:232 +#, c-format msgid "%S HLL ignored\n" msgstr "" @@ -376,55 +380,64 @@ msgstr "" msgid " no emulation specific options.\n" msgstr "" -#: ldexp.c:174 +#: ldexp.c:184 msgid "%F%P: %s uses undefined section %s\n" msgstr "" -#: ldexp.c:176 +#: ldexp.c:186 msgid "%F%P: %s forward reference of section %s\n" msgstr "" -#: ldexp.c:304 +#: ldexp.c:400 +#, c-format msgid "%F%S %% by zero\n" msgstr "" -#: ldexp.c:311 +#: ldexp.c:407 +#, c-format msgid "%F%S / by zero\n" msgstr "" -#: ldexp.c:463 +#: ldexp.c:581 +#, c-format msgid "%X%S: unresolvable symbol `%s' referenced in expression\n" msgstr "" -#: ldexp.c:483 +#: ldexp.c:601 +#, c-format msgid "%F%S: undefined symbol `%s' referenced in expression\n" msgstr "" -#: ldexp.c:685 +#: ldexp.c:726 +#, c-format msgid "%F%S can not PROVIDE assignment to location counter\n" msgstr "" -#: ldexp.c:695 +#: ldexp.c:736 +#, c-format msgid "%F%S invalid assignment to location counter\n" msgstr "" -#: ldexp.c:699 +#: ldexp.c:740 +#, c-format msgid "%F%S assignment to location counter invalid outside of SECTION\n" msgstr "" -#: ldexp.c:708 +#: ldexp.c:749 msgid "%F%S cannot move location counter backwards (from %V to %V)\n" msgstr "" -#: ldexp.c:735 +#: ldexp.c:776 msgid "%P%F:%s: hash creation failed\n" msgstr "" -#: ldexp.c:1037 ldexp.c:1071 +#: ldexp.c:1078 ldexp.c:1112 +#, c-format msgid "%F%S nonconstant expression for %s\n" msgstr "" -#: ldexp.c:1126 +#: ldexp.c:1167 +#, c-format msgid "%F%S non constant expression for %s\n" msgstr "" @@ -442,45 +455,45 @@ msgstr "" msgid "%F%P: invalid BFD target `%s'\n" msgstr "" -#: ldfile.c:142 +#: ldfile.c:218 ldfile.c:234 msgid "%P: skipping incompatible %s when searching for %s\n" msgstr "" -#: ldfile.c:234 +#: ldfile.c:326 msgid "%F%P: cannot open %s for %s: %E\n" msgstr "" -#: ldfile.c:237 +#: ldfile.c:329 msgid "%F%P: cannot open %s: %E\n" msgstr "" -#: ldfile.c:267 +#: ldfile.c:359 msgid "%F%P: cannot find %s\n" msgstr "" -#: ldfile.c:286 ldfile.c:302 +#: ldfile.c:378 ldfile.c:394 #, c-format msgid "cannot find script file %s\n" msgstr "" -#: ldfile.c:288 ldfile.c:304 +#: ldfile.c:380 ldfile.c:396 #, c-format msgid "opened script file %s\n" msgstr "" -#: ldfile.c:353 +#: ldfile.c:445 msgid "%P%F: cannot open linker script file %s: %E\n" msgstr "" -#: ldfile.c:391 +#: ldfile.c:483 msgid "%P%F: unknown architecture: %s\n" msgstr "" -#: ldfile.c:407 +#: ldfile.c:499 msgid "%P%F: target architecture respecified\n" msgstr "" -#: ldfile.c:461 +#: ldfile.c:553 msgid "%P%F: cannot represent machine `%s'\n" msgstr "" @@ -558,128 +571,129 @@ msgstr "" msgid "%F%B: could not read symbols: %E\n" msgstr "" -#: ldlang.c:1853 +#: ldlang.c:1859 msgid "" "%P: warning: could not find any targets that match endianness requirement\n" msgstr "" -#: ldlang.c:1866 +#: ldlang.c:1872 msgid "%P%F: target %s not found\n" msgstr "" -#: ldlang.c:1868 +#: ldlang.c:1874 msgid "%P%F: cannot open output file %s: %E\n" msgstr "" -#: ldlang.c:1878 +#: ldlang.c:1884 msgid "%P%F:%s: can not make object file: %E\n" msgstr "" -#: ldlang.c:1882 +#: ldlang.c:1888 msgid "%P%F:%s: can not set architecture: %E\n" msgstr "" -#: ldlang.c:1886 +#: ldlang.c:1892 msgid "%P%F: can not create link hash table: %E\n" msgstr "" -#: ldlang.c:2235 +#: ldlang.c:2241 msgid " load address 0x%V" msgstr "" -#: ldlang.c:2375 +#: ldlang.c:2381 msgid "%W (size before relaxing)\n" msgstr "" -#: ldlang.c:2462 +#: ldlang.c:2468 #, c-format msgid "Address of section %s set to " msgstr "" -#: ldlang.c:2623 +#: ldlang.c:2629 #, c-format msgid "Fail with %d\n" msgstr "" -#: ldlang.c:2868 +#: ldlang.c:2874 msgid "%X%P: section %s [%V -> %V] overlaps section %s [%V -> %V]\n" msgstr "" -#: ldlang.c:2897 +#: ldlang.c:2903 msgid "%X%P: address 0x%v of %B section %s is not within region %s\n" msgstr "" -#: ldlang.c:2905 +#: ldlang.c:2911 msgid "%X%P: region %s is full (%B section %s)\n" msgstr "" -#: ldlang.c:2955 +#: ldlang.c:2961 msgid "%P%X: Internal error on COFF shared library section %s\n" msgstr "" -#: ldlang.c:2999 +#: ldlang.c:3005 msgid "%P: warning: no memory region specified for section `%s'\n" msgstr "" -#: ldlang.c:3014 +#: ldlang.c:3020 msgid "%P: warning: changing start of section %s by %u bytes\n" msgstr "" -#: ldlang.c:3028 +#: ldlang.c:3033 +#, c-format msgid "%F%S: non constant address expression for section %s\n" msgstr "" -#: ldlang.c:3203 +#: ldlang.c:3208 msgid "%P%F: can't relax section: %E\n" msgstr "" -#: ldlang.c:3398 +#: ldlang.c:3403 msgid "%F%P: invalid data statement\n" msgstr "" -#: ldlang.c:3435 +#: ldlang.c:3440 msgid "%F%P: invalid reloc statement\n" msgstr "" -#: ldlang.c:3574 +#: ldlang.c:3579 msgid "%P%F:%s: can't set start address\n" msgstr "" -#: ldlang.c:3587 ldlang.c:3605 +#: ldlang.c:3592 ldlang.c:3610 msgid "%P%F: can't set start address\n" msgstr "" -#: ldlang.c:3599 +#: ldlang.c:3604 msgid "%P: warning: cannot find entry symbol %s; defaulting to %V\n" msgstr "" -#: ldlang.c:3610 +#: ldlang.c:3615 msgid "%P: warning: cannot find entry symbol %s; not setting start address\n" msgstr "" -#: ldlang.c:3660 +#: ldlang.c:3665 msgid "" "%P%F: Relocatable linking with relocations from format %s (%B) to format %s " "(%B) is not supported\n" msgstr "" -#: ldlang.c:3669 +#: ldlang.c:3674 msgid "" "%P: warning: %s architecture of input file `%B' is incompatible with %s " "output\n" msgstr "" -#: ldlang.c:3690 +#: ldlang.c:3695 msgid "%E%X: failed to merge target specific data of file %B\n" msgstr "" -#: ldlang.c:3779 +#: ldlang.c:3784 msgid "" "\n" "Allocating common symbols\n" msgstr "" -#: ldlang.c:3780 +#: ldlang.c:3785 msgid "" "Common symbol size file\n" "\n" @@ -688,52 +702,52 @@ msgstr "" #. This message happens when using the #. svr3.ifile linker script, so I have #. disabled it. -#: ldlang.c:3858 +#: ldlang.c:3863 msgid "%P: no [COMMON] command, defaulting to .bss\n" msgstr "" -#: ldlang.c:3917 +#: ldlang.c:3922 msgid "%P%F: invalid syntax in flags\n" msgstr "" -#: ldlang.c:4532 +#: ldlang.c:4537 msgid "%P%Fmultiple STARTUP files\n" msgstr "" -#: ldlang.c:4575 +#: ldlang.c:4580 msgid "%X%P:%S: section has both a load address and a load region\n" msgstr "" -#: ldlang.c:4825 +#: ldlang.c:4830 msgid "%F%P: bfd_record_phdr failed: %E\n" msgstr "" -#: ldlang.c:4844 +#: ldlang.c:4849 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n" msgstr "" -#: ldlang.c:5143 +#: ldlang.c:5150 msgid "%X%P: unknown language `%s' in version information\n" msgstr "" -#: ldlang.c:5195 +#: ldlang.c:5202 msgid "" "%X%P: anonymous version tag cannot be combined with other version tags\n" msgstr "" -#: ldlang.c:5202 +#: ldlang.c:5209 msgid "%X%P: duplicate version tag `%s'\n" msgstr "" -#: ldlang.c:5215 ldlang.c:5228 +#: ldlang.c:5222 ldlang.c:5235 msgid "%X%P: duplicate expression `%s' in version information\n" msgstr "" -#: ldlang.c:5270 +#: ldlang.c:5277 msgid "%X%P: unable to find version dependency `%s'\n" msgstr "" -#: ldlang.c:5292 +#: ldlang.c:5299 msgid "%X%P: unable to read .exports section contents\n" msgstr "" @@ -741,209 +755,209 @@ msgstr "" msgid "%X%P: can't set BFD default target to `%s': %E\n" msgstr "" -#: ldmain.c:290 +#: ldmain.c:291 msgid "%P%F: -r and --mpc860c0 may not be used together\n" msgstr "" -#: ldmain.c:292 +#: ldmain.c:293 msgid "%P%F: --relax and -r may not be used together\n" msgstr "" -#: ldmain.c:294 +#: ldmain.c:295 msgid "%P%F: -r and -shared may not be used together\n" msgstr "" -#: ldmain.c:300 +#: ldmain.c:301 msgid "%P%F: -F may not be used without -shared\n" msgstr "" -#: ldmain.c:302 +#: ldmain.c:303 msgid "%P%F: -f may not be used without -shared\n" msgstr "" -#: ldmain.c:341 +#: ldmain.c:342 msgid "using external linker script:" msgstr "" -#: ldmain.c:343 +#: ldmain.c:344 msgid "using internal linker script:" msgstr "" -#: ldmain.c:377 +#: ldmain.c:378 msgid "%P%F: no input files\n" msgstr "" -#: ldmain.c:382 +#: ldmain.c:383 msgid "%P: mode %s\n" msgstr "" -#: ldmain.c:399 +#: ldmain.c:400 msgid "%P%F: cannot open map file %s: %E\n" msgstr "" -#: ldmain.c:432 +#: ldmain.c:433 msgid "%P: link errors found, deleting executable `%s'\n" msgstr "" -#: ldmain.c:443 +#: ldmain.c:444 msgid "%F%B: final close failed: %E\n" msgstr "" -#: ldmain.c:467 +#: ldmain.c:468 msgid "%X%P: unable to open for source of copy `%s'\n" msgstr "" -#: ldmain.c:469 +#: ldmain.c:470 msgid "%X%P: unable to open for destination of copy `%s'\n" msgstr "" -#: ldmain.c:475 +#: ldmain.c:476 msgid "%P: Error writing file `%s'\n" msgstr "" -#: ldmain.c:481 pe-dll.c:1463 +#: ldmain.c:482 pe-dll.c:1465 #, c-format msgid "%P: Error closing file `%s'\n" msgstr "" -#: ldmain.c:498 +#: ldmain.c:499 #, c-format msgid "%s: total time in link: %ld.%06ld\n" msgstr "" -#: ldmain.c:501 +#: ldmain.c:502 #, c-format msgid "%s: data size %ld\n" msgstr "" -#: ldmain.c:542 +#: ldmain.c:543 msgid "%P%F: missing argument to -m\n" msgstr "" -#: ldmain.c:670 ldmain.c:691 ldmain.c:722 +#: ldmain.c:671 ldmain.c:692 ldmain.c:723 msgid "%P%F: bfd_hash_table_init failed: %E\n" msgstr "" -#: ldmain.c:675 ldmain.c:694 +#: ldmain.c:676 ldmain.c:695 msgid "%P%F: bfd_hash_lookup failed: %E\n" msgstr "" -#: ldmain.c:709 +#: ldmain.c:710 msgid "%X%P: error: duplicate retain-symbols-file\n" msgstr "" -#: ldmain.c:753 +#: ldmain.c:754 msgid "%P%F: bfd_hash_lookup for insertion failed: %E\n" msgstr "" -#: ldmain.c:758 +#: ldmain.c:759 msgid "%P: `-retain-symbols-file' overrides `-s' and `-S'\n" msgstr "" -#: ldmain.c:834 +#: ldmain.c:835 msgid "" "Archive member included because of file (symbol)\n" "\n" msgstr "" -#: ldmain.c:905 +#: ldmain.c:906 msgid "%X%C: multiple definition of `%T'\n" msgstr "" -#: ldmain.c:908 +#: ldmain.c:909 msgid "%D: first defined here\n" msgstr "" -#: ldmain.c:912 +#: ldmain.c:913 msgid "%P: Disabling relaxation: it will not work with multiple definitions\n" msgstr "" -#: ldmain.c:943 +#: ldmain.c:944 msgid "%B: warning: definition of `%T' overriding common\n" msgstr "" -#: ldmain.c:946 +#: ldmain.c:947 msgid "%B: warning: common is here\n" msgstr "" -#: ldmain.c:953 +#: ldmain.c:954 msgid "%B: warning: common of `%T' overridden by definition\n" msgstr "" -#: ldmain.c:956 +#: ldmain.c:957 msgid "%B: warning: defined here\n" msgstr "" -#: ldmain.c:963 +#: ldmain.c:964 msgid "%B: warning: common of `%T' overridden by larger common\n" msgstr "" -#: ldmain.c:966 +#: ldmain.c:967 msgid "%B: warning: larger common is here\n" msgstr "" -#: ldmain.c:970 +#: ldmain.c:971 msgid "%B: warning: common of `%T' overriding smaller common\n" msgstr "" -#: ldmain.c:973 +#: ldmain.c:974 msgid "%B: warning: smaller common is here\n" msgstr "" -#: ldmain.c:977 +#: ldmain.c:978 msgid "%B: warning: multiple common of `%T'\n" msgstr "" -#: ldmain.c:979 +#: ldmain.c:980 msgid "%B: warning: previous common is here\n" msgstr "" -#: ldmain.c:1000 ldmain.c:1039 +#: ldmain.c:1001 ldmain.c:1040 msgid "%P: warning: global constructor %s used\n" msgstr "" -#: ldmain.c:1049 +#: ldmain.c:1050 msgid "%P%F: BFD backend error: BFD_RELOC_CTOR unsupported\n" msgstr "" -#: ldmain.c:1233 +#: ldmain.c:1234 msgid "%F%P: bfd_hash_table_init failed: %E\n" msgstr "" -#: ldmain.c:1240 +#: ldmain.c:1241 msgid "%F%P: bfd_hash_lookup failed: %E\n" msgstr "" -#: ldmain.c:1260 +#: ldmain.c:1261 msgid "%C: undefined reference to `%T'\n" msgstr "" -#: ldmain.c:1266 +#: ldmain.c:1267 msgid "%D: more undefined references to `%T' follow\n" msgstr "" -#: ldmain.c:1273 +#: ldmain.c:1274 msgid "%B: undefined reference to `%T'\n" msgstr "" -#: ldmain.c:1279 +#: ldmain.c:1280 msgid "%B: more undefined references to `%T' follow\n" msgstr "" -#: ldmain.c:1299 ldmain.c:1320 ldmain.c:1339 +#: ldmain.c:1300 ldmain.c:1321 ldmain.c:1340 msgid "%P%X: generated" msgstr "" -#: ldmain.c:1302 +#: ldmain.c:1303 msgid " relocation truncated to fit: %s %T" msgstr "" -#: ldmain.c:1323 +#: ldmain.c:1324 #, c-format msgid "dangerous relocation: %s\n" msgstr "" -#: ldmain.c:1342 +#: ldmain.c:1343 msgid " reloc refers to symbol `%T' which is not being output\n" msgstr "" @@ -1020,523 +1034,527 @@ msgstr "" msgid "%F%P: final link failed: %E\n" msgstr "" -#: lexsup.c:172 lexsup.c:267 +#: lexsup.c:173 lexsup.c:268 msgid "KEYWORD" msgstr "" -#: lexsup.c:172 +#: lexsup.c:173 msgid "Shared library control for HP/UX compatibility" msgstr "" -#: lexsup.c:175 +#: lexsup.c:176 msgid "ARCH" msgstr "" -#: lexsup.c:175 +#: lexsup.c:176 msgid "Set architecture" msgstr "" -#: lexsup.c:177 lexsup.c:336 +#: lexsup.c:178 lexsup.c:339 msgid "TARGET" msgstr "" -#: lexsup.c:177 +#: lexsup.c:178 msgid "Specify target for following input files" msgstr "" -#: lexsup.c:179 lexsup.c:220 lexsup.c:232 lexsup.c:241 lexsup.c:312 -#: lexsup.c:343 lexsup.c:383 +#: lexsup.c:180 lexsup.c:221 lexsup.c:233 lexsup.c:242 lexsup.c:313 +#: lexsup.c:346 lexsup.c:386 msgid "FILE" msgstr "" -#: lexsup.c:179 +#: lexsup.c:180 msgid "Read MRI format linker script" msgstr "" -#: lexsup.c:181 +#: lexsup.c:182 msgid "Force common symbols to be defined" msgstr "" -#: lexsup.c:185 lexsup.c:373 lexsup.c:375 lexsup.c:377 +#: lexsup.c:186 lexsup.c:376 lexsup.c:378 lexsup.c:380 msgid "ADDRESS" msgstr "" -#: lexsup.c:185 +#: lexsup.c:186 msgid "Set start address" msgstr "" -#: lexsup.c:187 +#: lexsup.c:188 msgid "Export all dynamic symbols" msgstr "" -#: lexsup.c:189 +#: lexsup.c:190 msgid "Link big-endian objects" msgstr "" -#: lexsup.c:191 +#: lexsup.c:192 msgid "Link little-endian objects" msgstr "" -#: lexsup.c:193 lexsup.c:196 +#: lexsup.c:194 lexsup.c:197 msgid "SHLIB" msgstr "" -#: lexsup.c:193 +#: lexsup.c:194 msgid "Auxiliary filter for shared object symbol table" msgstr "" -#: lexsup.c:196 +#: lexsup.c:197 msgid "Filter for shared object symbol table" msgstr "" -#: lexsup.c:198 +#: lexsup.c:199 msgid "Ignored" msgstr "" -#: lexsup.c:200 +#: lexsup.c:201 msgid "SIZE" msgstr "" -#: lexsup.c:200 +#: lexsup.c:201 msgid "Small data size (if no size, same as --shared)" msgstr "" -#: lexsup.c:203 +#: lexsup.c:204 msgid "FILENAME" msgstr "" -#: lexsup.c:203 +#: lexsup.c:204 msgid "Set internal name of shared library" msgstr "" -#: lexsup.c:205 +#: lexsup.c:206 msgid "PROGRAM" msgstr "" -#: lexsup.c:205 +#: lexsup.c:206 msgid "Set PROGRAM as the dynamic linker to use" msgstr "" -#: lexsup.c:207 +#: lexsup.c:208 msgid "LIBNAME" msgstr "" -#: lexsup.c:207 +#: lexsup.c:208 msgid "Search for library LIBNAME" msgstr "" -#: lexsup.c:209 +#: lexsup.c:210 msgid "DIRECTORY" msgstr "" -#: lexsup.c:209 +#: lexsup.c:210 msgid "Add DIRECTORY to library search path" msgstr "" -#: lexsup.c:211 +#: lexsup.c:212 msgid "EMULATION" msgstr "" -#: lexsup.c:211 +#: lexsup.c:212 msgid "Set emulation" msgstr "" -#: lexsup.c:213 +#: lexsup.c:214 msgid "Print map file on standard output" msgstr "" -#: lexsup.c:215 +#: lexsup.c:216 msgid "Do not page align data" msgstr "" -#: lexsup.c:217 +#: lexsup.c:218 msgid "Do not page align data, do not make text readonly" msgstr "" -#: lexsup.c:220 +#: lexsup.c:221 msgid "Set output file name" msgstr "" -#: lexsup.c:222 +#: lexsup.c:223 msgid "Optimize output file" msgstr "" -#: lexsup.c:224 +#: lexsup.c:225 msgid "Ignored for SVR4 compatibility" msgstr "" -#: lexsup.c:228 +#: lexsup.c:229 msgid "Generate relocateable output" msgstr "" -#: lexsup.c:232 +#: lexsup.c:233 msgid "Just link symbols (if directory, same as --rpath)" msgstr "" -#: lexsup.c:235 +#: lexsup.c:236 msgid "Strip all symbols" msgstr "" -#: lexsup.c:237 +#: lexsup.c:238 msgid "Strip debugging symbols" msgstr "" -#: lexsup.c:239 +#: lexsup.c:240 msgid "Trace file opens" msgstr "" -#: lexsup.c:241 +#: lexsup.c:242 msgid "Read linker script" msgstr "" -#: lexsup.c:243 lexsup.c:259 lexsup.c:298 lexsup.c:310 lexsup.c:367 -#: lexsup.c:386 lexsup.c:406 +#: lexsup.c:244 lexsup.c:260 lexsup.c:299 lexsup.c:311 lexsup.c:370 +#: lexsup.c:389 lexsup.c:409 msgid "SYMBOL" msgstr "" -#: lexsup.c:243 +#: lexsup.c:244 msgid "Start with undefined reference to SYMBOL" msgstr "" -#: lexsup.c:245 +#: lexsup.c:246 msgid "[=SECTION]" msgstr "" -#: lexsup.c:245 +#: lexsup.c:246 msgid "Don't merge input [SECTION | orphan] sections" msgstr "" -#: lexsup.c:247 +#: lexsup.c:248 msgid "Build global constructor/destructor tables" msgstr "" -#: lexsup.c:249 +#: lexsup.c:250 msgid "Print version information" msgstr "" -#: lexsup.c:251 +#: lexsup.c:252 msgid "Print version and emulation information" msgstr "" -#: lexsup.c:253 +#: lexsup.c:254 msgid "Discard all local symbols" msgstr "" -#: lexsup.c:255 +#: lexsup.c:256 msgid "Discard temporary local symbols (default)" msgstr "" -#: lexsup.c:257 +#: lexsup.c:258 msgid "Don't discard any local symbols" msgstr "" -#: lexsup.c:259 +#: lexsup.c:260 msgid "Trace mentions of SYMBOL" msgstr "" -#: lexsup.c:261 lexsup.c:345 lexsup.c:347 +#: lexsup.c:262 lexsup.c:348 lexsup.c:350 msgid "PATH" msgstr "" -#: lexsup.c:261 +#: lexsup.c:262 msgid "Default search path for Solaris compatibility" msgstr "" -#: lexsup.c:263 +#: lexsup.c:264 msgid "Start a group" msgstr "" -#: lexsup.c:265 +#: lexsup.c:266 msgid "End a group" msgstr "" -#: lexsup.c:267 +#: lexsup.c:268 msgid "Ignored for SunOS compatibility" msgstr "" -#: lexsup.c:269 +#: lexsup.c:270 msgid "Link against shared libraries" msgstr "" -#: lexsup.c:275 +#: lexsup.c:276 msgid "Do not link against shared libraries" msgstr "" -#: lexsup.c:283 +#: lexsup.c:284 msgid "Bind global references locally" msgstr "" -#: lexsup.c:285 +#: lexsup.c:286 msgid "Check section addresses for overlaps (default)" msgstr "" -#: lexsup.c:287 +#: lexsup.c:288 msgid "Do not check section addresses for overlaps" msgstr "" -#: lexsup.c:290 +#: lexsup.c:291 msgid "Output cross reference table" msgstr "" -#: lexsup.c:292 +#: lexsup.c:293 msgid "SYMBOL=EXPRESSION" msgstr "" -#: lexsup.c:292 +#: lexsup.c:293 msgid "Define a symbol" msgstr "" -#: lexsup.c:294 +#: lexsup.c:295 msgid "[=STYLE]" msgstr "" -#: lexsup.c:294 +#: lexsup.c:295 msgid "Demangle symbol names [using STYLE]" msgstr "" -#: lexsup.c:296 +#: lexsup.c:297 msgid "Generate embedded relocs" msgstr "" -#: lexsup.c:298 +#: lexsup.c:299 msgid "Call SYMBOL at unload-time" msgstr "" -#: lexsup.c:300 +#: lexsup.c:301 msgid "Force generation of file with .exe suffix" msgstr "" -#: lexsup.c:302 +#: lexsup.c:303 msgid "Remove unused sections (on some targets)" msgstr "" -#: lexsup.c:305 +#: lexsup.c:306 msgid "Don't remove unused sections (default)" msgstr "" -#: lexsup.c:308 +#: lexsup.c:309 msgid "Print option help" msgstr "" -#: lexsup.c:310 +#: lexsup.c:311 msgid "Call SYMBOL at load-time" msgstr "" -#: lexsup.c:312 +#: lexsup.c:313 msgid "Write a map file" msgstr "" -#: lexsup.c:314 +#: lexsup.c:315 msgid "Do not define Common storage" msgstr "" -#: lexsup.c:316 +#: lexsup.c:317 msgid "Do not demangle symbol names" msgstr "" -#: lexsup.c:318 +#: lexsup.c:319 msgid "Use less memory and more disk I/O" msgstr "" -#: lexsup.c:320 +#: lexsup.c:321 msgid "Allow no undefined symbols" msgstr "" -#: lexsup.c:322 +#: lexsup.c:323 msgid "Allow undefined symbols in shared objects" msgstr "" -#: lexsup.c:324 +#: lexsup.c:325 msgid "Allow multiple definitions" msgstr "" -#: lexsup.c:326 +#: lexsup.c:327 +msgid "Disallow undefined version" +msgstr "" + +#: lexsup.c:329 msgid "Don't warn about mismatched input files" msgstr "" -#: lexsup.c:328 +#: lexsup.c:331 msgid "Turn off --whole-archive" msgstr "" -#: lexsup.c:330 +#: lexsup.c:333 msgid "Create an output file even if errors occur" msgstr "" -#: lexsup.c:334 +#: lexsup.c:337 msgid "" "Only use library directories specified on\n" "\t\t\t\tthe command line" msgstr "" -#: lexsup.c:336 +#: lexsup.c:339 msgid "Specify target of output file" msgstr "" -#: lexsup.c:338 +#: lexsup.c:341 msgid "Ignored for Linux compatibility" msgstr "" -#: lexsup.c:340 +#: lexsup.c:343 msgid "Relax branches on certain targets" msgstr "" -#: lexsup.c:343 +#: lexsup.c:346 msgid "Keep only symbols listed in FILE" msgstr "" -#: lexsup.c:345 +#: lexsup.c:348 msgid "Set runtime shared library search path" msgstr "" -#: lexsup.c:347 +#: lexsup.c:350 msgid "Set link time shared library search path" msgstr "" -#: lexsup.c:349 +#: lexsup.c:352 msgid "Create a shared library" msgstr "" -#: lexsup.c:353 +#: lexsup.c:356 msgid "Sort common symbols by size" msgstr "" -#: lexsup.c:357 +#: lexsup.c:360 msgid "COUNT" msgstr "" -#: lexsup.c:357 +#: lexsup.c:360 msgid "How many tags to reserve in .dynamic section" msgstr "" -#: lexsup.c:359 +#: lexsup.c:362 msgid "[=SIZE]" msgstr "" -#: lexsup.c:359 +#: lexsup.c:362 msgid "Split output sections every SIZE octets" msgstr "" -#: lexsup.c:361 +#: lexsup.c:364 msgid "[=COUNT]" msgstr "" -#: lexsup.c:361 +#: lexsup.c:364 msgid "Split output sections every COUNT relocs" msgstr "" -#: lexsup.c:363 +#: lexsup.c:366 msgid "Print memory usage statistics" msgstr "" -#: lexsup.c:365 +#: lexsup.c:368 msgid "Display target specific options" msgstr "" -#: lexsup.c:367 +#: lexsup.c:370 msgid "Do task level linking" msgstr "" -#: lexsup.c:369 +#: lexsup.c:372 msgid "Use same format as native linker" msgstr "" -#: lexsup.c:371 +#: lexsup.c:374 msgid "SECTION=ADDRESS" msgstr "" -#: lexsup.c:371 +#: lexsup.c:374 msgid "Set address of named section" msgstr "" -#: lexsup.c:373 +#: lexsup.c:376 msgid "Set address of .bss section" msgstr "" -#: lexsup.c:375 +#: lexsup.c:378 msgid "Set address of .data section" msgstr "" -#: lexsup.c:377 +#: lexsup.c:380 msgid "Set address of .text section" msgstr "" -#: lexsup.c:379 +#: lexsup.c:382 msgid "Output lots of information during link" msgstr "" -#: lexsup.c:383 +#: lexsup.c:386 msgid "Read version information script" msgstr "" -#: lexsup.c:386 +#: lexsup.c:389 msgid "" "Take export symbols list from .exports, using\n" "\t\t\t\tSYMBOL as the version." msgstr "" -#: lexsup.c:389 +#: lexsup.c:392 msgid "Warn about duplicate common symbols" msgstr "" -#: lexsup.c:391 +#: lexsup.c:394 msgid "Warn if global constructors/destructors are seen" msgstr "" -#: lexsup.c:394 +#: lexsup.c:397 msgid "Warn if the multiple GP values are used" msgstr "" -#: lexsup.c:396 +#: lexsup.c:399 msgid "Warn only once per undefined symbol" msgstr "" -#: lexsup.c:398 +#: lexsup.c:401 msgid "Warn if start of section changes due to alignment" msgstr "" -#: lexsup.c:401 +#: lexsup.c:404 msgid "Treat warnings as errors" msgstr "" -#: lexsup.c:404 +#: lexsup.c:407 msgid "Include all objects from following archives" msgstr "" -#: lexsup.c:406 +#: lexsup.c:409 msgid "Use wrapper functions for SYMBOL" msgstr "" -#: lexsup.c:408 +#: lexsup.c:411 msgid "[=WORDS]" msgstr "" -#: lexsup.c:408 +#: lexsup.c:411 msgid "" "Modify problematic branches in last WORDS (1-10,\n" "\t\t\t\tdefault 5) words of a page" msgstr "" -#: lexsup.c:574 +#: lexsup.c:577 msgid "%P: unrecognized option '%s'\n" msgstr "" -#: lexsup.c:576 +#: lexsup.c:579 msgid "%P%F: use the --help option for usage information\n" msgstr "" -#: lexsup.c:595 +#: lexsup.c:598 msgid "%P%F: unrecognized -a option `%s'\n" msgstr "" -#: lexsup.c:608 +#: lexsup.c:611 msgid "%P%F: unrecognized -assert option `%s'\n" msgstr "" -#: lexsup.c:651 +#: lexsup.c:654 msgid "%F%P: unknown demangling style `%s'" msgstr "" -#: lexsup.c:711 +#: lexsup.c:714 msgid "%P%F: invalid number `%s'\n" msgstr "" @@ -1548,65 +1566,65 @@ msgstr "" #. an error message here. We cannot just make this a warning, #. increment optind, and continue because getopt is too confused #. and will seg-fault the next time around. -#: lexsup.c:812 +#: lexsup.c:818 msgid "%P%F: bad -rpath option\n" msgstr "" -#: lexsup.c:910 +#: lexsup.c:916 msgid "%P%F: -shared not supported\n" msgstr "" -#: lexsup.c:942 +#: lexsup.c:948 msgid "%P%F: invalid argument to option \"--section-start\"\n" msgstr "" -#: lexsup.c:948 +#: lexsup.c:954 msgid "%P%F: missing argument(s) to option \"--section-start\"\n" msgstr "" -#: lexsup.c:1097 +#: lexsup.c:1103 msgid "%P%F: may not nest groups (--help for usage)\n" msgstr "" -#: lexsup.c:1104 +#: lexsup.c:1110 msgid "%P%F: group ended before it began (--help for usage)\n" msgstr "" -#: lexsup.c:1118 +#: lexsup.c:1124 msgid "%P%F: invalid argument to option \"mpc860c0\"\n" msgstr "" -#: lexsup.c:1173 +#: lexsup.c:1179 msgid "%P%F: invalid hex number `%s'\n" msgstr "" -#: lexsup.c:1185 +#: lexsup.c:1191 #, c-format msgid "Usage: %s [options] file...\n" msgstr "" -#: lexsup.c:1187 +#: lexsup.c:1193 msgid "Options:\n" msgstr "" #. Note: Various tools (such as libtool) depend upon the #. format of the listings below - do not change them. -#: lexsup.c:1270 +#: lexsup.c:1276 #, c-format msgid "%s: supported targets:" msgstr "" -#: lexsup.c:1278 +#: lexsup.c:1284 #, c-format msgid "%s: supported emulations: " msgstr "" -#: lexsup.c:1283 +#: lexsup.c:1289 #, c-format msgid "%s: emulation specific options:\n" msgstr "" -#: lexsup.c:1287 +#: lexsup.c:1293 #, c-format msgid "Report bugs to %s\n" msgstr "" @@ -1615,61 +1633,61 @@ msgstr "" msgid "%P%F: unknown format type %s\n" msgstr "" -#: pe-dll.c:321 +#: pe-dll.c:323 #, c-format msgid "%XUnsupported PEI architecture: %s\n" msgstr "" -#: pe-dll.c:671 +#: pe-dll.c:673 #, c-format msgid "%XError, duplicate EXPORT with ordinals: %s (%d vs %d)\n" msgstr "" -#: pe-dll.c:678 +#: pe-dll.c:680 #, c-format msgid "Warning, duplicate EXPORT: %s\n" msgstr "" -#: pe-dll.c:742 +#: pe-dll.c:744 #, c-format msgid "%XCannot export %s: symbol not defined\n" msgstr "" -#: pe-dll.c:748 +#: pe-dll.c:750 #, c-format msgid "%XCannot export %s: symbol wrong type (%d vs %d)\n" msgstr "" -#: pe-dll.c:755 +#: pe-dll.c:757 #, c-format msgid "%XCannot export %s: symbol not found\n" msgstr "" -#: pe-dll.c:870 +#: pe-dll.c:872 #, c-format msgid "%XError, ordinal used twice: %d (%s vs %s)\n" msgstr "" -#: pe-dll.c:1181 +#: pe-dll.c:1183 #, c-format msgid "%XError: %d-bit reloc in dll\n" msgstr "" -#: pe-dll.c:1316 +#: pe-dll.c:1318 #, c-format msgid "%s: Can't open output def file %s\n" msgstr "" -#: pe-dll.c:1459 +#: pe-dll.c:1461 msgid "; no contents available\n" msgstr "" -#: pe-dll.c:2128 +#: pe-dll.c:2137 #, c-format msgid "%XCan't open .lib file: %s\n" msgstr "" -#: pe-dll.c:2133 +#: pe-dll.c:2142 #, c-format msgid "Creating library file: %s\n" msgstr "" diff --git a/contrib/binutils/ld/scripttempl/pe.sc b/contrib/binutils/ld/scripttempl/pe.sc index 2f24757..a22611c 100644 --- a/contrib/binutils/ld/scripttempl/pe.sc +++ b/contrib/binutils/ld/scripttempl/pe.sc @@ -85,6 +85,11 @@ SECTIONS *(.rdata) ${R_RDATA} *(.eh_frame) + ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;} + ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;} + *(.rdata_runtime_pseudo_reloc) + ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} + ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} } .pdata ${RELOCATING+BLOCK(__section_alignment__)} : diff --git a/contrib/binutils/libiberty/ChangeLog b/contrib/binutils/libiberty/ChangeLog index 47eca16..a82516e 100644 --- a/contrib/binutils/libiberty/ChangeLog +++ b/contrib/binutils/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-16 Jakub Jelinek <jakub@redhat.com> + * config.table: Use mh-s390pic for s390x too. + 2002-07-10 Jason Merrill <jason@redhat.com> * cp-demangle.c (demangle_identifier): Support extended Unicode diff --git a/contrib/binutils/libiberty/config.table b/contrib/binutils/libiberty/config.table index b9a2479..df48ce9 100644 --- a/contrib/binutils/libiberty/config.table +++ b/contrib/binutils/libiberty/config.table @@ -39,6 +39,7 @@ if [ "${shared}" = "yes" ]; then powerpc*-*-aix*) ;; powerpc*-*-*) frag=mh-ppcpic ;; sparc*-*-*) frag=mh-sparcpic ;; + s390*-*-*) frag=mh-s390pic ;; *) frag=mh-${host_cpu}pic ;; esac if [ -n "${frag}" ]; then diff --git a/contrib/binutils/opcodes/ChangeLog b/contrib/binutils/opcodes/ChangeLog index 9463897..3c9dfc3 100644 --- a/contrib/binutils/opcodes/ChangeLog +++ b/contrib/binutils/opcodes/ChangeLog @@ -1,3 +1,19 @@ +2002-10-30 Daniel Jacobowitz <drow@mvista.com> + + * po/opcodes.pot: Regenerated. + +2002-10-28 Daniel Jacobowitz <drow@mvista.com> + + Merge from mainline: + 2002-10-07 Nathan Tallent <eraxxon@alumni.rice.edu> + * sparc-opc.c (sparc_opcodes) <fb, fba, fbe, fbz, fbg, fbge, + fbl, fble, fblg, fbn, fbne, fbnz, fbo, fbu, fbue, fbug, fbuge, + fbul, fbule>: Add conditional/unconditional branch + classification. + + 2002-09-24 Nick Clifton <nickc@redhat.com> + * po/de.po: Updated Danish translation file. + 2002-09-04 Nick Clifton <nickc@redhat.com> Daniel Jacobowitz <drow@mvista.com> diff --git a/contrib/binutils/opcodes/po/opcodes.pot b/contrib/binutils/opcodes/po/opcodes.pot index 8d1136a..575d860 100644 --- a/contrib/binutils/opcodes/po/opcodes.pot +++ b/contrib/binutils/opcodes/po/opcodes.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-23 15:55-0400\n" +"POT-Creation-Date: 2002-10-30 10:07-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/contrib/binutils/opcodes/sparc-opc.c b/contrib/binutils/opcodes/sparc-opc.c index 5c06d01..0010232 100644 --- a/contrib/binutils/opcodes/sparc-opc.c +++ b/contrib/binutils/opcodes/sparc-opc.c @@ -1440,25 +1440,25 @@ cond ("bz", "tz", CONDZ, F_CONDBR|F_ALIAS), /* for e */ FBRX(fop, F2(0, 5)|COND(mask), F2(~0, ~5)|COND(~(mask)), flags), /* v9 */ \ FBR(fop, F2(0, 6)|COND(mask), F2(~0, ~6)|COND(~(mask)), flags) -CONDFC ("fb", "cb", 0x8, 0), -CONDFCL ("fba", "cba", 0x8, F_ALIAS), -CONDFC ("fbe", "cb0", 0x9, 0), -CONDF ("fbz", 0x9, F_ALIAS), -CONDFC ("fbg", "cb2", 0x6, 0), -CONDFC ("fbge", "cb02", 0xb, 0), -CONDFC ("fbl", "cb1", 0x4, 0), -CONDFC ("fble", "cb01", 0xd, 0), -CONDFC ("fblg", "cb12", 0x2, 0), -CONDFCL ("fbn", "cbn", 0x0, 0), -CONDFC ("fbne", "cb123", 0x1, 0), -CONDF ("fbnz", 0x1, F_ALIAS), -CONDFC ("fbo", "cb012", 0xf, 0), -CONDFC ("fbu", "cb3", 0x7, 0), -CONDFC ("fbue", "cb03", 0xa, 0), -CONDFC ("fbug", "cb23", 0x5, 0), -CONDFC ("fbuge", "cb023", 0xc, 0), -CONDFC ("fbul", "cb13", 0x3, 0), -CONDFC ("fbule", "cb013", 0xe, 0), +CONDFC ("fb", "cb", 0x8, F_UNBR), +CONDFCL ("fba", "cba", 0x8, F_UNBR|F_ALIAS), +CONDFC ("fbe", "cb0", 0x9, F_CONDBR), +CONDF ("fbz", 0x9, F_CONDBR|F_ALIAS), +CONDFC ("fbg", "cb2", 0x6, F_CONDBR), +CONDFC ("fbge", "cb02", 0xb, F_CONDBR), +CONDFC ("fbl", "cb1", 0x4, F_CONDBR), +CONDFC ("fble", "cb01", 0xd, F_CONDBR), +CONDFC ("fblg", "cb12", 0x2, F_CONDBR), +CONDFCL ("fbn", "cbn", 0x0, F_UNBR), +CONDFC ("fbne", "cb123", 0x1, F_CONDBR), +CONDF ("fbnz", 0x1, F_CONDBR|F_ALIAS), +CONDFC ("fbo", "cb012", 0xf, F_CONDBR), +CONDFC ("fbu", "cb3", 0x7, F_CONDBR), +CONDFC ("fbue", "cb03", 0xa, F_CONDBR), +CONDFC ("fbug", "cb23", 0x5, F_CONDBR), +CONDFC ("fbuge", "cb023", 0xc, F_CONDBR), +CONDFC ("fbul", "cb13", 0x3, F_CONDBR), +CONDFC ("fbule", "cb013", 0xe, F_CONDBR), #undef CONDFC #undef CONDFCL |