aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-alpha.c7
2 files changed, 13 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1bb757f..f274c45 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index bc355b8..9ae49fa 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -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 ();