repo.or.cz
/
linux-2.6
/
kvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
asm-generic/atomic.h: allow SMP peeps to leverage this
[linux-2.6/kvm.git]
/
scripts
/
gcc-goto.sh
blob
98cffcb941ea6e319fd4bee04db7f06de379031b
1
#!/bin/sh
2
# Test for gcc 'asm goto' support
3
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
4
5
echo
"int main(void) { entry: asm goto (
\"\"
::::entry); return 0; }"
| $@
-x
c
-
-c -o
/
dev
/
null
>/
dev
/
null
2
>&
1
&&
echo
"y"