aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sparc.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-07-08 19:09:19 +0000
committerKen Raeburn <raeburn@cygnus>1993-07-08 19:09:19 +0000
commitb25654337a2e2d8d56ea611618fccbd240f0c37a (patch)
tree11b475b48c658698e6f2f63dd3710f60c35362c4 /gas/config/tc-sparc.c
parent49bfda2c9ae3f67b906a668cde3ebc3668465e6e (diff)
downloadgdb-b25654337a2e2d8d56ea611618fccbd240f0c37a.zip
gdb-b25654337a2e2d8d56ea611618fccbd240f0c37a.tar.gz
gdb-b25654337a2e2d8d56ea611618fccbd240f0c37a.tar.bz2
Oops, not all of the tc-sparc.c change was format-independent.
Still handles both syntaxes independent of format.
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r--gas/config/tc-sparc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 62c242c..62df7b4 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -408,6 +408,7 @@ s_common ()
temp = 0;
as_warn ("Common alignment negative; 0 assumed");
}
+#ifdef OBJ_ELF
if (symbolP->local)
{
segT old_sec;
@@ -434,6 +435,7 @@ s_common ()
subseg_set (old_sec, old_subsec);
}
else
+#endif
{
allocate_common:
S_SET_VALUE (symbolP, size);