diff options
author | Nick Clifton <nickc@redhat.com> | 2009-03-04 16:15:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-03-04 16:15:43 +0000 |
commit | d9319cec0d47cb97dc61351db385381ddb9ee325 (patch) | |
tree | 5853e4d3ee3ad7a74b05635566f58bb193eca18f /gas/config | |
parent | e7f990e20c7ac9d8f1516cc200cab8c2153ece2b (diff) | |
download | gdb-d9319cec0d47cb97dc61351db385381ddb9ee325.zip gdb-d9319cec0d47cb97dc61351db385381ddb9ee325.tar.gz gdb-d9319cec0d47cb97dc61351db385381ddb9ee325.tar.bz2 |
* 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.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-alpha.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 (); |