* 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.
This commit is contained in:
Nick Clifton 2009-03-04 16:15:43 +00:00
parent e7f990e20c
commit d9319cec0d
2 changed files with 13 additions and 1 deletions

View 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> 2009-03-04 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs

View File

@ -355,7 +355,9 @@ static int alpha_addr32_on = 0;
and the section happens to not be on an eight byte boundary, it 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. */ will align both the symbol and the .quad to an eight byte boundary. */
static symbolS *alpha_insn_label; static symbolS *alpha_insn_label;
#ifdef OBJ_ELF
static symbolS *alpha_prologue_label; static symbolS *alpha_prologue_label;
#endif
#ifdef OBJ_EVAX #ifdef OBJ_EVAX
/* Symbol associate with the current jsr instruction. */ /* Symbol associate with the current jsr instruction. */
@ -3473,9 +3475,12 @@ s_alpha_comm (int ignore ATTRIBUTE_UNUSED)
char *name; char *name;
char c; char c;
char *p; char *p;
offsetT temp, size; offsetT size;
symbolS *symbolP; symbolS *symbolP;
#ifdef OBJ_EVAX
offsetT temp;
int log_align = 0; int log_align = 0;
#endif
name = input_line_pointer; name = input_line_pointer;
c = get_symbol_end (); c = get_symbol_end ();