Fixed the CBE on Solaris/Sparc. We need to define the return value of
authorJohn Criswell <criswell@uiuc.edu>
Wed, 10 Dec 2003 18:06:34 +0000 (18:06 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 10 Dec 2003 18:06:34 +0000 (18:06 +0000)
commit01b2d6131145bfa3c9c4c1598edeaac13155e1a5
treea67a25f106f50ed62bdfd22d5129ce743a268bc9
parent7277826d7e20accb9ac433ee55546a83c1316188
Fixed the CBE on Solaris/Sparc.  We need to define the return value of
the write() system call because it returns 64 bits on Solaris 64 bit,
and an implicit return value of int says it returns 32 bits.
Admittedly, this is a bit of a hack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10375 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp