diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-09-24 03:12:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-24 03:12:05 -0400 |
commit | a5a2bad55de89a0adf7d6f783cb87ab7eb1a894f (patch) | |
tree | 452cb8addc26f5c79fdd4e2fea92c78dc17fc8e8 /scripts/gcc-goto.sh | |
parent | d0303d71c2fb9bcb90a8d48e6462c78c86f70ce6 (diff) | |
parent | 46eb3b64dddd20f44e76b08676fa642dd374bf1d (diff) |
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
Diffstat (limited to 'scripts/gcc-goto.sh')
-rw-r--r-- | scripts/gcc-goto.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh new file mode 100644 index 000000000000..8e82424be7aa --- /dev/null +++ b/scripts/gcc-goto.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | # Test for gcc 'asm goto' suport | ||
3 | # Copyright (C) 2010, Jason Baron <jbaron@redhat.com> | ||
4 | |||
5 | echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $1 -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" | ||