* config/tc-alpha.c (alpha_prologue_label): Only define for ELF
authorNick Clifton <nickc@redhat.com>
Wed, 4 Mar 2009 16:15:43 +0000 (16:15 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 4 Mar 2009 16:15:43 +0000 (16:15 +0000)
        based targets.
        (s_alpha_comm): Only define "temp" and "log_align" local variables
        for EVAX targets.

gas/ChangeLog
gas/config/tc-alpha.c

index 1bb757f..f274c45 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
+       based targets.
+       (s_alpha_comm): Only define "temp" and "log_align" local variables
+       for EVAX targets.
+
 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
 
        * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
index bc355b8..9ae49fa 100644 (file)
@@ -355,7 +355,9 @@ static int alpha_addr32_on = 0;
    and the section happens to not be on an eight byte boundary, it
    will align both the symbol and the .quad to an eight byte boundary.  */
 static symbolS *alpha_insn_label;
+#ifdef OBJ_ELF
 static symbolS *alpha_prologue_label;
+#endif
 
 #ifdef OBJ_EVAX
 /* Symbol associate with the current jsr instruction.  */
@@ -3473,9 +3475,12 @@ s_alpha_comm (int ignore ATTRIBUTE_UNUSED)
   char *name;
   char c;
   char *p;
-  offsetT temp, size;
+  offsetT size;
   symbolS *symbolP;
+#ifdef OBJ_EVAX
+  offsetT temp;
   int log_align = 0;
+#endif
 
   name = input_line_pointer;
   c = get_symbol_end ();