Support for @GOTOFF in .long expressions.
[deliverable/binutils-gdb.git] / gas / config / obj-elf.c
index 2e9903316dbbc7bd37b61a3b2c16236947af24a3..162f02fa290a97b7277bc9e0470867c910ad92ce 100644 (file)
@@ -1,5 +1,5 @@
 /* ELF object file format
-   Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000
+   Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -1127,16 +1127,12 @@ obj_elf_symver (ignore)
 
   if (symbol_get_obj (sym)->versioned_name == NULL)
     {
-      char *p, *rp;
-
       symbol_get_obj (sym)->versioned_name = xstrdup (name);
 
       *input_line_pointer = c;
 
-      p = strchr (symbol_get_obj (sym)->versioned_name, ELF_VER_CHR);
-      if (p)
-       rp = strrchr (p, ELF_VER_CHR);
-      if (!p || p [1] == '\0' || rp [1] == '\0') 
+      if (strchr (symbol_get_obj (sym)->versioned_name,
+                 ELF_VER_CHR) == NULL)
        {
          as_bad (_("missing version name in `%s' for symbol `%s'"),
                  symbol_get_obj (sym)->versioned_name,
@@ -1783,7 +1779,7 @@ elf_frob_file ()
 #endif
 }
 
-/* It removes any unneeded versioned symbols from the symbol table. */
+/* It removes any unneeded versioned symbols from the symbol table.  */
 
 void
 elf_frob_file_before_adjust ()
This page took 0.023405 seconds and 4 git commands to generate.