From 290b26044d045c1d345e0b0a6c252335adfc4569 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Mar 2009 16:15:43 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 7 +++++++ gas/config/tc-alpha.c | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1bb757f631..f274c45be2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2009-03-04 Nick Clifton + + * 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 * 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 bc355b860a..9ae49fa864 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 (); -- 2.11.0