projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jump label: Base patch for jump label
[linux-2.6-block.git]
/
scripts
/
gcc-goto.sh
diff --git a/scripts/gcc-goto.sh
b/scripts/gcc-goto.sh
new file mode 100644
(file)
index 0000000..
8e82424
--- /dev/null
+++ b/
scripts/gcc-goto.sh
@@ -0,0
+1,5
@@
+#!/bin/sh
+# Test for gcc 'asm goto' suport
+# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
+
+echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $1 -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"