X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fsparclinux.c;h=57bf6c69b337a78e8c3e68e708b17a346bef2584;hb=6433dece0aec566a5f07be9512ad4c39ff3d5b72;hp=3e051a2daf84f27eb10b02ccb65a3ba28dd6e4d2;hpb=fa803dc60f0bf01297674c41d001798e18ade4dc;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/sparclinux.c b/bfd/sparclinux.c index 3e051a2daf..57bf6c69b3 100644 --- a/bfd/sparclinux.c +++ b/bfd/sparclinux.c @@ -1,5 +1,6 @@ /* BFD back-end for linux flavored sparc a.out binaries. - Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 1999 + Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -94,7 +95,7 @@ sparclinux_write_object_contents (abfd) #define IS_GOT_SYM(name) \ (strncmp (name, GOT_REF_PREFIX, sizeof GOT_REF_PREFIX - 1) == 0) -/* See if a symbol name is a reference to the procedure linkage table. */ +/* See if a symbol name is a reference to the procedure linkage table. */ #ifndef PLT_REF_PREFIX #define PLT_REF_PREFIX "__PLT_" @@ -299,7 +300,7 @@ new_fixup (info, h, value, builtin) static boolean linux_link_create_dynamic_sections (abfd, info) bfd *abfd; - struct bfd_link_info *info; + struct bfd_link_info *info ATTRIBUTE_UNUSED; { flagword flags; register asection *s; @@ -448,7 +449,7 @@ linux_tally_symbols (h, data) alloc = (char *) bfd_malloc (strlen (name) + 1); if (p == NULL || alloc == NULL) - (*_bfd_error_handler) ("Output file requires shared library `%s'\n", + (*_bfd_error_handler) (_("Output file requires shared library `%s'\n"), name); else { @@ -456,7 +457,7 @@ linux_tally_symbols (h, data) p = strrchr (alloc, '_'); *p++ = '\0'; (*_bfd_error_handler) - ("Output file requires shared library `%s.so.%s'\n", + (_("Output file requires shared library `%s.so.%s'\n"), alloc, p); free (alloc); } @@ -477,7 +478,7 @@ linux_tally_symbols (h, data) (h->root.root.root.string + sizeof PLT_REF_PREFIX - 1), false, false, true); - /* h2 does not follow indirect symbols. */ + /* h2 does not follow indirect symbols. */ h2 = linux_link_hash_lookup (linux_hash_table (info), (h->root.root.root.string + sizeof PLT_REF_PREFIX - 1), @@ -534,7 +535,7 @@ linux_tally_symbols (h, data) } /* Quick and dirty way of stripping these symbols from the - symtab. */ + symtab. */ if (bfd_is_abs_section (h->root.root.u.def.section)) h->root.written = true; } @@ -559,7 +560,7 @@ bfd_sparclinux_size_dynamic_sections (output_bfd, info) if (output_bfd->xvec != &MY(vec)) return true; - /* First find the fixups... */ + /* First find the fixups... */ linux_link_hash_traverse (linux_hash_table (info), linux_tally_symbols, (PTR) info); @@ -645,7 +646,7 @@ linux_finish_dynamic_link (output_bfd, info) && f->h->root.root.type != bfd_link_hash_defweak) { (*_bfd_error_handler) - ("Symbol %s not defined for fixups\n", + (_("Symbol %s not defined for fixups\n"), f->h->root.root.root.string); continue; } @@ -695,7 +696,7 @@ linux_finish_dynamic_link (output_bfd, info) && f->h->root.root.type != bfd_link_hash_defweak) { (*_bfd_error_handler) - ("Symbol %s not defined for fixups\n", + (_("Symbol %s not defined for fixups\n"), f->h->root.root.root.string); continue; } @@ -719,7 +720,7 @@ linux_finish_dynamic_link (output_bfd, info) if (linux_hash_table (info)->fixup_count != fixups_written) { - (*_bfd_error_handler) ("Warning: fixup count mismatch\n"); + (*_bfd_error_handler) (_("Warning: fixup count mismatch\n")); while (linux_hash_table (info)->fixup_count > fixups_written) { bfd_put_32 (output_bfd, 0, fixup_table);